Skip to main content

Implementacion de token bucket con backoff exponencial

Project description

Proceso de release

  1. Cambiar el número de versión en setup.py.

  2. Generar el paquete:

sudo apt install python3-build
python3 -m build
  1. 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).

  1. Subirlo a pypi:
twine upload dist/*

Pasar el API TOKEN.

  1. Borrar los archivos del build:
rm -rf dist/ build/ tbbackoff.egg-info/

Tests

  1. Configurar un entorno virtrual:
python3 -m venv venv
source venv/bin/activate
pip3 install mock twine  # TODO: armar un requirements.txt
pip3 install -e .
  1. 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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tbbackoff-0.0.6-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for tbbackoff-0.0.6.tar.gz
Algorithm Hash digest
SHA256 78dfe9817b77410f36f74af7bca800d784828234d71b50199762077068f60f3d
MD5 39a33c447af1400c333e462046505b0b
BLAKE2b-256 12c5056b93a9ad75233d06dfd8419471cb73a1125fee8931ec1d551d78315d8a

See more details on using hashes here.

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

Hashes for tbbackoff-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c921225218250f9996bd9394c897e17a44cd8ad0621b90cfe503aeda1e77e999
MD5 db9c27a84377f2a3ef20ebe2021f7c7b
BLAKE2b-256 86fb7ee57115c4b7fc7494f60a09ba6bf0dd4ff120853d746f6125b4353e19a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page