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 build
tox -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
exception-with-retry-0.5.0.tar.gz
(16.4 kB
view hashes)
Built Distribution
Close
Hashes for exception-with-retry-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cba78f36e2afed18f15830ff0ea55cff5b90cc64aef85bc7801258980a13600 |
|
MD5 | 9d723bdfa2ae2f5d848ebf909315f229 |
|
BLAKE2b-256 | 12947fdc54f09f49410e62db3da3578f0a1108da61bebf45201dc256ac6511b7 |
Close
Hashes for exception_with_retry-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1432156720476e22c2e3849d0230ae2c233e999b0bebc8f9049e13165d2f1362 |
|
MD5 | 7e05314d734790f285af537a06548798 |
|
BLAKE2b-256 | b3c96d7ba2a79d9ee277393ff28db755e4b62ab108dd8a21e76aee6f607e5b64 |