Skip to main content

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

  1. Install dependencies:
    pip install -r requirements.txt
    
  2. Configure database settings with environment variables such as SHAQAFF_DB_HOST and SHAQAFF_DB_NAME or rely on defaults.

Usage

  1. Initialize the database and start the example process:
    python main.py
    
  2. The demo task creates a payload and processes it through a consumer.

Testing

Run the test suite:

pytest

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

shqaff-0.0.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

shqaff-0.0.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

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

Hashes for shqaff-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4f4b2faf6a69dcc0ce97b82cf72042de3abb35ce10515b65dfa9fbc3b36ffc36
MD5 9e2b9d41ca51cd237b9ca790b7c7c3ca
BLAKE2b-256 1d7b9c5bdc477ef5e02427446c960d9bc92c465e13a052f08fab49f7306df32a

See more details on using hashes here.

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

Hashes for shqaff-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a978016a59e377adae74f113c1b1ad47505e85b00696ac217782ee9f4d33a78f
MD5 36df35e6fb2752a9b298d8807793de79
BLAKE2b-256 e2d8efc155a6f40c2ecdbbef86ffe6d69c3f87e26e62dd741a9225db74c5d1a4

See more details on using hashes here.

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