Skip to main content

Aipo is a small and simple asyncio task/job queue.

Project description

Version:
0.1.0
Download:

http://pypi.org/project/aipo

Source:

http://github.com/CaiqueReinhold/aipo

Keywords:

asyncio, task, job, queue

What is Aipo?

Aipo is a minimal framework for dispatching and running background tasks using asynchronous python.

Using the task decorator you can turn your python functions into tasks that can be dispatched to a queue and executed in the aipo server.

Setting up your aipo app:

app = Aipo(config='aipo.yaml')

@app.task
async def my_task():
    await get_stuff()
    await comunicate_stuff()

Once you execute you task it will be dispatched to the queue and executed in the aipo server:

await my_task()
Run your Aipo server using the command line::

aipo run –config aipo.yaml

Installation

You can install Aipo from the Python Package Index (PyPI).

To install using pip:

$ pip install aipo

Currently supported Aipo backends

  • Redis

Currently supported event loops

  • asyncio

  • uvloop

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

aipo-0.1.2.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

aipo-0.1.2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file aipo-0.1.2.tar.gz.

File metadata

  • Download URL: aipo-0.1.2.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for aipo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0e6d4f8056796b6a2523825ae9d8f3d54a0dd09b145f835a5ed67ef5fe30b42b
MD5 95aa10e56278883aa451c1b2d8182f3a
BLAKE2b-256 d27af9828525f83dab36841230ab76c6e2a99745879984de3bed99cd7e8baa9f

See more details on using hashes here.

File details

Details for the file aipo-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: aipo-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for aipo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aff7fcdf88e2830098138b357ee779b9d6a9bea3e8da4f9e38fcbc303bd70a25
MD5 20b9a53640baec6835f2a262351c158f
BLAKE2b-256 bab65a84d729ee8cacd2b0c49ddb023b9c6ba6ad287aa2e0f18a8df8a6afedcd

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