Wait and retry calling an exception throwing method.
Project description
exception-with-retry
Wraps any method which throws exceptions. Retries calls when exceptions are thrown.
Description
- Check the unit tests for usage.
- Build and run tests locally:
tox - Publish to test pypi:
tox -e clean && tox -e build && tox -e publish - Publish to pypi:
git tag MAJOR.MINOR[.PATCH]tox -e clean && tox -e buildtox -e publish -- --repository pypi
Making Changes & Contributing
This project uses pre-commit, please make sure to install it before making any changes::
pip install pre-commit
cd exception-with-retry
pre-commit install
It is a good idea to update the hooks to the latest version::
pre-commit autoupdate
Don't forget to tell your contributors to also install and use pre-commit.
Note
This project has been set up using PyScaffold 4.0.2. For details and usage information on PyScaffold see https://pyscaffold.org/.
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
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 exception-with-retry-0.5.0.tar.gz.
File metadata
- Download URL: exception-with-retry-0.5.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cba78f36e2afed18f15830ff0ea55cff5b90cc64aef85bc7801258980a13600
|
|
| MD5 |
9d723bdfa2ae2f5d848ebf909315f229
|
|
| BLAKE2b-256 |
12947fdc54f09f49410e62db3da3578f0a1108da61bebf45201dc256ac6511b7
|
File details
Details for the file exception_with_retry-0.5.0-py2.py3-none-any.whl.
File metadata
- Download URL: exception_with_retry-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1432156720476e22c2e3849d0230ae2c233e999b0bebc8f9049e13165d2f1362
|
|
| MD5 |
7e05314d734790f285af537a06548798
|
|
| BLAKE2b-256 |
b3c96d7ba2a79d9ee277393ff28db755e4b62ab108dd8a21e76aee6f607e5b64
|