pyramid-jinja2
Jinja2 template bindings for the Pyramid web framework
What it is and what it does
pyramid-jinja2 bridges the Jinja2 templating system and the Pyramid web framework. It registers Jinja2 as a template renderer in Pyramid, letting you write application templates in Jinja2 syntax and have Pyramid automatically render them. The package handles template discovery, search path configuration, context passing, and integration with Pyramid's configuration system.
The package is mature (Development Status 6) and actively maintained. It supports modern Python versions (3.7 through 3.12) and has been in development since 2010. You configure it by including it in your Pyramid Configurator, then use Pyramid's standard rendering APIs with .jinja2 template files. It manages multiple renderers, custom search paths, extensions, and Jinja2-specific settings like finalization functions and i18n configuration.
Use it for:
- Render HTML templates in a Pyramid web application using Jinja2 syntax and features.
- Configure multiple Jinja2 renderers with different settings and extensions for different parts of an application.
- Set up custom template search paths and override template loading behavior in Pyramid projects.
- Integrate Jinja2 i18n (internationalization) and gettext functions into Pyramid template rendering.
- Use Jinja2 filters and extensions (like custom context filters) within Pyramid's template rendering pipeline.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates the Jinja2 templating engine with the Pyramid web framework, allowing you to use Jinja2 templates as renderers in Pyramid applications.
Yes. This is a mature, actively maintained integration package with no known vulnerabilities, low install friction, and permissive licensing. Install it if you are building a Pyramid application and want to use Jinja2 templates—it is the standard way to do so. The only caveat is that it requires Python 3.7+ and assumes you are already using Pyramid as your web framework.
Install
pyramid-jinja2 on PyPI
pip
pip install pyramid-jinja2uv
uv add pyramid-jinja2poetry
poetry add pyramid-jinja2Installing pyramid-jinja2
Before you install
Low friction install with a stable, actively maintained codebase. The package has 4 runtime dependencies (jinja2, markupsafe, pyramid, zope.deprecation) and is distributed as a pure Python wheel. Last commit was recent (2026-08-02) and the repository is not archived.
License in practice
Licensed under a BSD-derived Repoze license (permissive), which allows commercial and private use with minimal restrictions. No SPDX identifier is assigned, but the permissive treatment means you can use this in most projects without legal friction.
Quickstart
pip install pyramid-jinja2
from pyramid.config import Configurator
config = Configurator()
config.include('pyramid_jinja2')
config.add_route('hello', '/')
config.scan()
Requires Python 3.7 or later. Pyramid must be installed and configured as the web framework.
Verify before relying
- Whether the package supports Jinja2 versions beyond 3.0 or has upper-bound constraints.
- Performance characteristics when rendering large numbers of templates or complex template hierarchies.
- Whether all Jinja2 extensions are automatically available or require explicit configuration.
Package facts
| License | BSD-derived (Repoze) (permissive) |
| Python support | supports the current Python release (>=3.7.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — jinja2, markupsafe, pyramid, zope.deprecation |
| Maintenance | actively maintained — 918 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,978,679/month — #3,388 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyramid_jinja2-2.10.1-py3-none-any.whl
Keywords: web, wsgi, pylons, pyramid, jinja2
Tags
More Dynamic Content packages
MarkupSafe provides a text object that escapes…
permissive · top 100 on PyPI
Jinja2Jinja2 is a templating engine that renders…
permissive · top 100 on PyPI
soupsieveSoupsieve is a CSS selector library designed to…
permissive · top 100 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
MakoMako compiles Python-embedded templates into…
permissive · top 1,000 on PyPI
pyramidPyramid is a Python web framework for building…
permissive · top 5,000 on PyPI
pyramid-makoIntegrates the Mako templating engine with the…
permissive · top 5,000 on PyPI
aiohttp-jinja2Integrates Jinja2 template rendering into…
permissive · top 5,000 on PyPI
pyramid-tmIntegrates Pyramid web requests with the…
permissive · top 15,000 on PyPI
corniceCornice provides decorators and utilities to…
copyleft · top 15,000 on PyPI
pyramid-debugtoolbarPyramid_debugtoolbar injects an interactive…
permissive · top 5,000 on PyPI
django-jinjaIntegrates Jinja2 templating into Django,…
permissive · top 15,000 on PyPI
sphinx-jinja2-compatPatches Jinja2 v3 to restore compatibility with…
permissive · top 15,000 on PyPI
jinja_partialsAdds a `render_partial()` function to Jinja2…
permissive · top 5,000 on PyPI