Skip to main content

A Django app for Periodiq.

Project description

django_periodiq

django_periodiq is a Django app that integrates with Periodiq.

Requirements

Installation

pip install django-periodiq

Add django_periodiq to installed apps before any of your custom apps and after django_dramatiq:

INSTALLED_APPS = [
    "django_dramatiq",
    "django_periodiq",
    "myprojectapp1",
    "myprojectapp2",
    # etc...
]

Add periodiq.PeriodiqMiddleware to DRAMATIQ_BROKER middlewares:

DRAMATIQ_BROKER = {
    "MIDDLEWARE": [
            ...
        "periodiq.PeriodiqMiddleware",
    ],
}

To change PeriodiqMiddleware.skip_delay add PERIODIQ_SKIP_DELAY settings

Run dramatiq:

python manage.py rundramatiq

Run periodiq:

python manage.py runperiodiq

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_periodiq-0.3.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

django_periodiq-0.3.0-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_periodiq-0.3.0.tar.gz.

File metadata

  • Download URL: django_periodiq-0.3.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for django_periodiq-0.3.0.tar.gz
Algorithm Hash digest
SHA256 30304e96846549cae468e53dcf788e078dc742b3619a3dc556f533b9cad49fee
MD5 edcddac952483dfc64482bee8d2da631
BLAKE2b-256 879b593e10702be6ad36e49b36042b62f8d68df1cafaa32b418e31f696020050

See more details on using hashes here.

File details

Details for the file django_periodiq-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_periodiq-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f16402767afa664b11ffbe0add544415e104e6390e9ad01151a5ceaaaed49cc1
MD5 3e5e7839f5b52907e0a79612be82f2c4
BLAKE2b-256 623ef42b5fe39feabd9622429c55aebcc3893dd28d11aa32aee37fe3760e567a

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