Skip to main content

Django redis Push Pull models and management commands

Project description

Installation

$ pip install django-command-queue

settings.py

INSTALLED_APPS+=['django_command_queue']

migrate

$ python manage.py migrate

Features

  • mutiple workers
    • custom settings
    • worker status
  • command calls log
  • exceptions logging

Models

model db_table fields/columns
Queue django id,worker,name
Worker redis_push id,worker,restart_interval,sleep_interval
WorkerException redis_push id,worker,exc_class,exc_message,exc_traceback,created_at
WorkerStatus redis_push id,worker_id,started_at,updated_at

Management commands

name description
command_queue_worker queue worker

Examples

$ python manage.py command_queue_worker "name"

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

django_command_queue-0.0.0.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file django_command_queue-0.0.0.tar.gz.

File metadata

  • Download URL: django_command_queue-0.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for django_command_queue-0.0.0.tar.gz
Algorithm Hash digest
SHA256 0d654eee7df9d6b7ae41c4a834ca6552d95673b98a89f7a7f182a099893c4d25
MD5 664b1d783802caa5d631e85653b225f6
BLAKE2b-256 41153180355291eb9792655d3d9a3385cf9840a960bde2b0c3d207710f22d948

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