Skip to main content

jinja2-async

jinja2-async is a small wrapper around Jinja2 that provides async-aware loaders and an async-first environment API.

Install

python -m pip install jinja2-async

Basic usage

import asyncio

from jinja2_async import AsyncEnvironment, FileSystemLoader


async def main() -> None:
    env = AsyncEnvironment(loader=FileSystemLoader("templates"))

    # AsyncEnvironment intentionally aliases `get_template` to an async method,
    # so it returns an awaitable.
    tmpl = await env.get_template("hello.html")
    rendered = await tmpl.render_async(name="World")
    print(rendered)


asyncio.run(main())

Documentation

The docs are plain Markdown under docs/:

  • docs/index.md
  • docs/quickstart.md
  • docs/api.md

Changelog

See CHANGELOG.md.

Metadata

Release files for jinja2-async 2026.1.30

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-async 2026.1.30
File Size Uploaded Provenance Actions
jinja2_async-2026.1.30.tar.gz 9.0 kB Without provenance Details for jinja2_async-2026.1.30.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jinja2-async 2026.1.30
File Interpreter ABI Platform Actions
jinja2_async-2026.1.30-py3-none-any.whl Python 3 none any Details for jinja2_async-2026.1.30-py3-none-any.whl

Total release size: 20.2 kB

Release files / jinja2_async-2026.1.30.tar.gz

Download URL jinja2_async-2026.1.30.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e02bb5fbf2053f485d05f6ab80d58350ee998c754ded29a331f59c9b40187771
BLAKE2b-256 checksum
How to use checksums
6114765aa93dcd62c4815807a2a75a9558221d6d7eaa6c1d646042aa1f5dbe9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / jinja2_async-2026.1.30-py3-none-any.whl

Download URL jinja2_async-2026.1.30-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69debf674c9f01bb33324a2615052236530405fbc1d017f1f8f32decf1949b84
BLAKE2b-256 checksum
How to use checksums
287aa02414063c87a21e6918740a78ae0dc67fb337926bd4257503103ab60489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for jinja2-async 2026.1.30

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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