Skip to main content

Python Tests

Publish Python 🐍 distribution 📦 to PyPI

Django Integrations

Tools for defining, storing, validating, and managing multi-site integrations - API keys, tokens, and their non-secret configuration - without duplicating each provider's schema across models, forms, an API, and an admin.

An Integration subclass is the single, canonical description of a provider. Everything else - encrypted secret storage, tenant-scoped retrieval, a generated edit form, JSON API metadata, secure partial updates - is derived from it:

from integrations import Integration, register
from integrations.fields import SecretField, TextField

@register
class ZoomIntegration(Integration):
    slug = "zoom"
    name = "Zoom"
    fields = [
        TextField("account_id", label="Account ID", required=True),
        SecretField("api_key", label="API Key", required=True),
    ]

No stored secret is ever returned by any interface once saved.

Installation

pip install django-integrations
INSTALLED_APPS = [
    ...,
    "django.contrib.sites",
    "integrations",
]

SITE_ID = 1
ENCRYPTED_FIELD_KEYS = ["..."]  # see docs/encryption.md - required

Full documentation, including the required settings, the JSON API, the built-in HTML UI, and connection testing, is in docs/.

For developers

pip install -e ".[dev,test]"
pytest --cov=integrations tests

develop/ is a complete, runnable Django project demonstrating the package (see docs/installation.md for how to run it) - its example integrations live in develop/core/integrations.py.

See AGENTS.md and plans/ for the architecture and the project's own development plan.

Metadata

Release files for django-integrations 2.0.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-integrations 2.0.0
File Size Uploaded Provenance Actions
django_integrations-2.0.0.tar.gz 44.9 kB With provenance Details for django_integrations-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-integrations 2.0.0
File Interpreter ABI Platform Actions
django_integrations-2.0.0-py3-none-any.whl Python 3 none any Details for django_integrations-2.0.0-py3-none-any.whl

Total release size: 83.6 kB

Release files / django_integrations-2.0.0.tar.gz

Download URL django_integrations-2.0.0.tar.gz
Size 44.9 kB
Tags Source
SHA-256 checksum
How to use checksums
68e22668538ed5db2671b7abf837aa558c2b67b8b0141a62d8e04995afd89dc5
BLAKE2b-256 checksum
How to use checksums
9c8924717d04a577b7113d8bb250fb6cc9eeaecead424da68819ac1d27bad270
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / django_integrations-2.0.0-py3-none-any.whl

Download URL django_integrations-2.0.0-py3-none-any.whl
Size 38.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c81e670a72208906633821e66154262df11b5a5d4c5c2afb2472bc81744f66b
BLAKE2b-256 checksum
How to use checksums
74bc329c19edf7f70820fe952aaf0438c20119693951d4bbb3a460ad36379d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for django-integrations 2.0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_integrations-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

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