Skip to main content
drawing

asyncify

Wheel Version py_versions Ruff

TLDR: Sync 2 Async decorator

Install: pip install asyncify

Breaking change (v0.13.0): the asyncify module is no longer callable. Replace import asyncify; @asyncify with from asyncify import asyncify; @asyncify.

Usage:

from asyncify import asyncify
from asyncify import run  # asyncio.run polyfill for python36


def add(a, b):
    return a + b


assert add(1, 2) == 3


@asyncify
def add_async(a, b):
    return a + b


res = await add_async(1, 2)
assert res == 3

Metadata

Release files for asyncify 0.13.0

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

Source distribution (sdist)

Source distribution for asyncify 0.13.0
File Size Uploaded Provenance Actions
asyncify-0.13.0.tar.gz 5.9 kB Without provenance Details for asyncify-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for asyncify 0.13.0
File Interpreter ABI Platform Actions
asyncify-0.13.0-py3-none-any.whl Python 3 none any Details for asyncify-0.13.0-py3-none-any.whl

Total release size: 13.0 kB

Release files / asyncify-0.13.0.tar.gz

Download URL asyncify-0.13.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
45375168d0ecd6d04a606446f601b8474a1b94aae1320b2ff0d8938a6891d0b2
BLAKE2b-256 checksum
How to use checksums
d1bbef1a30d4c10a6b86ea33773b1ad719474e0b11565ed663c896ccaab2fffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / asyncify-0.13.0-py3-none-any.whl

Download URL asyncify-0.13.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a45b9a0f557829aa47324c2e696d862e97d51b19178cb2c14fdc1fdc52d0b9b
BLAKE2b-256 checksum
How to use checksums
6e8f68e79041571fdefb6646aa8b3b8eef29c609473f662639bb7dca26e6a595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for asyncify 0.13.0

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