Skip to main content
drawing

asyncify

Wheel Version py_versions Ruff

TLDR: Sync 2 Async decorator

Install: pip install asyncify

Usage:

import asyncify

# OR
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

Release files for asyncify 0.12.1

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.12.1
File Size Uploaded
asyncify-0.12.1.tar.gz 5.1 kB Details

Built distribution (wheel)

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

Total release size: 12.1 kB

Release files / asyncify-0.12.1.tar.gz

Download URL asyncify-0.12.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
222cea6321b1fec8ffd4c8744611c230ca77cb078a18fd1274a461a77b3d7ed0
BLAKE2b-256 checksum
How to use checksums
68a80ecc62b031ab11378ae012d7868ed65c105fd600e21f5fa135d62d2e867d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.1

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

Download URL asyncify-0.12.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a015a2670674eb3814239c838f8c3dbe4e8724b706044a363943f1d45a85d77
BLAKE2b-256 checksum
How to use checksums
481b36cd51f4db7ba530f4d7f5a4c7707d047daa7822861496fe05ab27e0bf91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.1

Release history Release notifications | RSS feed

This release

0.12.1 This release

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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