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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c3f76739c6686a2e7e26ac77d7d9f52530ed24ce42012e05e564255fd0b7403
|
|
| MD5 |
2230de237fa8da3f19e5bd9a1a5bdacf
|
|
| BLAKE2b-256 |
eb49515b6715731c5cc084f5c54b59c58f11873bb891e71bdda38496586149f2
|
Provenance
The following attestation bundles were made for aioq-0.4.0.tar.gz:
Publisher:
release.yml on ykus4/aioq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioq-0.4.0.tar.gz -
Subject digest:
8c3f76739c6686a2e7e26ac77d7d9f52530ed24ce42012e05e564255fd0b7403 - Sigstore transparency entry: 1652858081
- Sigstore integration time:
-
Permalink:
ykus4/aioq@8659045df40c2ee6003c527e9c03a418954dd4dc -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/ykus4
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8659045df40c2ee6003c527e9c03a418954dd4dc -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5ecabfe7742b2f48bc09623f1dfdda13d3101f1e7cc7e4d0a6e31cf8adc4668
|
|
| MD5 |
ee7429bf811809f0ab10b76a74a65fcf
|
|
| BLAKE2b-256 |
feeb8b7b18e8d361716447adc2e1a2e4d33e6c31133272f536bcd8c87b439471
|
Provenance
The following attestation bundles were made for aioq-0.4.0-py3-none-any.whl:
Publisher:
release.yml on ykus4/aioq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioq-0.4.0-py3-none-any.whl -
Subject digest:
a5ecabfe7742b2f48bc09623f1dfdda13d3101f1e7cc7e4d0a6e31cf8adc4668 - Sigstore transparency entry: 1652858216
- Sigstore integration time:
-
Permalink:
ykus4/aioq@8659045df40c2ee6003c527e9c03a418954dd4dc -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/ykus4
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8659045df40c2ee6003c527e9c03a418954dd4dc -
Trigger Event:
push
-
Statement type: