Skip to main content

Inspect Tasks in your Django App

PyPI Version PyPI License PyPI Status Gitea Stars

Instalation

Install using pip or uv (or your favorite tool)

uv add django-inspect-tasks

Then add to your projects settings.py under INSTALLED_APPS

INSTALLED_APPS = [
    "myapp",
    # Third Party
    "crontask",
    "django_inspect_tasks",
    # Default Django
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.messages",
    "django.contrib.staticfiles",
]

Adds a tasks subcommand to your app

Optionally, there is also a simple tasks view you can add to trigger tasks manually from the browser

# from your urls.py
urlpatterns = [
    path("", include("django_inspect_tasks.views")),
]

Usage

Running just tasks will list all available tasks

python manage.py tasks
crontask.tasks.heartbeat cron[month='*', day='*', day_of_week='*', hour='*', minute='*']
myapp.tasks.example_regular_task
myapp.tasks.example_scheduled_task interval[0:01:00]

With the task name, you can manually run the task.

# Test running our scheduled task now
python manage.py tasks myapp.tasks.example_scheduled_task

optionally, arguments can also be passed to your app as keyword arguments.

# Test running our scheduled task now
myapp.tasks.example_regular_task one=aaa two=bbb

Metadata

Release files for django-inspect-tasks 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-inspect-tasks 0.9.0
File Size Uploaded Provenance Actions
django_inspect_tasks-0.9.0.tar.gz 5.2 kB Without provenance Details for django_inspect_tasks-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-inspect-tasks 0.9.0
File Interpreter ABI Platform Actions
django_inspect_tasks-0.9.0-py3-none-any.whl Python 3 none any Details for django_inspect_tasks-0.9.0-py3-none-any.whl

Total release size: 12.0 kB

Release files / django_inspect_tasks-0.9.0.tar.gz

Download URL django_inspect_tasks-0.9.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
628e521f9f35f6b676df0b0b73ba8a888a7416babf89ab9a92775daf8be8dc73
BLAKE2b-256 checksum
How to use checksums
686e279d2c002bdcedfba6963b2ab4e88581fefb4c7d7a0fb5f886a026acd3e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / django_inspect_tasks-0.9.0-py3-none-any.whl

Download URL django_inspect_tasks-0.9.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3340eb20637a0af973d0e353ec6d191352e50b56e47416e9f45a59f95622efe
BLAKE2b-256 checksum
How to use checksums
fc7ae37b3e95fc755374683ef96dbcbca95bf076ccf13d615aa25c8061f2d85a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for django-inspect-tasks 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page