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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| citry_django-0.3.0.tar.gz | 27.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| citry_django-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.7 kB
Release files / citry_django-0.3.0.tar.gz
| Download URL | citry_django-0.3.0.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e0401d16066900db7cb2d980ef0fe3ab170240b962fdc5c6c73eabda48303b0
|
|
BLAKE2b-256 checksum How to use checksums |
9435590c3680fbfa0015b3a179948da4b35779575155bf60a3f36d84b3185db9
|
| 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 17, 2026.
Transparency logRelease files / citry_django-0.3.0-py3-none-any.whl
| Download URL | citry_django-0.3.0-py3-none-any.whl |
|---|---|
| Size | 36.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b34341a83c9f1af7b368e681764423b5538d5a914f9ad9cf7dc7d9898c7bf5c
|
|
BLAKE2b-256 checksum How to use checksums |
3457c83702d782cebd5cbf4be3c35cdc9fbd5222ff3bdd487a85d59d045a464b
|
| 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 17, 2026.
Transparency log