Skip to main content

Asyncify

A python library with helpful things to be used with asyncio!

Documentation

https://asyncify.readthedocs.io/en/latest/

Installation

Python 3.7 or higher is required

$ pip install -U asyncify-python

Example

import asyncify
import requests

@asyncify.asyncify_func
def get(url: str) -> str:
    return requests.get(url).text

# `get` is no longer a blocking function
# it is now a coroutine function

async def main():
    text = await get('https://python.org')

# this is very useful to turn a blocking library into an async library
get = asyncify(requests.get)

Metadata

Release files for asyncify-python 2.1.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-python 2.1.0
File Size Uploaded Provenance Actions
asyncify-python-2.1.0.tar.gz 11.2 kB Without provenance Details for asyncify-python-2.1.0.tar.gz

Release files / asyncify-python-2.1.0.tar.gz

Download URL asyncify-python-2.1.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a32b2fa1947d9d1b34c5e0331cb53c0cbbf894595702e29630fd6bed6cff70a1
BLAKE2b-256 checksum
How to use checksums
ae8ad8c5d80c5668bc7af17a1b955d2b9adde08dc4621c7383fdaec254597322
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Security for asyncify-python 2.1.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