Skip to main content

Async job queue with multiple backend support and built-in dashboard

Project description

aioq

Async job queue for Python with Redis, PostgreSQL, and MySQL backends, priority queues, job dependencies, dead letter queues, and a built-in real-time dashboard.

Documentation · PyPI

Install

pip install aioq                # Redis only
pip install "aioq[postgres]"    # + PostgreSQL
pip install "aioq[mysql]"       # + MySQL
pip install "aioq[all]"         # everything

Quick start

# tasks.py
from aioq import Aarq
from aioq.backends import RedisBroker

app = Aarq(broker=RedisBroker(url="redis://localhost:6379"))

@app.task(queue="default", retries=3)
async def my_task(ctx, value: int):
    ...
aioq worker tasks:app       # run a worker
aioq dashboard tasks:app    # dashboard at :8080

See the docs for full usage.

License

MIT

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

aioq-0.4.0.tar.gz (137.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioq-0.4.0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file aioq-0.4.0.tar.gz.

File metadata

  • Download URL: aioq-0.4.0.tar.gz
  • Upload date:
  • Size: 137.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aioq-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8c3f76739c6686a2e7e26ac77d7d9f52530ed24ce42012e05e564255fd0b7403
MD5 2230de237fa8da3f19e5bd9a1a5bdacf
BLAKE2b-256 eb49515b6715731c5cc084f5c54b59c58f11873bb891e71bdda38496586149f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioq-0.4.0.tar.gz:

Publisher: release.yml on ykus4/aioq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aioq-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: aioq-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aioq-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5ecabfe7742b2f48bc09623f1dfdda13d3101f1e7cc7e4d0a6e31cf8adc4668
MD5 ee7429bf811809f0ab10b76a74a65fcf
BLAKE2b-256 feeb8b7b18e8d361716447adc2e1a2e4d33e6c31133272f536bcd8c87b439471

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioq-0.4.0-py3-none-any.whl:

Publisher: release.yml on ykus4/aioq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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