Skip to main content

DJP: Django Plugins

PyPI Tests Changelog License

A plugin system for Django

Visit djp.readthedocs.io for full documentation, including how to install plugins and how to write new plugins.

See DJP: A plugin system for Django for an introduction to this project.

Installation

Install this library using pip:

pip install djp

Configuration

Add this to the end of your settings.py file:

import djp

# ... existing settings.py contents

djp.settings(globals())

Then add this to your URL configuration in urls.py:

urlpatterns = [
    # ...
] + djp.urlpatterns()

Usage

Installing a plugin in the same environment as your Django application should cause that plugin to automatically add the necessary

Development

To contribute to this library, first checkout the code. Then create a new virtual environment:

cd djp
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

python -m pip install -e '.[test]'

To run the tests:

python -m pytest

Metadata

Release files for djp 0.3.1

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

Source distribution (sdist)

Source distribution for djp 0.3.1
File Size Uploaded Provenance Actions
djp-0.3.1.tar.gz 8.7 kB Without provenance Details for djp-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for djp 0.3.1
File Interpreter ABI Platform Actions
djp-0.3.1-py3-none-any.whl Python 3 none any Details for djp-0.3.1-py3-none-any.whl

Total release size: 17.5 kB

Release files / djp-0.3.1.tar.gz

Download URL djp-0.3.1.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7d447c2f42282ec7628567e4ece5090ef37095b87e0853ebe8f0b876a1143e83
BLAKE2b-256 checksum
How to use checksums
835895fdfa5c5d9b7c64a96599b9f5fbfa34c254c28961ddd93491cf4e550b22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / djp-0.3.1-py3-none-any.whl

Download URL djp-0.3.1-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd2490907d503fef0f1a729d00268fbcb7c11c77b33b9a46b6d13cc7cb5dc389
BLAKE2b-256 checksum
How to use checksums
60730dc7d0c372ed366ecb8b7dd760525c90f53e0e2f40f8e944cd810d017a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Security for djp 0.3.1

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