Skip to main content

An app that provides Django admin for ARQ

Project description

ARQ Django admin

codecov pypi versions

Django admin dashboard for arq. ARQ Django admin is a simple app that allows you to configure your queues in django's settings.py and show them in your admin dashboard.

Installation

pip install arq-django-admin
  • Add arq_admin to INSTALLED_APPS in settings.py:
INSTALLED_APPS = (
    'arq_admin',
    # other apps
)

Make sure you added it before django.contrib.admin, otherwise you won't be able to see a link in the top right corner.

  • Configure your queues in Django's settings.py:
from arq.connections import RedisSettings
from arq.constants import default_queue_name


ARQ_QUEUES = {
    default_queue_name: RedisSettings(
        host='localhost',
        port=6379,
        database=0,
    ),
    'arq:another_queue_name': RedisSettings(),
}
  • Include arq_admin.urls in your urls.py:
from django.urls import include, path


urlpatterns = [
    # <...>
    path('arq/', include('arq_admin.urls')),
]
  • If you use custom job serializer, you need to add deserializer to settings.py:
ARQ_DESERIALIZER_BY_QUEUE = {
    'arq:another_queue_name': custom_job_deserializer,
}
  • You can change timeout for job aborting:
ARQ_JOB_ABORT_TIMEOUT = 10

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

arq_django_admin-0.3.4.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

arq_django_admin-0.3.4-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file arq_django_admin-0.3.4.tar.gz.

File metadata

  • Download URL: arq_django_admin-0.3.4.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for arq_django_admin-0.3.4.tar.gz
Algorithm Hash digest
SHA256 14c4989ee7b880f5acbe277845f86594df010cee2df5eef60e1a2cb13901770a
MD5 1fb77e2f545b8b09bcb402525da885be
BLAKE2b-256 f40a3cb93249bfcb736dc862a0b8dd3c370908eb2a6a20f3274df96c22e4a158

See more details on using hashes here.

Provenance

The following attestation bundles were made for arq_django_admin-0.3.4.tar.gz:

Publisher: release.yml on SlavaSkvortsov/arq-django-admin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arq_django_admin-0.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for arq_django_admin-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e1a2aa8e31f843bb8a673b73b3a399cfe91e9a71d71e0566a9626038f3579563
MD5 0facfa35535829ef5548b6ab925f95ff
BLAKE2b-256 f4af60078a389343275538838f85ebd2055f2d2c142c3d4a133ff2e31a0fc08a

See more details on using hashes here.

Provenance

The following attestation bundles were made for arq_django_admin-0.3.4-py3-none-any.whl:

Publisher: release.yml on SlavaSkvortsov/arq-django-admin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page