Skip to main content

async_retrying

Next Gen. simple retrying for asyncio - fork/fix from https://GitHub.com/hellysmile/async_retrying but updated for Python 3.10+ only

Installation

shell

pip install async_retrying_ng

Usage

python

    import asyncio

    from async_retrying_ng import retry

    counter = 0

    @retry
    async def fn():
        global counter

        counter += 1

        if counter == 1:
            raise RuntimeError

    async def main():
        await fn()

    loop = asyncio.get_event_loop()

    loop.run_until_complete(main())

    assert counter == 2

    loop.close()

Python 3.10+ is required

Metadata

Release files for async-retrying-ng 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for async-retrying-ng 0.1.3
File Size Uploaded Provenance
async_retrying_ng-0.1.3.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for async-retrying-ng 0.1.3
File Interpreter ABI Platform
async_retrying_ng-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / async_retrying_ng-0.1.3.tar.gz

Download URL async_retrying_ng-0.1.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b9c664945da471c8c2586820aaa0dccc6459506a4c7f8ab4f0e60e52cbc56ce
BLAKE2b-256 checksum
How to use checksums
63c3d6b4afb80a24b5ece2cb0d4ab270d273de8aa4bb542488c2687528ffaf8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.9.2 Linux/5.19.17-2-pve

Release files / async_retrying_ng-0.1.3-py3-none-any.whl

Download URL async_retrying_ng-0.1.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59eb82206a8d8237ed21a64012a4a0d8752c0812e81418dad9abe7acc4d60f2a
BLAKE2b-256 checksum
How to use checksums
9debcedde4619e759062d8463ae4d12237e425e0084e630d53c013ed1b1d615c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.9.2 Linux/5.19.17-2-pve

Security for async-retrying-ng 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page