Skip to main content

Make every python function async/await

Project description

aioify
======

Make every function async and await-able.

Usage
------

```
pip install aioify
```

For example, make `os.path.exists` await-able.

```Python
import os
from aioify import aioify

aios = aioify(os)

async def main():
print(await aios.path.exists('/'))

if __name__ == '__main__':
import asyncio as aio
loop = aio.get_event_loop()
loop.run_until_complete(main())
```

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

aioify-0.2.0.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file aioify-0.2.0.tar.gz.

File metadata

  • Download URL: aioify-0.2.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for aioify-0.2.0.tar.gz
Algorithm Hash digest
SHA256 63183bbfd5d91434a83d9b0769aa765c39ff7659f2b3d22bdf6c972c2dab703e
MD5 f666b4c78a904cd1f17f28c8895adc8f
BLAKE2b-256 86c02e30460bdb9682b24a794bf95e409d2c2644bd19b9404476977b1cedd808

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page