Skip to main content

jinja2-eval

CI Status Documentation Status

Test coverage percentage uv Ruff prek

PyPI Version Supported Python versions License


Documentation: https://jinja2-eval.readthedocs.io

Source Code: https://github.com/34j/jinja2-eval


Jinja2 Extension for getting eval() result.

Installation

Install this via pip (or your favourite package manager):

pip install jinja2-eval

Usage

Basic usage:

{% eval "1 + 1" %}
{{ "1 + 1" | eval }}
2
2

Importing modules:

{% eval "exec('import math') or math.pi" %}
{{ "exec('import math') or math.pi" | eval }}
3.141592653589793
3.141592653589793

Metadata

Release files for jinja2-eval 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jinja2-eval 1.0.0
File Size Uploaded Provenance Actions
jinja2_eval-1.0.0.tar.gz 6.4 kB With provenance Details for jinja2_eval-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jinja2-eval 1.0.0
File Interpreter ABI Platform Actions
jinja2_eval-1.0.0-py3-none-any.whl Python 3 none any Details for jinja2_eval-1.0.0-py3-none-any.whl

Total release size: 12.6 kB

Release files / jinja2_eval-1.0.0.tar.gz

Download URL jinja2_eval-1.0.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5952d3f3fe0243ce36a36e3e7e4d5131e5a6e857e9316aea9c13d2b9395a9f83
BLAKE2b-256 checksum
How to use checksums
714b7b15feef31a9843e5aa18ce911f0d24e95322a9319957289d4a5252f7585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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

Transparency log

Release files / jinja2_eval-1.0.0-py3-none-any.whl

Download URL jinja2_eval-1.0.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0b8716965bbfb9585fdefb320c35eaa6c821b188195d458b08e590859349933
BLAKE2b-256 checksum
How to use checksums
9d5f02e859bebdfbd43fff703c126794f4137dbff245a6f48e76730bb6dec7f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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

Transparency log

Security for jinja2-eval 1.0.0

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 jinja2_eval-1.0.0.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 7, 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