An app that provides Django admin for ARQ
Project description
ARQ Django admin
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
- Install
arq-django-admin
(or download from PyPI):
pip install arq-django-admin
- Add
arq_admin
toINSTALLED_APPS
insettings.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 yoururls.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
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
14c4989ee7b880f5acbe277845f86594df010cee2df5eef60e1a2cb13901770a
|
|
MD5 |
1fb77e2f545b8b09bcb402525da885be
|
|
BLAKE2b-256 |
f40a3cb93249bfcb736dc862a0b8dd3c370908eb2a6a20f3274df96c22e4a158
|
Provenance
The following attestation bundles were made for arq_django_admin-0.3.4.tar.gz
:
Publisher:
release.yml
on SlavaSkvortsov/arq-django-admin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
arq_django_admin-0.3.4.tar.gz
-
Subject digest:
14c4989ee7b880f5acbe277845f86594df010cee2df5eef60e1a2cb13901770a
- Sigstore transparency entry: 207800285
- Sigstore integration time:
-
Permalink:
SlavaSkvortsov/arq-django-admin@a2a83c355fad6442568d321d88395e8db83d2632
-
Branch / Tag:
refs/tags/v0.3.4
- Owner: https://github.com/SlavaSkvortsov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@a2a83c355fad6442568d321d88395e8db83d2632
-
Trigger Event:
release
-
Statement type:
File details
Details for the file arq_django_admin-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: arq_django_admin-0.3.4-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e1a2aa8e31f843bb8a673b73b3a399cfe91e9a71d71e0566a9626038f3579563
|
|
MD5 |
0facfa35535829ef5548b6ab925f95ff
|
|
BLAKE2b-256 |
f4af60078a389343275538838f85ebd2055f2d2c142c3d4a133ff2e31a0fc08a
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
arq_django_admin-0.3.4-py3-none-any.whl
-
Subject digest:
e1a2aa8e31f843bb8a673b73b3a399cfe91e9a71d71e0566a9626038f3579563
- Sigstore transparency entry: 207800287
- Sigstore integration time:
-
Permalink:
SlavaSkvortsov/arq-django-admin@a2a83c355fad6442568d321d88395e8db83d2632
-
Branch / Tag:
refs/tags/v0.3.4
- Owner: https://github.com/SlavaSkvortsov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@a2a83c355fad6442568d321d88395e8db83d2632
-
Trigger Event:
release
-
Statement type: