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: Make a new tag. Then,
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.2.0.tar.gz
(16.3 kB
view hashes)
Built Distribution
Close
Hashes for exception-with-retry-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ba3bff8134282ff6efa2bf3187ef913f07834133f60e7bd5c75b0d57ce6eb9c |
|
MD5 | ee9e1ab2584f4aec07ff4a4d80097579 |
|
BLAKE2b-256 | ee7f8b897dbf646189f96a2044ffed52214aa4427d2eab38a3accc4b74244ac4 |
Close
Hashes for exception_with_retry-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb85a4e1a0818230f34345bea2c378a304c629ccf06014cc0936bcc66d45c499 |
|
MD5 | d9aa8b10cac0658a7e81f29b70928aff |
|
BLAKE2b-256 | 99fbc6541b593c09e381e29fc2fe5e6c257e2a06c1f329249ba8732f3ce4536b |