django-template-oxide
A Rust implementation of Django's template engine. Add it as a TEMPLATES backend and your templates render through Rust instead of Python, with the same output, the same exceptions, and the same error messages as stock Django.
It passes 1529 of Django 6.1's own 1530 template_tests (one is skipped on case-insensitive file systems), plus a parity suite that renders every built-in filter, tag, lookup, and localization case through both engines and requires identical results.
This project was pair-built with Claude. See the docs for what that means for the code.
Install
pip install django-template-oxide
Requires Python 3.14+ and Django 6.0+. Wheels are published for Linux (x86_64 and arm64) and macOS (Apple Silicon), for both the regular and free-threaded builds of CPython 3.14. See Installing to build from source.
Use
TEMPLATES = [
{
"BACKEND": "django_template_oxide.backend.OxideTemplates",
"DIRS": [...],
"APP_DIRS": True,
"OPTIONS": {...},
},
]
Nothing else changes: render, get_template, {% extends %}, {% include %}, and custom tag libraries work as before.
Performance
Mean time per render or compile. Smaller is better.
| Workload | Oxide | django-rusty-templates | Stock Django |
|---|---|---|---|
| Full template, 50 rows | 0.044 ms | 0.381 ms | 0.805 ms |
| Date filters, 50 rows | 0.058 ms | 0.488 ms | 0.854 ms |
{% url %}, 50 rows |
0.251 ms | 0.281 ms | 0.391 ms |
| Inheritance (extends + 3 blocks) | 0.021 ms | not supported | 0.187 ms |
| Compile, 500 rows | 3.74 ms | 166.98 ms | 23.04 ms |
Measured on a MacBook Pro (Apple M5 Max, 64 GB, macOS 27.0.1). The full results, the software versions, and how to reproduce them are in Performance.
Documentation
- Installing
- Using
- Compatibility
- Custom tags and filters
- Performance
- Limitations
- Contributing
- Changelog
License
MIT. See LICENSE.
Metadata
Release files for django-template-oxide 0.1.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 | |
|---|---|---|---|
| django_template_oxide-0.1.0.tar.gz | 6.7 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| django_template_oxide-0.1.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.14 | CPython 3.14 free-threading | Linux glibc 2.17+ x86-64 | Details |
| django_template_oxide-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.14 | CPython 3.14 free-threading | Linux glibc 2.17+ ARM64 | Details |
| django_template_oxide-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 free-threading | macOS 11.0+ ARM64 | Details |
| django_template_oxide-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.17+ x86-64 | Details |
| django_template_oxide-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.17+ ARM64 | Details |
| django_template_oxide-0.1.0-cp314-cp314-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 11.0+ ARM64 | Details |
Total release size: 16.1 MB
Release files / django_template_oxide-0.1.0.tar.gz
| Download URL | django_template_oxide-0.1.0.tar.gz |
|---|---|
| Size | 6.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bd854bb18c35939edec7f578c9bb09e4a3533668390f05e0776a2e1721c3019
|
|
BLAKE2b-256 checksum How to use checksums |
769590ed1cab3a2a98c1f7504bd71d6486d677a752f239c8020f8033f1e5bcd1
|
| 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 Oct 10, 2026.
Transparency logRelease files / django_template_oxide-0.1.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | django_template_oxide-0.1.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d0eace5fc0f644b56123b4bcb26827637aa76f8a04d496aa2d43a621018d7abe
|
|
BLAKE2b-256 checksum How to use checksums |
50e6da4bd8a280886da65d2ed0fa03939a962a2db1c5d7b524a470535c1cc0ea
|
| 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 Oct 10, 2026.
Transparency logRelease files / django_template_oxide-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | django_template_oxide-0.1.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
8ccc6ac384700c94d51731024249ebe94c709f9ee4485a2d8f245a5480cb07a7
|
|
BLAKE2b-256 checksum How to use checksums |
14bf947aada5f90938e3147c4cf65d640db9679acd10a6f08685f1b4823e1233
|
| 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 Oct 10, 2026.
Transparency logRelease files / django_template_oxide-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | django_template_oxide-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4364ab7c22d095aa0f84df1bd768f2462f46fb214437f050dee359bfdc3fa012
|
|
BLAKE2b-256 checksum How to use checksums |
bed6a016473ad94cbce938eb5bdbc3a8c19ad36529bb8cb28c63529c451db004
|
| 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 Oct 10, 2026.
Transparency logRelease files / django_template_oxide-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | django_template_oxide-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5dfaea4bb554925f6ff41ec61d479c392b110e753a78ec727a9f0a44526f950f
|
|
BLAKE2b-256 checksum How to use checksums |
b8972a2bcea1b149c204b0f650042d7ae226158517027c7b7f5e214549ba86e6
|
| 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 Oct 10, 2026.
Transparency logRelease files / django_template_oxide-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | django_template_oxide-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
707f2b57fc384e2ffcb4caba229dfc66bd1347d6839366add91aebe4547275f4
|
|
BLAKE2b-256 checksum How to use checksums |
cc691603981c46b917bbc600ef472728527c273d90b3882e62c06d33eb92a684
|
| 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 Oct 10, 2026.
Transparency logRelease files / django_template_oxide-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | django_template_oxide-0.1.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6128c33a65808e9240754111b47a9a8dbdccef4382789f630c745a8381ee5657
|
|
BLAKE2b-256 checksum How to use checksums |
a5541587cf2f28fda38dccb14db5dadc219293eca1f8a1ec177f976742076f35
|
| 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 Oct 10, 2026.
Transparency log