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.3.0.tar.gz
(16.4 kB
view hashes)
Built Distribution
Close
Hashes for exception-with-retry-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5911178493cf80457629c7495e34a6d165f1d39717cd3ea93ae2e912597a34c8 |
|
MD5 | c8807caecf3d499b5471e6d41ede5608 |
|
BLAKE2b-256 | 412c93cbd1eb4ac9623181451c75d8a1208e88bf2e155886ada64d174a48e002 |
Close
Hashes for exception_with_retry-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99a424a28cb27767103ac82dcd61618c0d7385007ab428abc3d370b779832cc5 |
|
MD5 | 532b7ef35dee29931fe610fee694b85c |
|
BLAKE2b-256 | 5213e1eff2edc0dadb32db651e0321296141c326633f1f79e5730a7eda799c2c |