Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

citry-django-djc

Let citry-django read Django's syntax the way django-components does.

pip install citry-django[django-components]
from citry import Citry
from citry_django import CitryDjangoExtension
from citry_django_djc import tokenize

app = Citry(extensions=[CitryDjangoExtension(tokenizer=tokenize)])

Django's own lexer ends a tag at the first %}, even one inside a quoted argument. django-components replaces the tokenizer so a tag can carry template source as data:

{% component "code_block" code="{% if user %}Hi{% endif %}" %}{% endcomponent %}

citry-django claims byte ranges with whichever tokenizer it was given. Hand it this one and the two agree; without it they disagree on where that tag ends, and you get an error.

Metadata

Release files for citry-django-djc 0.4.0a1

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-djc 0.4.0a1
File Size Uploaded Provenance Actions
citry_django_djc-0.4.0a1.tar.gz 2.4 kB With provenance Details for citry_django_djc-0.4.0a1.tar.gz

Built distribution (wheel)

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

Total release size: 5.5 kB

Release files / citry_django_djc-0.4.0a1.tar.gz

Download URL citry_django_djc-0.4.0a1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7a83337c974c4b7779f17f7fbfd3d867272f1573ef8116b285eb4f195d31a5f4
BLAKE2b-256 checksum
How to use checksums
e3b70d5a943860f3118d4cf44ebf49e1428a502197bb9376274e8eeceb29312a
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 20, 2026.

Transparency log

Release files / citry_django_djc-0.4.0a1-py3-none-any.whl

Download URL citry_django_djc-0.4.0a1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77c7175b283e3d1b8085fd1a1d06e1a9d6568b2b43efe61a4730cc13820c98e2
BLAKE2b-256 checksum
How to use checksums
dc999fcc174da93b1f5f8cb3c79610060722a1bc6c7c38a5ef13d89d70a645ad
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 20, 2026.

Transparency log

Security for citry-django-djc 0.4.0a1

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_djc-0.4.0a1.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 20, 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