max_stars_repo_path
stringlengths
4
237
max_stars_repo_name
stringlengths
6
117
max_stars_count
int64
0
95.2k
id
stringlengths
1
7
content
stringlengths
12
593k
input_ids
listlengths
7
549k
27 Improve Performance with Algorithm Tuning/grid_search.py
IshmaelAsabere/Machine_Learning-Various-Topics
0
1600201
<gh_stars>0 # Grid Search for Algorithm Tuning import numpy from pandas import read_csv from sklearn.linear_model import RidgeClassifier from sklearn.model_selection import GridSearchCV filename = 'pima-indians-diabetes.data.csv' names = ['preg', 'plas', 'pres', 'skin', 'test', 'mass', 'pedi', 'age', 'class'] dataframe...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 11657, 11856, 363, 29068, 21072, 292, 13, 5215, 12655, 13, 3166, 11701, 1053, 1303, 29918, 7638, 13, 3166, 2071, 19668, 29889, 10660, 29918, 4299, 1053, 390, 5525, 2385, 3709, 13, ...
yank/interface_database_mixin.py
khunspoonzi/yank
1
107465
<reponame>khunspoonzi/yank # ┌────────────────────────────────────────────────────────────────────────────────────┐ # │ GENERAL IMPORTS │ # └────────────────────────────────────────────────────────────────────────────────────┘ from datetime import date...
[ 1, 529, 276, 1112, 420, 29958, 15339, 348, 1028, 6150, 2526, 29914, 29891, 804, 13, 29937, 29871, 31002, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 19820, 1982...
exe041 - classificando Atletas.py
carlosbandelli/Exercicios_em_Python
0
194174
from datetime import date atual = date.today().year nascimento = int(input('Ano de nascimento: ')) idade = atual - nascimento print(f'O atleta tem {idade} anos.') if idade <= 9: print('Classificação: MIRIM') elif idade <= 14: print ('Classificação: INFANTIL') elif idade <= 19: print('Classificação: JUNIOR')...
[ 1, 515, 12865, 1053, 2635, 13, 271, 950, 353, 2635, 29889, 27765, 2141, 6360, 13, 29876, 6151, 6174, 353, 938, 29898, 2080, 877, 29909, 1217, 316, 29229, 6174, 29901, 525, 876, 13, 5558, 353, 472, 950, 448, 29229, 6174, 13, 2158, 2989...
chrome/common/extensions/docs/server2/app_yaml_helper_test.py
iplo/Chain
231
46368
#!/usr/bin/env python # Copyright 2013 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 unittest from app_yaml_helper import AppYamlHelper from extensions_paths import SERVER2 from host_file_system_provider import H...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29941, 450, 678, 456, 1974, 13189, 943, 29889, 2178, 10462, 21676, 29889, 13, 29937, 4803, 310, 445, 2752, 775, 338, 4095, 287, 491, 263, ...
moving_average_example.py
channolanp/QtScript
0
190399
import sys from QtScript import QtScript from PyQt5.QtWidgets import * from PyQt5.QtCore import Qt import moving_average_script if __name__ == '__main__': #First start off by starting the QApplication for PyQt5 app = QApplication(sys.argv) ''' Use the QtScript class as the application window There...
[ 1, 1053, 10876, 13, 3166, 14705, 4081, 1053, 14705, 4081, 13, 3166, 10772, 17303, 29945, 29889, 17303, 8801, 29879, 1053, 334, 13, 3166, 10772, 17303, 29945, 29889, 17303, 9203, 1053, 14705, 13, 5215, 8401, 29918, 12483, 482, 29918, 2154, ...
infrastructure/app.py
akozd/web-service
0
1606862
<gh_stars>0 #!/usr/bin/env python3 from aws_cdk import core from infrastructure.infrastructure_stack import InfrastructureStack app = core.App() InfrastructureStack(app, 'InfrastructureStack') app.synth()
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 13, 3166, 25879, 29918, 2252, 29895, 1053, 7136, 13, 13, 3166, 22035, 12425, 29889, 262, 14867, 12425, 29918, 1429, 1053, 51...
geojson_rewind/rewind.py
chris48s/geojson-rewind
15
34126
<gh_stars>10-100 import argparse import copy import json import logging import math import sys RADIUS = 6378137 def rewind(geojson, rfc7946=True): gj = copy.deepcopy(geojson) _check_crs(geojson) if isinstance(gj, str): return json.dumps(_rewind(json.loads(gj), rfc7946)) else: return _...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 5215, 1852, 5510, 13, 5215, 3509, 13, 5215, 4390, 13, 5215, 12183, 13, 5215, 5844, 13, 5215, 10876, 13, 13, 29934, 3035, 29902, 3308, 353, 29871, 2995...
python/django/app/views.py
mattiapenati/web-frameworks
5,710
87665
from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt def index(request): return HttpResponse(status=200) def get_user(request, id): return HttpResponse(id) @csrf_exempt def create_user(request): return HttpResponse(status=200)
[ 1, 515, 9557, 29889, 1124, 1053, 9056, 5103, 13, 3166, 9557, 29889, 7406, 29889, 19557, 4097, 29889, 2395, 9600, 1053, 5939, 9600, 29918, 735, 3456, 13, 13, 13, 1753, 2380, 29898, 3827, 1125, 13, 1678, 736, 9056, 5103, 29898, 4882, 2992...
tests/btjanaka_test.py
btjanaka/btjanaka-pypi
1
107647
<gh_stars>1-10 """Tests for btjanaka.""" import btjanaka def test_calls(): """Try calling every method.""" for name, method in btjanaka.__dict__.items(): if not name.startswith("_") and callable(method): method() def test_counting(): """Test counting - copy this to README.""" num...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 15945, 29908, 24376, 363, 289, 29873, 8931, 8245, 1213, 15945, 13, 5215, 289, 29873, 8931, 8245, 13, 13, 13, 1753, 1243, 29918, 29883, 4293, 7295, 13, 1678, 9995, 1...
Udemy_PythonBootcamp/Sec15_WebScraping.py
gonzalosc2/LearningPython
0
11858
#################################### # author: <NAME> # course: 2020 Complete Python Bootcamps: From Zero to Hero in Python # purpose: lecture notes # description: Section 15 - Web Scraping # other: N/A #################################### # RULES # 1. always try to get permission before scraping, otherwise I might be...
[ 1, 835, 13383, 13383, 29937, 13, 29937, 4148, 29901, 529, 5813, 29958, 13, 29937, 3236, 29901, 29871, 29906, 29900, 29906, 29900, 25034, 5132, 13760, 11108, 567, 29901, 3645, 28933, 304, 22167, 297, 5132, 13, 29937, 6437, 29901, 29197, 1148...
01/01_g_swap_numbers.py
srinijadharani/DataStructuresLab
0
1617682
<reponame>srinijadharani/DataStructuresLab # 1g. Program to swap two numbers num1 = int(input("Enter the first number: ")) num2 = int(input("Enter the second number: ")) print("The numbers before swapping are - num1: {} and num2: {}." .format(num1, num2)) # logic for swapping two numbers num1, num2 = num2, nu...
[ 1, 529, 276, 1112, 420, 29958, 29879, 17056, 823, 328, 8222, 3270, 29914, 1469, 19560, 1973, 28632, 13, 29937, 29871, 29896, 29887, 29889, 7835, 304, 17945, 1023, 3694, 30004, 13, 30004, 13, 1949, 29896, 353, 938, 29898, 2080, 703, 10399,...
seqtag/model.py
fedelopez77/seqtag
1
1603458
from torch import nn from seqtag.embedding_model import get_embedding_model class SequenceTaggingModel(nn.Module): def __init__(self, args): super().__init__() self.embedding_model = get_embedding_model(args.language_model) embed_size = self.embedding_model.config.hidden_size se...
[ 1, 29871, 13, 3166, 4842, 305, 1053, 302, 29876, 13, 3166, 19359, 4039, 29889, 17987, 8497, 29918, 4299, 1053, 679, 29918, 17987, 8497, 29918, 4299, 13, 13, 13, 1990, 922, 3910, 8176, 3460, 3195, 29898, 15755, 29889, 7355, 1125, 13, 13,...
tests/logic/test_instruments.py
nilsholle/sampledb
5
1616913
<reponame>nilsholle/sampledb<gh_stars>1-10 # coding: utf-8 """ """ import pytest import sampledb from sampledb.models import User, UserType from sampledb.logic import instruments, errors def test_create_instrument(): assert len(instruments.get_instruments()) == 0 instrument = instruments.create_instrument()...
[ 1, 529, 276, 1112, 420, 29958, 8834, 845, 324, 280, 29914, 11249, 2585, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 14137, 29901, 23616, 29899, 29947, 13, 15945, 29908, 13, 13, 15945, 29908, 13, 13, 5215,...
appendix/introduction.to.programming.with.turtle/5-5-1.fill.curve.py
royqh1979/programming_with_python
5
151654
<reponame>royqh1979/programming_with_python from easygraphics.turtle import * def Fill(size, level): if level == 0: fd(size) return Fill(size / 3, level - 1) lt(90) Fill(size / 3, level - 1) for i in range(3): rt(90) Fill(size / 3, level - 1) for i in range(3): ...
[ 1, 529, 276, 1112, 420, 29958, 4727, 29939, 29882, 29896, 29929, 29955, 29929, 29914, 28426, 29918, 2541, 29918, 4691, 13, 3166, 4780, 6420, 29889, 29873, 4227, 280, 1053, 334, 13, 13, 13, 1753, 383, 453, 29898, 2311, 29892, 3233, 1125, ...
InterviewBit/Trees/min_depth_binary_tree.py
codervikash/online-courses
0
129075
<filename>InterviewBit/Trees/min_depth_binary_tree.py<gh_stars>0 """ Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. NOTE : The path has to end on a leaf node. Example : 1 / 2 min ...
[ 1, 529, 9507, 29958, 4074, 1493, 21591, 29914, 29911, 11003, 29914, 1195, 29918, 19488, 29918, 19541, 29918, 8336, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 15945, 29908, 13, 29954, 5428, 263, 7581, 5447, 29892, 1284, 9...
test-suite/generated-src/python/dh__set_interface_Conflict.py
ubook-editora/finn
3
193405
# AUTOGENERATED FILE - DO NOT MODIFY! # This file generated by Djinni from test.djinni from djinni.support import MultiSet # default imported in all files from djinni.exception import CPyException # default imported in all files from djinni.pycffi_marshal import CPyObject, CPyObjectProxy from Conflict import Conflict...
[ 1, 396, 26524, 29949, 24647, 1001, 3040, 29928, 24080, 448, 11662, 6058, 16999, 4571, 29943, 29979, 29991, 13, 29937, 910, 934, 5759, 491, 27467, 262, 1240, 515, 1243, 29889, 19776, 262, 1240, 13, 13, 3166, 270, 28789, 1240, 29889, 5924, ...
scripts/deposit_test.py
shiqinfeng1/alphahomora-bsc
11
120778
from brownie import accounts, interface, Contract from brownie import (Bank, SimpleBankConfig, SimplePriceOracle, PancakeswapPool1Goblin, StrategyAllBNBOnly, StrategyLiquidate, StrategyWithdrawMinimizeTrading, StrategyAddTwoSidesOptimal, PancakeswapGoblinConfig, TripleSlopeModel, ConfigurableIntere...
[ 1, 515, 3347, 2786, 1053, 15303, 29892, 5067, 29892, 2866, 1461, 13, 3166, 3347, 2786, 1053, 313, 29933, 804, 29892, 12545, 29933, 804, 3991, 29892, 12545, 13026, 29949, 10792, 29892, 349, 4564, 6926, 29893, 481, 11426, 29896, 29954, 711, ...
test/test_topology_handler.py
atlanticwave-sdx/datamodel
0
115119
<filename>test/test_topology_handler.py<gh_stars>0 import unittest import sdxdatamodel.parsing from sdxdatamodel.parsing.topologyhandler import TopologyHandler from sdxdatamodel.parsing.exceptions import DataModelException TOPOLOGY_AMLIGHT = './test/data/amlight.json' class TestTopologyHandler(unittest.TestCase): ...
[ 1, 529, 9507, 29958, 1688, 29914, 1688, 29918, 3332, 3002, 29918, 13789, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 5215, 443, 27958, 13, 13, 5215, 269, 8235, 4130, 314, 27224, 29889, 862, 2976, 13, 13, 3166, 269, 82...
setup.py
lucgiffon/propol
0
179187
<filename>setup.py from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Try to make projection of political parties or people in avector space in order to enable visualisation.', author='<NAME>', license='MIT', entry_points={...
[ 1, 529, 9507, 29958, 14669, 29889, 2272, 13, 3166, 731, 21245, 8789, 1053, 1284, 29918, 8318, 29892, 6230, 13, 13, 14669, 29898, 13, 1678, 1024, 2433, 4351, 742, 13, 1678, 9741, 29922, 2886, 29918, 8318, 3285, 13, 1678, 1873, 2433, 2990...
MergeSortedLinkLists/MergeKsortedlinkedlists00.py
tnkteja/notthisagain
0
112387
<gh_stars>0 from heapq import heappushpop def solution(A):
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 16947, 29939, 1053, 540, 932, 1878, 7323, 13, 13, 1753, 1650, 29898, 29909, 1125, 2 ]
mt/mvae/models/ffnn_vae.py
macio232/mvae
53
84152
# Copyright 2019 <NAME>. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
[ 1, 396, 14187, 1266, 29871, 29906, 29900, 29896, 29929, 529, 5813, 15513, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947, 1496, 13, 29937, 366, 1122, ...
sample-viewer-api/src/api/elisa_parser.py
cvisb/cvisb_data
2
118224
from pyparsing import (CaselessKeyword, Optional, Forward, Regex, operatorPrecedence, opAssoc, ParserElement) from biothings.utils.common import is_str import re ParserElement.enablePackrat() and_ = CaselessKeyword("AND") or_ = CaselessKeyword("OR") not_ = CaselessKeyword("NOT") keyword = and_ | or_ | not_ expressio...
[ 1, 515, 11451, 862, 2976, 1053, 313, 29907, 294, 6393, 2558, 1742, 29892, 28379, 29892, 1152, 1328, 29892, 25326, 29892, 5455, 6572, 1133, 663, 29892, 1015, 7900, 542, 29892, 1459, 643, 2642, 29897, 13, 3166, 4768, 720, 886, 29889, 13239,...
lightconfig/lightconfig.py
daassh/LightConfig
2
32525
<reponame>daassh/LightConfig #!/usr/bin/env python # coding=utf-8 # get a easy way to edit config file """ >>> from lightconfig import LightConfig >>> cfg = LightConfig("config.ini") >>> cfg.section1.option1 = "value1" >>> print(cfg.section1.option1) value1 >>> "section1" in cfg True >>> "option1" in cfg.section1 True ...
[ 1, 529, 276, 1112, 420, 29958, 1388, 465, 29882, 29914, 20769, 3991, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 14137, 29922, 9420, 29899, 29947, 13, 29937, 679, 263, 4780, 982, 304, 3863, 2295, 934, 13, 15945, 2...
run.py
1008siang/Razer_UserAgent
0
102233
#%% from user_agents import parse user_agent = "Mozilla/5.0 (Linux; Android 10; SM-N960F Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.62 XWEB/2889 MMWEBSDK/20210902 Mobile Safari/537.36 MMWEBID/1696 MicroMessenger/8.0.15.2001(0x28000F41) Process/to" ua = parse(user_a...
[ 1, 396, 7686, 30004, 13, 3166, 1404, 29918, 351, 1237, 1053, 6088, 30004, 13, 1792, 29918, 14748, 353, 376, 29924, 2112, 2911, 29914, 29945, 29889, 29900, 313, 24085, 29936, 5669, 29871, 29896, 29900, 29936, 13766, 29899, 29940, 29929, 2995...
backend/utlis/crypt.py
shuttlesworthNEO/ClashHacks-methOD
0
125035
import numpy as np import pandas as pd import theano from keras.layers import Dense from keras.models import Model,load_model def crypto(x): encoder = load_model("/home/vasu/all_projects/Hackathons/ClashHacks-methOD/backend/utlis/encoder.h5") x = list(x) for ix in range(len(x)): x[ix] = int(x[ix], 16) y = ...
[ 1, 1053, 12655, 408, 7442, 13, 5215, 11701, 408, 10518, 13, 5215, 278, 1562, 13, 3166, 13023, 294, 29889, 29277, 1053, 360, 1947, 13, 3166, 13023, 294, 29889, 9794, 1053, 8125, 29892, 1359, 29918, 4299, 13, 13, 1753, 274, 17929, 29898, ...
Python_Exercise/py_exercise_twenty_five.py
kindyluv/My_Personal_Python_Exercises
0
101274
<reponame>kindyluv/My_Personal_Python_Exercises price = 1000000 good_credit = True high_income = True if good_credit and high_income: down_payment = 1.0 * price print(f"eligible for loan") else: down_payment = 2.0 * price print(f"ineligible for loan") print(f"down payment is {down_payment}"...
[ 1, 529, 276, 1112, 420, 29958, 14380, 2904, 4090, 29914, 3421, 29918, 7435, 284, 29918, 11980, 29918, 1252, 261, 3476, 267, 13, 9175, 353, 29871, 29896, 29900, 29900, 29900, 29900, 29900, 29900, 30004, 13, 16773, 29918, 11944, 277, 353, 5...
ch_14/tests/test_weather_threads.py
real-slim-chadi/Python-Object-Oriented-Programming---4th-edition
43
163635
<reponame>real-slim-chadi/Python-Object-Oriented-Programming---4th-edition """ Python 3 Object-Oriented Programming Chapter 14. Concurrency """ from pytest import * from unittest.mock import Mock, mock_open, call import weather_threads def test_station(): halifax = weather_threads.Station("NS", "s0000318") a...
[ 1, 529, 276, 1112, 420, 29958, 6370, 29899, 2536, 326, 29899, 305, 10129, 29914, 11980, 29899, 2061, 29899, 15988, 14927, 29899, 9283, 4056, 5634, 29946, 386, 29899, 287, 654, 13, 15945, 29908, 13, 11980, 29871, 29941, 4669, 29899, 15988, ...
src/cogs/core/core.py
vcokltfre/Zeek
0
43052
<filename>src/cogs/core/core.py from datetime import datetime from os import getenv from discord import Message, RawMessageDeleteEvent from discord.ext import commands from src.internal.bot import Bot class Core(commands.Cog): """Core metric collection.""" def __init__(self, bot: Bot): self.bot = b...
[ 1, 529, 9507, 29958, 4351, 29914, 29883, 12099, 29914, 3221, 29914, 3221, 29889, 2272, 13, 3166, 12865, 1053, 12865, 13, 3166, 2897, 1053, 679, 6272, 13, 13, 3166, 2313, 536, 1053, 7777, 29892, 22038, 3728, 12498, 2624, 13, 3166, 2313, ...
horizon/openstack_dashboard/dashboards/cdn/cdn_monitor_report/urls.py
yianjiajia/openstack_horizon
0
177678
<filename>horizon/openstack_dashboard/dashboards/cdn/cdn_monitor_report/urls.py<gh_stars>0 from django.conf.urls import patterns from django.conf.urls import url from .views import IndexView, ajax_view urlpatterns = patterns('', url(r'^$', IndexView.as_view(), name='index'), url(r'^\?tab=monitor_report__data_...
[ 1, 529, 9507, 29958, 2015, 18162, 29914, 3150, 1429, 29918, 14592, 3377, 29914, 14592, 24691, 29914, 13687, 29914, 13687, 29918, 3712, 2105, 29918, 12276, 29914, 26045, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 9557...
formTest.py
faisalarkan21/mbti-test-qt
0
109282
<reponame>faisalarkan21/mbti-test-qt __author__ = 'faisal21' import sys from PyQt4 import QtGui from PyQt4.QtGui import QDialog from PyQt4 import QtCore from dialog import Ui_Dialog from Tkinter import * class Test(QtGui.QDialog,Toplevel): def __init__(self,parent): QtGui.QMainWindow.__init__(...
[ 1, 529, 276, 1112, 420, 29958, 29888, 1759, 284, 935, 273, 29906, 29896, 29914, 8337, 2034, 29899, 1688, 29899, 17915, 13, 1649, 8921, 1649, 353, 525, 29888, 1759, 284, 29906, 29896, 29915, 30004, 13, 30004, 13, 5215, 10876, 30004, 13, ...
entity/Server.py
FAWC-bupt/Hotel-Air-Conditioning-Dispatching-System
1
154862
import threading from enum import IntEnum class Mode(IntEnum): Cold = 0 Hot = 1 class WindLevel(IntEnum): NoWind = 0 Level_1 = 1 Level_2 = 2 Level_3 = 3 class Algorithm(IntEnum): Priority = 0 RR = 1 class Server(object): """ 服务器,是单例模式 """ _instance_lock = threadi...
[ 1, 1053, 3244, 292, 13, 13, 3166, 14115, 1053, 3159, 16854, 13, 13, 13, 1990, 21864, 29898, 2928, 16854, 1125, 13, 1678, 26731, 353, 29871, 29900, 13, 1678, 8843, 353, 29871, 29896, 13, 13, 13, 1990, 17311, 10108, 29898, 2928, 16854, ...
oompa/tracking/github/GitHubTracker.py
sjtsp2008/oompa
2
123550
<gh_stars>1-10 # # GitHubTracker.py # """ package oompa.tracking.github """ import os import sys import time from datetime import datetime from oompa.tracking.github import github_utils from oompa.tracking.github.GitHub3Helper import GitHub3Helper from oompa.tracking.TagManager import TagM...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 13, 29937, 25492, 5323, 4937, 29889, 2272, 13, 29937, 13, 13, 15945, 29908, 13, 5113, 288, 290, 3274, 29889, 11294, 292, 29889, 3292, 13, 13, 15945, 29908, 1...
gwv/validators/illegal.py
kurgm/gwv
1
55743
<gh_stars>1-10 from gwv.dump import Dump import gwv.filters as filters from gwv.helper import isKanji from gwv.helper import isYoko from gwv.kagedata import KageData from gwv.validators import Validator from gwv.validators import ErrorCodes error_codes = ErrorCodes( UNKNOWN_STROKE_TYPE="0", # 未定義の筆画 TOO_FEW_...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 330, 29893, 29894, 29889, 15070, 1053, 360, 3427, 13, 5215, 330, 29893, 29894, 29889, 26705, 408, 18094, 13, 3166, 330, 29893, 29894, 29889, 20907, 1053, 338, 2...
cubi_tk/snappy/itransfer_common.py
LaborBerlin/cubi-tk
0
145728
<filename>cubi_tk/snappy/itransfer_common.py """Common code for ``cubi-tk snappy itransfer-*`` commands.""" import argparse import datetime import glob import os import typing from ctypes import c_ulonglong from multiprocessing import Value from multiprocessing.pool import ThreadPool from subprocess import check_outpu...
[ 1, 529, 9507, 29958, 29883, 431, 29875, 29918, 11178, 29914, 16586, 14862, 29914, 277, 29878, 550, 571, 29918, 9435, 29889, 2272, 13, 15945, 29908, 18877, 775, 363, 4954, 29883, 431, 29875, 29899, 11178, 5807, 14862, 372, 29878, 550, 571, ...
faro/utils.py
cgiraldo/FARO
0
27904
import re import gensim.utils as gensim_utils def normalize_text_proximity(message): """ Clean text of dots between words Keyword arguments: message -- a plain sentence or paragraph """ sent = message.lower() sent = sent.replace("á", "a") sent = sent.replace("é", "e") sent = sen...
[ 1, 1053, 337, 13, 5215, 26943, 326, 29889, 13239, 408, 26943, 326, 29918, 13239, 13, 13, 13, 1753, 4226, 675, 29918, 726, 29918, 771, 2657, 537, 29898, 4906, 1125, 13, 1678, 9995, 315, 14044, 1426, 310, 270, 1862, 1546, 3838, 13, 268,...
htvlearn/plots/base_plot.py
joaquimcampos/HTV-Learn
1
1611972
<gh_stars>1-10 import os import copy import numpy as np import plotly.graph_objects as go import plotly.io as pio import matplotlib.cm as cm from htvlearn.data import Data class BasePlot(): colorscale = 'coolwarm' # default colorscale def __init__(self, data_obj=None, log...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 2897, 13, 5215, 3509, 13, 5215, 12655, 408, 7442, 13, 5215, 6492, 368, 29889, 4262, 29918, 12650, 408, 748, 13, 5215, 6492, 368, 29889, 601, 408, 282, 601, ...
examples/color_example.py
plezmo/python-sdk-examples
0
132051
# Copyright (c) 2019 Gunakar Pvt Ltd # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted (subject to the limitations in the disclaimer # below) provided that the following conditions are met: # * Redistributions of source code must retain the ...
[ 1, 396, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29929, 21429, 557, 279, 349, 21908, 19806, 13, 29937, 2178, 10462, 21676, 29889, 13, 13, 29937, 4367, 391, 3224, 322, 671, 297, 2752, 322, 7581, 7190, 29892, 411, 470, ...
codeferm/observer.py
Kulanx/sleeping_quality_evaluator
64
1605629
<reponame>Kulanx/sleeping_quality_evaluator<filename>codeferm/observer.py<gh_stars>10-100 """ Created on Apr 14, 2017 @author: sgoldsmith Copyright (c) <NAME> All rights reserved. """ class observer(object): """A class of thing that observes an Observable. The Observable will call the Observer"s obser...
[ 1, 529, 276, 1112, 420, 29958, 29968, 352, 273, 29916, 29914, 17059, 292, 29918, 29567, 29918, 24219, 1061, 29966, 9507, 29958, 401, 571, 29885, 29914, 711, 2974, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 2989...
snn_lib/optimizers.py
zhongyuchen/snn-iir
5
85796
<reponame>zhongyuchen/snn-iir<gh_stars>1-10 # -*- coding: utf-8 -*- """ # File Name : optimizers.py # Author: <NAME> # Email: <EMAIL> # Description: optimizers. """ import torch import omegaconf from omegaconf import OmegaConf def get_optimizer(params, conf): optimizer_conf = conf['optimizer'] optimizer_cho...
[ 1, 529, 276, 1112, 420, 29958, 17599, 549, 29891, 987, 264, 29914, 29879, 15755, 29899, 29875, 381, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 299...
essentials_kit_management/tests/interactors/test_get_pay_through_details_interactor.py
RajeshKumar1490/iB_hubs_mini_project
0
187132
<gh_stars>0 from mock import create_autospec from essentials_kit_management.interactors.\ get_pay_through_details_interactor import GetPayThroughDetailsInteractor from essentials_kit_management.interactors.storages.storage_interface \ import StorageInterface from essentials_kit_management.interactors.presenters...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 11187, 1053, 1653, 29918, 1300, 359, 3135, 13, 3166, 3686, 9409, 29918, 7354, 29918, 21895, 29889, 1639, 627, 943, 7790, 13, 1678, 679, 29918, 10472, 29918, 20678, 29918, 14144, 299...
l3ns/swarm/subnet.py
rukmarr/l3ns
3
72336
from .. import ldc from .node import SwarmNode class SwarmSubnet(ldc.DockerSubnet): def __init__(self, *args, size: int = 510, **kwargs): self._cluster_hosts = {} self._offset = size super().__init__(*args, size=size*2, **kwargs) def add_node(self, node: 'SwarmNode'): ip_add...
[ 1, 515, 6317, 1053, 301, 13891, 13, 3166, 869, 3177, 1053, 3925, 2817, 4247, 13, 13, 13, 1990, 3925, 2817, 4035, 1212, 29898, 430, 29883, 29889, 29928, 8658, 4035, 1212, 1125, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 334, 50...
ABC/206/a_1.py
fumiyanll23/AtCoder
0
100195
def main(): # input N = int(input()) # compute N = int(1.08*N) # output if N < 206: print('Yay!') elif N == 206: print('so-so') else: print(':(') if __name__ == '__main__': main()
[ 1, 822, 1667, 7295, 13, 1678, 396, 1881, 13, 1678, 405, 353, 938, 29898, 2080, 3101, 13, 13, 1678, 396, 10272, 13, 1678, 405, 353, 938, 29898, 29896, 29889, 29900, 29947, 29930, 29940, 29897, 13, 13, 1678, 396, 1962, 13, 1678, 565, ...
OpenCV/Histogramas/h6.py
matewszz/Python
0
31235
<reponame>matewszz/Python import dlib import cv2 image = cv2.imread("../testeOpenCV.jpg") gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) hogFaceDetector = dlib.get_frontal_face_detector() faces = hogFaceDetector(gray, 1) for (i, rect) in enumerate(faces): x = rect.left() y = rect.top() w = rect.right() - ...
[ 1, 529, 276, 1112, 420, 29958, 25046, 29893, 3616, 29920, 29914, 11980, 13, 5215, 270, 1982, 13, 5215, 13850, 29906, 13, 13, 3027, 353, 13850, 29906, 29889, 326, 949, 703, 6995, 1688, 29872, 6585, 15633, 29889, 6173, 1159, 13, 21012, 35...
dash_docs/chapters/dash_vtk/click_hover/index.py
wesleyacheng/dash-docs
379
103544
import dash_html_components as html import dash_vtk from dash_docs import tools from dash_docs import styles from dash_docs import reusable_components as rc examples = tools.load_examples(__file__) layout = html.Div([ rc.Markdown(''' # Click and Hover Callbacks It's possible to create callbacks based on ...
[ 1, 1053, 12569, 29918, 1420, 29918, 14036, 408, 3472, 13, 5215, 12569, 29918, 29894, 11178, 13, 3166, 12569, 29918, 2640, 1053, 8492, 13, 3166, 12569, 29918, 2640, 1053, 11949, 13, 3166, 12569, 29918, 2640, 1053, 337, 27979, 29918, 14036, ...
braistow method.py
pramotharun/Numerical-Methods-with-Python
0
161634
<gh_stars>0 #Bairstow Method import numpy as np n = int(input("Degree of polynomial")) p = float(input("P value")) q = float(input("q value")) no_iterations = int(input("number of iterations")) a = np.zeros((n+2,1)) b = np.zeros((n+2,1)) c = np.zeros((n+2,1)) j = n+1 for i in range(n+1): a[i] = float(input("E...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 13, 29937, 29933, 29874, 765, 340, 8108, 13, 13, 5215, 12655, 408, 7442, 13, 29876, 353, 938, 29898, 2080, 703, 29928, 387, 929, 310, 10159, 5783, 13, 29886, 353, 5785, 29898, 2080, 7...
python_plot.py
prusinski/NU_REU_git_NZP
0
114202
<filename>python_plot.py %matplotlib inline import numpy as np import matplotlib.pyplot as plt #plot exponential curve from 0 to 2pi t = np.linspace(0,2*np.pi,100) plt.plot(t,np.exp(t),'m', label = 'Exponential Curve') plt.title('Plot of $e^x$') plt.xlabel('t (s)') plt.ylabel('$y(t)$') plt.legend() plt.grid() plt.tex...
[ 1, 529, 9507, 29958, 4691, 29918, 5317, 29889, 2272, 13, 29995, 2922, 17357, 10583, 13, 5215, 12655, 408, 7442, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 13, 29937, 5317, 25658, 11672, 515, 29871, 29900, 304, 29871, 29906, 1631,...
day 12/Martijn - Python/passage_pathing.py
AE-nv/aedvent-code-2021
1
175111
def append_node_to_dict(node1, node2, dict_connections): if not node1 in dict_connections: dict_connections[node1] = [node2] else: node_connections = dict_connections[node1] if not node2 in node_connections: node_connections.append(node2) dict_connections[node1] =...
[ 1, 822, 9773, 29918, 3177, 29918, 517, 29918, 8977, 29898, 3177, 29896, 29892, 2943, 29906, 29892, 9657, 29918, 11958, 1953, 1125, 13, 1678, 565, 451, 2943, 29896, 297, 9657, 29918, 11958, 1953, 29901, 13, 4706, 9657, 29918, 11958, 1953, ...
NasUnet/util/datasets/__init__.py
mlvc-lab/Segmentation-NAS
4
135180
<gh_stars>1-10 from torchvision.datasets import * from .base import * from .coco import COCOSegmentation from .ade20k import ADE20KSegmentation from .pascal_voc import VOCSegmentation from .pascal_aug import VOCAugSegmentation from .pcontext import ContextSegmentation from .minc import MINCDataset from .ultrasound_nerv...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 4842, 305, 4924, 29889, 14538, 1691, 1053, 334, 13, 3166, 869, 3188, 1053, 334, 13, 3166, 869, 29883, 6235, 1053, 4810, 3217, 17669, 358, 362, 13, 3166, 869, ...
compare_mt/sign_utils.py
maks5507/compare-mt
401
1615077
######################################################################################## # Compare two systems using bootstrap resampling # # adapted from https://github.com/neubig/util-scripts/blob/master/paired-bootstrap.py # # ...
[ 1, 835, 13383, 13383, 13383, 13383, 13383, 4136, 29937, 13, 29937, 3831, 598, 1023, 6757, 773, 16087, 620, 314, 10335, 462, 462, 539, 396, 13, 29937, 29871, 23430, 515, 2045, 597, 3292, 29889, 510, 29914, 484, 431, 335, 29914, 4422, 298...
arxpy/differential/difference.py
hukaisdu/ArxPy
25
95392
"""Manipulate differences.""" import collections from arxpy.bitvector import core from arxpy.bitvector import operation from arxpy.bitvector import extraop def _tuplify(seq): if isinstance(seq, collections.abc.Sequence): return tuple(seq) else: return tuple([seq]) class Difference(object): ...
[ 1, 9995, 2517, 666, 5987, 12651, 1213, 15945, 13, 5215, 16250, 13, 13, 3166, 564, 29916, 2272, 29889, 2966, 8111, 1053, 7136, 13, 3166, 564, 29916, 2272, 29889, 2966, 8111, 1053, 5858, 13, 3166, 564, 29916, 2272, 29889, 2966, 8111, 1053...
research/object_detection/kshitij_inference.py
nikhalster/models
0
140830
<filename>research/object_detection/kshitij_inference.py import pathlib import cv2 import numpy as np import os import six.moves.urllib as urllib import sys import tarfile import tensorflow as tf import zipfile from collections import defaultdict from io import StringIO from matplotlib import pyplot as plt from PIL i...
[ 1, 529, 9507, 29958, 690, 2842, 29914, 3318, 29918, 29881, 2650, 428, 29914, 29895, 845, 277, 823, 29918, 262, 1659, 29889, 2272, 13, 5215, 2224, 1982, 13, 13, 5215, 13850, 29906, 13, 5215, 12655, 408, 7442, 13, 5215, 2897, 13, 5215, ...
tests/test_load_spec.py
rai-project/scope_plot
0
179865
<gh_stars>0 import os from scope_plot.specification import Specification FIXTURES_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), "..", "__fixtures") def test_bokeh_errorbar_spec(): figure_spec = Specification.load_yaml( os.path.join(FIXTURES_DIR, "bokeh_errorbar.yml")) assert fi...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 5215, 2897, 13, 3166, 6874, 29918, 5317, 29889, 6550, 2450, 1053, 12048, 2450, 13, 13, 3738, 12188, 11499, 29903, 29918, 9464, 353, 2897, 29889, 2084, 29889, 7122, 29898, 13, 1678, 2897, ...
algorithms/algorithms/searching/binary_search/problems/search_in_rotated_sorted_array.py
givek/algorithms
0
150802
<filename>algorithms/algorithms/searching/binary_search/problems/search_in_rotated_sorted_array.py # Link: https://leetcode.com/problems/search-in-rotated-sorted-array/ # Time: O(LogN) # Space: O(1) # As the given array is rotated sorted, binary search cannot be applied directly. def search(nums, target): start...
[ 1, 529, 9507, 29958, 9564, 12404, 29914, 9564, 12404, 29914, 4478, 292, 29914, 19541, 29918, 4478, 29914, 17199, 29879, 29914, 4478, 29918, 262, 29918, 5450, 630, 29918, 24582, 29918, 2378, 29889, 2272, 13, 29937, 6645, 29901, 2045, 597, 28...
tests/grab_upload_file.py
alexey-v-paramonov/grab
0
195127
<gh_stars>0 # coding: utf-8 import os from grab import UploadContent, UploadFile from tests.util import build_grab, temp_file, BaseGrabTestCase class TestUploadContent(BaseGrabTestCase): def setUp(self): self.server.reset() def prepare_form_grab(self): url = self.server.get_url() htm...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14137, 29901, 23616, 29899, 29947, 13, 5215, 2897, 13, 13, 3166, 17229, 1053, 5020, 1359, 3916, 29892, 5020, 1359, 2283, 13, 3166, 6987, 29889, 4422, 1053, 2048, 29918, 3874, 29890...
test/unit/common/test_header_key_dict.py
OyTao/swift-learning
0
140227
<reponame>OyTao/swift-learning<gh_stars>0 # Copyright (c) 2012 OpenStack Foundation # # 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 # # Unles...
[ 1, 529, 276, 1112, 420, 29958, 29949, 29891, 29911, 6241, 29914, 26792, 29899, 21891, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29906, 4673, 7264, 10606, 13, 29937, ...
src/data/preprocessors/__init__.py
paulwarkentin/tf-ssd-vgg
5
20928
## ## /src/data/preprocessors/__init__.py ## ## Created by <NAME> <<EMAIL>> on 15/07/2018. ## Updated by <NAME> <<EMAIL>> on 15/07/2018. ## from .bbox_preprocessor import BBoxPreprocessor from .default_preprocessor import DefaultPreprocessor from .image_preprocessor import ImagePreprocessor
[ 1, 444, 13, 2277, 847, 4351, 29914, 1272, 29914, 1457, 5014, 943, 29914, 1649, 2344, 26914, 2272, 13, 2277, 13, 2277, 6760, 630, 491, 529, 5813, 29958, 3532, 26862, 6227, 6778, 373, 29871, 29896, 29945, 29914, 29900, 29955, 29914, 29906, ...
store/templatetags/diffsize.py
Wikidata/editgroups
11
1610395
from django import template from django.utils.html import escape from django.utils.safestring import mark_safe register = template.Library() @register.filter(is_safe=True) def diffsize(edit): if type(edit) == int: diffsize = edit else: diffsize = edit['newlength'] - edit['oldlength'] diffs...
[ 1, 515, 9557, 1053, 4472, 13, 3166, 9557, 29889, 13239, 29889, 1420, 1053, 10169, 13, 3166, 9557, 29889, 13239, 29889, 29879, 2142, 342, 5393, 1053, 2791, 29918, 11177, 13, 13, 9573, 353, 4472, 29889, 12284, 580, 13, 13, 29992, 9573, 29...
python/testData/resolve/multiFile/reimportExported/ReimportExported.py
jnthn/intellij-community
2
106041
<filename>python/testData/resolve/multiFile/reimportExported/ReimportExported.py import mypackage.foo mypackage.bar.dostuff() # <ref>
[ 1, 529, 9507, 29958, 4691, 29914, 1688, 1469, 29914, 17863, 29914, 9910, 2283, 29914, 276, 5215, 26382, 287, 29914, 1123, 5215, 26382, 287, 29889, 2272, 13, 5215, 590, 5113, 29889, 5431, 13, 13, 1357, 5113, 29889, 1646, 29889, 29881, 520,...
pokemon_go_hunter/watch_twitter.py
juharris/pokemon-go-hunter
0
120350
<filename>pokemon_go_hunter/watch_twitter.py import logging import os import re import time import twitter import yaml from pushbullet import Pushbullet def get_config(): config_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml') with open(config_path) as f: return yaml....
[ 1, 529, 9507, 29958, 29886, 554, 9857, 29918, 1484, 29918, 29882, 8428, 29914, 12344, 29918, 24946, 29889, 2272, 13, 5215, 12183, 13, 5215, 2897, 13, 5215, 337, 13, 5215, 931, 13, 13, 5215, 23394, 13, 5215, 343, 8807, 13, 3166, 5503, ...
scvelo/tools/utils.py
gokceneraslan/scvelo
0
137772
<filename>scvelo/tools/utils.py from scipy.sparse import csr_matrix, issparse import matplotlib.pyplot as pl import pandas as pd import numpy as np import warnings warnings.simplefilter("ignore") def round(k, dec=2, as_str=None): if isinstance(k, (list, tuple, np.record, np.ndarray)): return [round(ki, d...
[ 1, 529, 9507, 29958, 1557, 955, 29877, 29914, 8504, 29914, 13239, 29889, 2272, 13, 3166, 4560, 2272, 29889, 29879, 5510, 1053, 5939, 29878, 29918, 5344, 29892, 1721, 5510, 13, 5215, 22889, 29889, 2272, 5317, 408, 715, 13, 5215, 11701, 408...
ktaned/bomb.py
MartinHarding/ktaned
1
18282
<reponame>MartinHarding/ktaned import random class Bomb(object): """Represents the Bomb context that modules should compute against""" def __init__(self): super(Bomb, self).__init__() self.valid_battery_types = ['AA', 'D'] self.valid_ports = ['DVI-D', 'Parallel', 'PS/2', ...
[ 1, 529, 276, 1112, 420, 29958, 22628, 29950, 20272, 29914, 1193, 273, 287, 13, 5215, 4036, 13, 13, 13, 1990, 24347, 29898, 3318, 1125, 13, 1678, 9995, 1123, 4569, 1237, 278, 24347, 3030, 393, 10585, 881, 10272, 2750, 15945, 29908, 13, ...
src/repnano/models/training_loop.py
organic-chemistry/RepNano
5
78302
<gh_stars>1-10 import subprocess import argparse import os import json import pandas as pd import ast parser = argparse.ArgumentParser() parser.add_argument('--dataset', type=str) parser.add_argument('--training_info', type=str) parser.add_argument('--not_do', dest="do",action="store_false") parser.add_argument('--no...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 1014, 5014, 13, 13, 5215, 1852, 5510, 13, 5215, 2897, 13, 5215, 4390, 13, 5215, 11701, 408, 10518, 13, 5215, 8717, 13, 13, 16680, 353, 1852, 5510, 29889, 15...
flask_vises/__init__.py
rexzhang/flask-vises
4
97641
<reponame>rexzhang/flask-vises #!/usr/bin/env python # coding=utf-8 __version__ = "2.1.4"
[ 1, 529, 276, 1112, 420, 29958, 276, 29916, 29920, 11895, 29914, 1579, 1278, 29899, 1730, 267, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 14137, 29922, 9420, 29899, 29947, 13, 13, 13, 1649, 3259, 1649, 353, 376, 2...
LAMP4SSCtests/ssc_problem_test.py
osmanmusa/learned_iterative_algorithms
2
147791
<reponame>osmanmusa/learned_iterative_algorithms<filename>LAMP4SSCtests/ssc_problem_test.py<gh_stars>1-10 #!/usr/bin/python from __future__ import division from __future__ import print_function """ This file serves as an example of how to a) select a problem to be solved b) select a network type c) train the network ...
[ 1, 529, 276, 1112, 420, 29958, 359, 1171, 8366, 29874, 29914, 1945, 9571, 29918, 1524, 1230, 29918, 9564, 12404, 29966, 9507, 29958, 4375, 3580, 29946, 1799, 29907, 21150, 29914, 893, 29883, 29918, 17199, 29918, 1688, 29889, 2272, 29966, 12...
5-gui.py
theseana/pesteh
1
44977
<reponame>theseana/pesteh from tkinter import * root = Tk() root.config(bg='yellow') l1 = Label(root, text='Hello World!', bg='magenta') l1.pack(side=LEFT) b1 = Button(root, text='Click Me Please!', bg='cyan') b1.pack(side=LEFT) l2 = Label(root, text='Ta-Da!', bg='green') l2.pack(side=LEFT) root.main...
[ 1, 529, 276, 1112, 420, 29958, 386, 968, 1648, 29914, 29886, 4196, 29882, 13, 3166, 18883, 1639, 1053, 334, 30004, 13, 30004, 13, 4632, 353, 323, 29895, 26471, 13, 4632, 29889, 2917, 29898, 16264, 2433, 29136, 1495, 30004, 13, 30004, 13...
unit_tests/test_actions_service.py
canonical/charm-ceph-osd
17
94928
# Copyright 2020 Canonical Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ 1, 396, 14187, 1266, 29871, 29906, 29900, 29906, 29900, 1815, 265, 936, 19806, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947, 1496, 13, 29937, 366, ...
svc_tools/decorators.py
tylerwince/svc-tools
0
141978
"""Decorators that enable easy modifications to function behavior.""" import logging import time from functools import wraps from typing import Callable LOG = logging.getLogger("svc_tools") def timer(log_level: Callable): """Time a function and log the time it took to execute. If you want to know how long a...
[ 1, 9995, 6185, 272, 4097, 393, 9025, 4780, 26278, 304, 740, 6030, 1213, 15945, 13, 5215, 12183, 13, 5215, 931, 13, 3166, 2090, 312, 8789, 1053, 11463, 567, 13, 3166, 19229, 1053, 8251, 519, 13, 13, 14480, 353, 12183, 29889, 657, 16363...
datalad/customremotes/tests/test_archives.py
yarikoptic/datalad
0
1602593
<gh_stars>0 # emacs: -*- mode: python; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*- # ex: set sts=4 ts=4 sw=4 noet: # ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the datalad package for the # copyright and license terms. #...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 953, 16815, 29901, 448, 29930, 29899, 4464, 29901, 3017, 29936, 11451, 29899, 12860, 29899, 10289, 29901, 29871, 29946, 29936, 4434, 29899, 2103, 29901, 29871, 29946, 29936, 29536, 298...
house_prices_regression_model/predict.py
jmonsalverodilla/house_prices_regression_model
0
48650
import typing as t import numpy as np import pandas as pd from house_prices_regression_model import __version__ as VERSION from house_prices_regression_model.processing.data_manager import load_pipeline from house_prices_regression_model.config.core import load_config_file, SETTINGS_PATH from house_prices_regression_m...
[ 1, 1053, 19229, 408, 260, 13, 5215, 12655, 408, 7442, 13, 5215, 11701, 408, 10518, 13, 13, 3166, 3699, 29918, 558, 1575, 29918, 276, 11476, 29918, 4299, 1053, 4770, 3259, 1649, 408, 478, 1001, 13381, 13, 3166, 3699, 29918, 558, 1575, ...
mmaction/models/tenons/backbones/__init__.py
arpanmangal/coinaction
1
123738
<reponame>arpanmangal/coinaction from .bninception import BNInception from .resnet import ResNet from .inception_v1_i3d import InceptionV1_I3D from .resnet_i3d import ResNet_I3D from .resnet_s3d import ResNet_S3D __all__ = [ 'BNInception', 'ResNet', 'InceptionV1_I3D', 'ResNet_I3D', 'ResNet_S3D', ]...
[ 1, 529, 276, 1112, 420, 29958, 6834, 273, 29885, 574, 284, 29914, 1111, 1099, 428, 13, 3166, 869, 11197, 1239, 683, 1053, 350, 29940, 797, 1441, 13, 3166, 869, 690, 1212, 1053, 2538, 6779, 13, 13, 3166, 869, 1239, 683, 29918, 29894, ...
loss/sequence_elbo.py
Wu-Chenyang/SMC-POMDP
0
65767
<reponame>Wu-Chenyang/SMC-POMDP<filename>loss/sequence_elbo.py import torch import torch.nn as nn import torch.nn.functional as F import pyro.distributions as D from pyro.distributions.kl import kl_divergence from typing import NamedTuple import math def sequence_elbo(proposal: nn.Module, model: nn.Module, batched_da...
[ 1, 529, 276, 1112, 420, 29958, 29956, 29884, 29899, 1451, 15274, 574, 29914, 29903, 12513, 29899, 13152, 5773, 29925, 29966, 9507, 29958, 6758, 29914, 16506, 29918, 295, 833, 29889, 2272, 13, 5215, 4842, 305, 13, 5215, 4842, 305, 29889, 1...
tests/migrations/0014_auto_20200327_1152.py
intellineers/django-bridger
2
53099
<filename>tests/migrations/0014_auto_20200327_1152.py # Generated by Django 2.2.11 on 2020-03-27 10:52 import django_fsm from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("tests", "0013_auto_20200219_1324"), ] operations = [ migrations.AlterField( ...
[ 1, 529, 9507, 29958, 21150, 29914, 26983, 800, 29914, 29900, 29900, 29896, 29946, 29918, 6921, 29918, 29906, 29900, 29906, 29900, 29900, 29941, 29906, 29955, 29918, 29896, 29896, 29945, 29906, 29889, 2272, 13, 29937, 3251, 630, 491, 15337, 29...
multiprobe/data/language.py
h324yang/multiprobe
0
199684
from dataclasses import dataclass from collections import defaultdict from functools import lru_cache from typing import Dict, List import json import warnings from scipy.spatial import distance as spd from torch.distributions.categorical import Categorical from tqdm import tqdm import joblib import langdetect import ...
[ 1, 515, 848, 13203, 1053, 848, 1990, 13, 3166, 16250, 1053, 2322, 8977, 13, 3166, 2090, 312, 8789, 1053, 301, 582, 29918, 8173, 13, 3166, 19229, 1053, 360, 919, 29892, 2391, 13, 5215, 4390, 13, 5215, 18116, 13, 13, 3166, 4560, 2272, ...
examples/custom_detection_video.py
vickyvava/ImageAI
7,141
85187
<filename>examples/custom_detection_video.py from imageai.Detection.Custom import CustomVideoObjectDetection import os execution_path = os.getcwd() video_detector = CustomVideoObjectDetection() video_detector.setModelTypeAsYOLOv3() video_detector.setModelPath("hololens-ex-60--loss-2.76.h5") # download via https://git...
[ 1, 529, 9507, 29958, 19057, 29914, 6341, 29918, 29881, 2650, 428, 29918, 9641, 29889, 2272, 13, 3166, 1967, 1794, 29889, 29928, 2650, 428, 29889, 7281, 1053, 8701, 15167, 2061, 29928, 2650, 428, 13, 5215, 2897, 13, 13, 22256, 29918, 2084,...
dsl/utils/filter_freq.py
juditacs/dsl
2
145204
<filename>dsl/utils/filter_freq.py from os import listdir, path from argparse import ArgumentParser from collections import defaultdict from dsl.features.featurize import Tokenizer, WordNgram def parse_args(): p = ArgumentParser() p.add_argument('--train', type=str) p.add_argument('--train-out', type=str...
[ 1, 529, 9507, 29958, 29881, 2536, 29914, 13239, 29914, 4572, 29918, 29888, 7971, 29889, 2272, 13, 3166, 2897, 1053, 1051, 3972, 29892, 2224, 13, 3166, 1852, 5510, 1053, 23125, 11726, 13, 3166, 16250, 1053, 2322, 8977, 13, 13, 3166, 270, ...
Taller Funciones/Untitled-2.py
SantiVillarreal/Taller_Estructuras
0
78523
""" Entradas: lista-->list-->lista elemento->str-->elemento Salidas lista-->lista """ frutas = open('frutas.txt', 'r') lista_frutas = [] for i in frutas: lista_frutas.append(i) def eliminar_un_caracter(lista: list, elemento: str): auxilar = [] for i in lista: a = i.replace(elemento, "") auxilar.append(a...
[ 1, 29871, 13, 15945, 29908, 13, 2369, 509, 3922, 29901, 13, 19641, 15110, 1761, 15110, 19641, 13, 5029, 29877, 976, 710, 15110, 5029, 29877, 13, 20392, 8817, 13, 19641, 15110, 19641, 13, 15945, 29908, 13, 1341, 329, 294, 353, 1722, 877,...
trac/trac/web/tests/wikisyntax.py
HelionDevPlatform/bloodhound
84
103686
<reponame>HelionDevPlatform/bloodhound import unittest from trac.wiki.tests import formatter TEST_CASES = """ ============================== htdocs: links resolver htdocs:release-1.0.tar.gz [htdocs:release-1.0.tar.gz Release 1.0] ------------------------------ <p> <a href="/chrome/site/release-1.0.tar.gz">htdocs:rel...
[ 1, 529, 276, 1112, 420, 29958, 7658, 291, 16618, 21889, 29914, 14073, 397, 29882, 618, 13, 5215, 443, 27958, 13, 13, 3166, 16703, 29889, 4594, 29889, 21150, 1053, 883, 2620, 13, 13, 18267, 29918, 23487, 29903, 353, 9995, 13, 9166, 4936,...
src/main/python/fontspecs.py
sourcery-ai-bot/retcom
10
1600553
<filename>src/main/python/fontspecs.py from fontTools.ttLib import TTFont from fontTools.ttLib.tables._c_m_a_p import CmapSubtable def fetchFontSpec(path): font = TTFont(path) cmap = font['cmap'] t = cmap.getcmap(3,1).cmap s = font.getGlyphSet() unitsPerEm = font['head'].unitsPerEm return { ...
[ 1, 529, 9507, 29958, 4351, 29914, 3396, 29914, 4691, 29914, 5657, 5965, 2395, 29889, 2272, 13, 3166, 4079, 24183, 29889, 698, 14868, 1053, 323, 8969, 609, 13, 3166, 4079, 24183, 29889, 698, 14868, 29889, 24051, 3032, 29883, 29918, 29885, ...
exe 6.py
LucasGabrielTheodoro/Lista-de-python
0
147658
<gh_stars>0 n1 = int(input('Digite o preço do primeiro produto: ')) n2 = int(input('Digite o preço do segundo número: ')) desconto1= ((n1 * 8) / 100) - n1 desconto2= ((n2 * 11) / 100) - n2 total = (desconto1 + desconto2) *-1 print ('Com o desconto no primeiro produto de 8% e de 11% no segundo produt, o total v...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29876, 29896, 353, 938, 29898, 2080, 877, 14991, 568, 288, 758, 6102, 437, 19695, 11859, 3066, 29901, 525, 876, 30004, 13, 29876, 29906, 353, 938, 29898, 2080, 877, 14991, 568, 288, 758...
ecs/docstash/tests/urls.py
programmierfabrik/ecs
9
1611155
import json from django.conf.urls import url from django.http import HttpResponse from ecs.docstash.decorators import with_docstash @with_docstash() def simple_post_view(request): if request.method == 'POST': request.docstash.value = request.POST.dict() request.docstash.save() return HttpResp...
[ 1, 1053, 4390, 13, 13, 3166, 9557, 29889, 5527, 29889, 26045, 1053, 3142, 13, 3166, 9557, 29889, 1124, 1053, 9056, 5103, 13, 3166, 321, 2395, 29889, 1514, 303, 1161, 29889, 19557, 4097, 1053, 411, 29918, 1514, 303, 1161, 13, 13, 13, 2...
src/SparseSC/cli/scgrad.py
wofein/SparseSC
34
118344
#!/usr/bin/env python """ A service like daemon for calculating components of the gradient """ # pylint: disable=invalid-name, unused-import, multiple-imports import platform import numpy as np import uuid import sys, time, os, atexit, json from SparseSC.cli.daemon import Daemon from yaml import load, dump import tempf...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 15945, 29908, 13, 29909, 2669, 763, 1146, 9857, 363, 25202, 7117, 310, 278, 16030, 13, 15945, 29908, 13, 29937, 282, 2904, 524, 29901, 11262, 29922, 20965, 29899, 978, 29892, 443, 3880, ...
explainaboard/loaders/__init__.py
hwidjaja/ExplainaBoard
0
137344
<reponame>hwidjaja/ExplainaBoard from explainaboard.loaders import ( aspect_based_sentiment_classification, conditional_generation, extractive_qa, file_loader, kg_link_tail_prediction, language_modeling, loader, loader_registry, named_entity_recognition, qa_multiple_choice, t...
[ 1, 529, 276, 1112, 420, 29958, 29882, 9163, 29926, 9919, 29914, 9544, 433, 1099, 28397, 13, 3166, 5649, 370, 29877, 538, 29889, 1359, 414, 1053, 313, 13, 1678, 9565, 29918, 6707, 29918, 18616, 2073, 29918, 1990, 2450, 29892, 13, 1678, 1...
apps/contrib/api/responses.py
jimialex/django-wise-template-mysql
2
126699
<reponame>jimialex/django-wise-template-mysql # -*- coding: utf-8 -*- from rest_framework import status as status_code from rest_framework.response import Response from django.utils.translation import ugettext_lazy as _ class DoneResponse(Response): # noqa: D107 """Base class for REST Exceptions based on CEH f...
[ 1, 529, 276, 1112, 420, 29958, 29926, 326, 423, 2506, 29914, 14095, 29899, 3538, 29899, 6886, 29899, 7938, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 3166, 1791, 29918, 4468, 1053, 4660, 40...
config.py
julienc91/slasher
0
117510
<filename>config.py # -*- coding: utf-8 -*- # --- Slack configuration --- # get your own at https://api.slack.com/docs/oauth-test-tokens SLACK_TOKEN = "<PASSWORD>" # the channel Slasher will send its messages to SLACK_CHANNEL = "#random" # Slasher's username SLACK_USERNAME = "Slasher" # Slasher's icon SLACK_USER_EMOJ...
[ 1, 529, 9507, 29958, 2917, 29889, 2272, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 29937, 11474, 317, 2364, 5285, 11474, 13, 13, 29937, 679, 596, 1914, 472, 2045, 597, 2754, 29889, 29879, ...
atlasclient/client.py
LALAYANG/atlasclient
21
82743
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
[ 1, 396, 1678, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947, 1496, 366, 1122, 13, 29937, 1678, 451, 671, 445, 934, 5174, 297, 752, 13036, 411, 278, 19245, 29889, 887, 1...
games/HangMan/hangman.py
sudhanvalalit/python
0
1604145
<reponame>sudhanvalalit/python import random from words import words import string from hangman_visual import lives_visual_dict def get_valid_word(words): word = random.choice(words) while '-' in word or ' ' in word: word = random.choice(words) return word.upper() def hangman(): word = get_v...
[ 1, 529, 276, 1112, 420, 29958, 29879, 566, 5403, 791, 284, 277, 29914, 4691, 13, 5215, 4036, 13, 3166, 3838, 1053, 3838, 13, 5215, 1347, 13, 3166, 13958, 1171, 29918, 20119, 1053, 12080, 29918, 20119, 29918, 8977, 13, 13, 13, 1753, 67...
cbcPaddingAttack.py
danielverd/crypto-projects
0
42969
from modesOfOperation import CBCCipher import sys BLOCK_SIZE = 16 def blocks(l, n): for i in range(0, len(l), n): yield l[i:i + n] def attack(cbc,ciphertext): message = bytearray(b'') blockGen = blocks(ciphertext,BLOCK_SIZE) ctextBlocks = [] for i in blockGen: ctextBlocks.append(...
[ 1, 515, 18893, 2776, 10925, 1053, 315, 29933, 4174, 29875, 8096, 13, 5215, 10876, 13, 13, 29933, 21339, 29918, 14226, 353, 29871, 29896, 29953, 13, 13, 1753, 10930, 29898, 29880, 29892, 302, 1125, 13, 1678, 363, 474, 297, 3464, 29898, 2...
topgun/__init__.py
muntumdwara/TopGun
0
60258
<reponame>muntumdwara/TopGun<gh_stars>0 #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ TopGun @author: Viper """ # Useful Medium post on Python importing within __init__.py # https://towardsdatascience.com/whats-init-for-me-d70a312da583 ### DON'T FORGET TO UPDATE SUB __INIT__.py files ### # General from .utilit...
[ 1, 529, 276, 1112, 420, 29958, 29885, 1657, 398, 28012, 2518, 29914, 7031, 29954, 348, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 29937, 448, 29930, 29899, 14137, 29901, ...
exercises/alphametics/alphametics.py
kishankj/python
1,177
104772
def solve(puzzle): pass
[ 1, 822, 4505, 29898, 29886, 18813, 280, 1125, 13, 1678, 1209, 13, 2 ]
Ene-Jun-2019/Luis Ornelas/Segundo Parcial/Ejercicio 3/Ejercicio3-Parcial2-DB.py
Arbupa/DAS_Sistemas
41
164623
import sqlite3 conexion = sqlite3.connect('RandUser.db') cursor = conexion.cursor() cursor.execute(''' CREATE TABLE Users( Gender TEXT NOT NULL, First TEXT NOT NULL, Last TEXT NOT NULL, Location TEXT NOT NULL, Email TEXT NOT NULL) ''') conexion.close()
[ 1, 1053, 21120, 29941, 13, 13, 535, 735, 291, 353, 21120, 29941, 29889, 6915, 877, 29934, 392, 2659, 29889, 2585, 1495, 13, 18127, 353, 378, 735, 291, 29889, 18127, 580, 13, 13, 18127, 29889, 7978, 877, 4907, 13, 1678, 14602, 10911, 2...
authnz/tests.py
NERSC/newt-2.0
11
142683
from django.test import TestCase from django.conf import settings import json from newt.tests import MyTestClient, newt_base_url, login class AuthTests(TestCase): fixtures = ["test_fixture.json"] def setUp(self): self.client = MyTestClient() def test_login(self): # Should not be logged i...
[ 1, 515, 9557, 29889, 1688, 1053, 4321, 8259, 13, 3166, 9557, 29889, 5527, 1053, 6055, 13, 5215, 4390, 13, 3166, 716, 29873, 29889, 21150, 1053, 1619, 3057, 4032, 29892, 716, 29873, 29918, 3188, 29918, 2271, 29892, 6464, 13, 13, 13, 1990...
data/vctk.py
Jackson-Kang/VQVC-Pytorch
13
79939
from utils.path import * from utils.audio.tools import get_mel from tqdm import tqdm import numpy as np import glob, os, sys from multiprocessing import Pool from scipy.io.wavfile import write import librosa, ffmpeg from sklearn.preprocessing import StandardScaler def job(wav_filename): original_wav_filename, prep...
[ 1, 515, 3667, 29879, 29889, 2084, 1053, 334, 13, 3166, 3667, 29879, 29889, 18494, 29889, 8504, 1053, 679, 29918, 12873, 13, 13, 3166, 260, 29939, 18933, 1053, 260, 29939, 18933, 13, 5215, 12655, 408, 7442, 13, 5215, 13149, 29892, 2897, ...
yt_dlp/extractor/archiveorg.py
mrBliss/yt-dlp
80
11346
<filename>yt_dlp/extractor/archiveorg.py # coding: utf-8 from __future__ import unicode_literals import re import json from .common import InfoExtractor from .youtube import YoutubeIE, YoutubeBaseInfoExtractor from ..compat import ( compat_urllib_parse_unquote, compat_urllib_parse_unquote_plus, compat_HTTP...
[ 1, 529, 9507, 29958, 3637, 29918, 11671, 29886, 29914, 21111, 272, 29914, 10867, 990, 29889, 2272, 13, 29937, 14137, 29901, 23616, 29899, 29947, 13, 3166, 4770, 29888, 9130, 1649, 1053, 29104, 29918, 20889, 1338, 13, 13, 5215, 337, 13, 52...
lib/crd.py
TierMobility/aws-auth-operator
8
175919
<filename>lib/crd.py from typing import List, Dict from lib.constants import CRD_GROUP, CRD_VERSION, CRD_KIND def build_aws_auth_mapping(mappings: List, name: str) -> Dict: return { "apiVersion": CRD_GROUP + "/" + CRD_VERSION, "kind": CRD_KIND, "metadata": {"annotations": {}, "labels": {},...
[ 1, 529, 9507, 29958, 1982, 29914, 29883, 5499, 29889, 2272, 13, 3166, 19229, 1053, 2391, 29892, 360, 919, 13, 3166, 4303, 29889, 3075, 1934, 1053, 15600, 29928, 29918, 26284, 29892, 15600, 29928, 29918, 16358, 29892, 15600, 29928, 29918, 29...
generate_images.py
gracecarrillo/github-readme-stats
0
156922
#!/usr/bin/python3 import asyncio import os import re import aiohttp from github_stats import Stats ################################################################################ # Helper Functions ################################################################################ def generate_outpu...
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 29941, 30004, 13, 30004, 13, 5215, 408, 948, 3934, 30004, 13, 5215, 2897, 30004, 13, 5215, 337, 30004, 13, 30004, 13, 5215, 263, 601, 1124, 30004, 13, 30004, 13, 3166, 18546, 29918, 16202, 1053,...
experiments/counters.py
PetrDlouhy/django-experiments
237
76462
from django.utils.functional import cached_property from redis.exceptions import ConnectionError, ResponseError from experiments.redis_client import get_redis_client COUNTER_CACHE_KEY = 'experiments:participants:%s' COUNTER_FREQ_CACHE_KEY = 'experiments:freq:%s' class Counters(object): @cached_property d...
[ 1, 515, 9557, 29889, 13239, 29889, 2220, 284, 1053, 22152, 29918, 6799, 13, 13, 3166, 29825, 29889, 11739, 29879, 1053, 15160, 2392, 29892, 13291, 2392, 13, 13, 3166, 15729, 29889, 1127, 275, 29918, 4645, 1053, 679, 29918, 1127, 275, 2991...
galaxy/main/migrations/0063_remove_deprecated_role_fields.py
tima/galaxy
0
185327
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0062_move_repository_counters'), ] operations = [ migrations.RemoveField(model_name='role', name='average_score'), m...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 3166, 4770, 29888, 9130, 1649, 1053, 29104, 29918, 20889, 1338, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, 800, 13, 13, 13, 1990, 341, 16783, 29898, ...
tests/observers/k8s_api_test.py
superhsuSFX/signalfx-agent
1
199511
from functools import partial as p import pytest import yaml from tests.helpers.assertions import has_all_dims, has_datapoint, has_dim_key from tests.helpers.kubernetes.utils import add_pod_spec_annotations from tests.helpers.util import wait_for from tests.paths import TEST_SERVICES_DIR @pytest.mark.kubernetes def ...
[ 1, 515, 2090, 312, 8789, 1053, 7687, 408, 282, 13, 13, 5215, 11451, 1688, 13, 5215, 343, 8807, 13, 3166, 6987, 29889, 3952, 6774, 29889, 9294, 1080, 1053, 756, 29918, 497, 29918, 6229, 29879, 29892, 756, 29918, 4130, 481, 2461, 29892, ...
lib/segmentation/algorithm.py
rusty1s/embedded_gcnn
74
50455
<reponame>rusty1s/embedded_gcnn<gh_stars>10-100 import numpy as np from skimage import color, segmentation def slic(image, num_segments, compactness=10, max_iterations=10, sigma=0): image = _preprocess(image) return segmentation.slic(image, num_segments, compactness, max_iterations, ...
[ 1, 529, 276, 1112, 420, 29958, 23575, 29891, 29896, 29879, 29914, 17987, 7176, 29918, 27354, 15755, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 5215, 12655, 408, 7442, 13, 3166, 2071, 3027, 1053, 292...
allocate/__init__.py
BraeWebb/allocate
0
75297
<filename>allocate/__init__.py """ Tutor allocation algorithm for allocating tutors to the optimal sessions. """ __author__ = "<NAME>, <NAME>" __all__ = ['allocation', 'doodle', 'model', 'solver', 'csvalidator']
[ 1, 529, 9507, 29958, 15956, 403, 29914, 1649, 2344, 26914, 2272, 13, 15945, 29908, 13, 29911, 3406, 24082, 5687, 363, 6643, 1218, 7149, 943, 304, 278, 14413, 21396, 29889, 13, 15945, 29908, 13, 13, 1649, 8921, 1649, 353, 9872, 5813, 102...