Skip to main content

Simple and powerful retry decorator for Python

Project description

pyretryx

Simple retry decorator for Python.

Installation

pip install pyretryx

Usage

from pyretryx import retry

@retry(attempts=3)
def fetch():
    ...

Async Usage

from pyretryx import async_retry

@async_retry(attempts=5)
async def fetch():
    ...

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

pyretryx-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

pyretryx-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file pyretryx-0.1.0.tar.gz.

File metadata

  • Download URL: pyretryx-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pyretryx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 934360b111c2c0f613084ccd9b81820f0e0cf4fd1c686a9ba7735a75e967f0f8
MD5 e4985f0595805f7df535a842b1e48374
BLAKE2b-256 45e8864ac7519d4bdcc2f7ca4e9eb5efec02080be18501954e95680a81fd758b

See more details on using hashes here.

File details

Details for the file pyretryx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyretryx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pyretryx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58e1e6a5d54466ca0dce645a911ff61750b369c3c8941f202415d0689b1c8f8e
MD5 cce737611141732285620887fda7ef7c
BLAKE2b-256 6720af250f9b678bdcb3ac8d224ba3d459a77b638dfdf247b1120c104fd23221

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