Skip to main content

citry-django

Citry and Django's template engines, composed.

from citry import Citry
from citry_django import CitryDjangoExtension

app = Citry(extensions=[CitryDjangoExtension()])
# settings.py
TEMPLATES = [{"BACKEND": "citry_django.backend.CitryTemplates", "APP_DIRS": True, ...}]
CITRY_APP = "myproject.app:app"

Any {% tag %} you can {% load %} in Django then works inside a Citry component, and Citry components work in your existing Django templates. Neither syntax changes, and the adapter names no tag: each engine's own parser decides what belongs to it.

See the repository README for the full picture, the limits, and how it works.

Optional extras

pip install citry-django[compressor]

Routes each component's CSS and JS through django-compressor, so assets are preprocessed (SCSS, Less, ...) and minified. See citry-django-compressor.

Metadata

Release files for citry-django 0.4.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 citry-django 0.4.0
File Size Uploaded Provenance Actions
citry_django-0.4.0.tar.gz 56.2 kB With provenance Details for citry_django-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for citry-django 0.4.0
File Interpreter ABI Platform Actions
citry_django-0.4.0-py3-none-any.whl Python 3 none any Details for citry_django-0.4.0-py3-none-any.whl

Total release size: 124.4 kB

Release files / citry_django-0.4.0.tar.gz

Download URL citry_django-0.4.0.tar.gz
Size 56.2 kB
Tags Source
SHA-256 checksum
How to use checksums
26f770843679ddd12cecaa387ccbc60e0c0fe17f1834010d33b8a94650ad4e31
BLAKE2b-256 checksum
How to use checksums
1de2716d2b9955b57d1d2ffc2f2671ba358bd190818a5e7f6ad7e75456be6aee
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 24, 2026.

Transparency log

Release files / citry_django-0.4.0-py3-none-any.whl

Download URL citry_django-0.4.0-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f70c58b7be5c36ae1eda99f4a9b635113067441e5f83967b2bd7393863b4cb8
BLAKE2b-256 checksum
How to use checksums
a78d874c87a151435f349c39cdc9a703cc8b442fc0e268cd694e979d35a9dbd8
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 24, 2026.

Transparency log

Security for citry-django 0.4.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 citry_django-0.4.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 24, 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