Implementacion de token bucket con backoff exponencial
Project description
Proceso de release
-
Cambiar el número de versión en
setup.py. -
Generar el paquete:
sudo apt install python3-build
python3 -m build
- Instalar twine:
pip3 install twine
Este paso puede variar dependiendo la versión de Ubuntu utilizada (ver más abajo cómo setear el entorno virtual).
- Subirlo a pypi:
twine upload dist/*
Pasar el API TOKEN.
- Borrar los archivos del build:
rm -rf dist/ build/ tbbackoff.egg-info/
Tests
- Configurar un entorno virtrual:
python3 -m venv venv
source venv/bin/activate
pip3 install mock twine # TODO: armar un requirements.txt
pip3 install -e .
- Ejecutar los tests:
python -m unittest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tbbackoff-0.0.6.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tbbackoff-0.0.6.tar.gz.
File metadata
- Download URL: tbbackoff-0.0.6.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78dfe9817b77410f36f74af7bca800d784828234d71b50199762077068f60f3d
|
|
| MD5 |
39a33c447af1400c333e462046505b0b
|
|
| BLAKE2b-256 |
12c5056b93a9ad75233d06dfd8419471cb73a1125fee8931ec1d551d78315d8a
|
File details
Details for the file tbbackoff-0.0.6-py3-none-any.whl.
File metadata
- Download URL: tbbackoff-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c921225218250f9996bd9394c897e17a44cd8ad0621b90cfe503aeda1e77e999
|
|
| MD5 |
db9c27a84377f2a3ef20ebe2021f7c7b
|
|
| BLAKE2b-256 |
86fb7ee57115c4b7fc7494f60a09ba6bf0dd4ff120853d746f6125b4353e19a2
|