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.4.0.tar.gz
(16.4 kB
view hashes)
Built Distribution
Close
Hashes for exception-with-retry-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 421209b5dd34aae876459d1e421c7a589ecee5d3d3938edc05c62b397b043f7a |
|
MD5 | 09f10bec045f5851dd40c46221ddc024 |
|
BLAKE2b-256 | b4d0dc9c8e3e835741d220b128f47076767147647029b907b75f9d3fec98a9c6 |
Close
Hashes for exception_with_retry-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f2e184b4969d04682f1286b50b7c044767c58e4f7bcbad7b11fdb2dc892147 |
|
MD5 | d452208db4689b0b74d8e6bac227d0a0 |
|
BLAKE2b-256 | 97365702e79583309e8a31cebd2b6f93261f463809346a4178e36136ed10d2f6 |