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.2.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 citry-django 0.2.1
File Size Uploaded
citry_django-0.2.1.tar.gz 19.4 kB Details

Built distribution (wheel)

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

Total release size: 44.0 kB

Release files / citry_django-0.2.1.tar.gz

Download URL citry_django-0.2.1.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
acdab8dc66c8c19a030a182fdaafdd2e1145436fc12e3e236770719f8d0a8b83
BLAKE2b-256 checksum
How to use checksums
ce179e9ff301362b3cfb9b02455242ae3b72c3b83befb13fe546c0887aca3c59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 11, 2026.

Transparency log

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

Download URL citry_django-0.2.1-py3-none-any.whl
Size 24.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a387c0ce1aaa1e3d35a21782cfcf4f034440a26926edb8f8e8e4eabd601baed
BLAKE2b-256 checksum
How to use checksums
aa988c56eeea5f6f0eb257c77f055bc8c51e8420b3546afdaf56cd16f12e20bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 11, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.0

2 release files

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

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