sphinx-jinja-variants
Render Sphinx compositions with temporary Jinja bindings and a prepared RST source.
$ pip install sphinx-jinja-variants
Use render_source_variant from a custom Sphinx directive. It inherits the selected context’s existing values, prepares the source once for standard include-section directives, runs your rendering callback, and restores the original bindings. Your code chooses variants, content preparation, validation, and presentation.
See the Python API and the platform example. To contribute, see the contributor guide.
Metadata
Release files for sphinx-jinja-variants 2026.11.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinx_jinja_variants-2026.11.2.tar.gz | 150.3 kB | With provenance | Details for sphinx_jinja_variants-2026.11.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinx_jinja_variants-2026.11.2-py3-none-any.whl | Python 3 | none | any | Details for sphinx_jinja_variants-2026.11.2-py3-none-any.whl |
Total release size: 154.6 kB
Release files / sphinx_jinja_variants-2026.11.2.tar.gz
| Download URL | sphinx_jinja_variants-2026.11.2.tar.gz |
|---|---|
| Size | 150.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8895722eea11011d8b1d020b50fc75237fc88fd2ee6338f56040dfa39cc00b4
|
|
BLAKE2b-256 checksum How to use checksums |
a0ef3ec5aca3ba0ce98bcefd33872b78e27898dd1250be5c4cc17f819d31c511
|
| 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 2, 2026.
Transparency logRelease files / sphinx_jinja_variants-2026.11.2-py3-none-any.whl
| Download URL | sphinx_jinja_variants-2026.11.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bae9d7a6dd7002f59b8d767675964aa7cba666256bbee9c6d521084cc3a88e12
|
|
BLAKE2b-256 checksum How to use checksums |
660fea1e5035970d1cce5fd582b8f7862e80f12041f002aa4365e725adedc5d9
|
| 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 2, 2026.
Transparency logSecurity for sphinx-jinja-variants 2026.11.2
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for sphinx_jinja_variants-2026.11.2.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 2, 2026.
Transparency logA 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.