Skip to main content

A concurrent.futures.Executor implementation that runs asynchronous tasks in an asyncio event loop.

Project description

aio-executor

Build Status

A concurrent.futures.Executor implementation that runs asynchronous tasks in an asyncio loop.

Example usage:

from aio_executor import AioExecutor

async def my_async_function(arg):
    # ...

with AioExecutor() as aioexec:
    # single invocation
    aioexec.submit(my_async_function, 'foo')

    # multiple concurrent invocations using "map"
    aioexec.map(my_async_function, ['foo', 'bar', 'baz'])

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

aio-executor-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

aio_executor-0.1.0-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aio-executor-0.1.0.tar.gz.

File metadata

  • Download URL: aio-executor-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4

File hashes

Hashes for aio-executor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 22258c98fa287b3e3d3f3707c26467b83dfca59aefba2440d1a352f9e3b66cfa
MD5 0bf4e55408905604fbf0cfd2b571d115
BLAKE2b-256 292f04b285d8332de8edd6eb1d873d9a63f2dcda0981a9a630ac2d12c1744503

See more details on using hashes here.

File details

Details for the file aio_executor-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: aio_executor-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4

File hashes

Hashes for aio_executor-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9df911f148b9ea7b3b60ade598b45e40c97103f2a6c119976ab40ae4bf20b3d9
MD5 869e74bbcbec57385f064764824ad342
BLAKE2b-256 3b03486ed6542a9f3b4de38e99cc9e26556ff7838ef0627ad9d4aa9f027a8f5d

See more details on using hashes here.

Supported by

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