A lightweight, PostgreSQL-backed task queue for Python
Project description
shqaff
Overview
shqaff is a minimal task queue built with Python and SQLAlchemy. It stores jobs in a PostgreSQL table and processes them with registered consumers.
Installation
- Install dependencies:
pip install -r requirements.txt
- Configure database settings with environment variables such as
SHAQAFF_DB_HOSTandSHAQAFF_DB_NAMEor rely on defaults.
Usage
- Initialize the database and start the example process:
python main.py - The demo task creates a payload and processes it through a consumer.
Testing
Run the test suite:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shqaff-0.0.1.tar.gz
(6.2 kB
view details)
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 shqaff-0.0.1.tar.gz.
File metadata
- Download URL: shqaff-0.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f4b2faf6a69dcc0ce97b82cf72042de3abb35ce10515b65dfa9fbc3b36ffc36
|
|
| MD5 |
9e2b9d41ca51cd237b9ca790b7c7c3ca
|
|
| BLAKE2b-256 |
1d7b9c5bdc477ef5e02427446c960d9bc92c465e13a052f08fab49f7306df32a
|
File details
Details for the file shqaff-0.0.1-py3-none-any.whl.
File metadata
- Download URL: shqaff-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a978016a59e377adae74f113c1b1ad47505e85b00696ac217782ee9f4d33a78f
|
|
| MD5 |
36df35e6fb2752a9b298d8807793de79
|
|
| BLAKE2b-256 |
e2d8efc155a6f40c2ecdbbef86ffe6d69c3f87e26e62dd741a9225db74c5d1a4
|