pyramid-mako
Mako template bindings for the Pyramid web framework
What it is and what it does
pyramid_mako is a bridge between the Pyramid web framework and the Mako templating system. It registers Mako as a template renderer within Pyramid's configuration system, allowing developers to write server-side templates using Mako's syntax and features. The package handles template lookup, caching, and integration with Pyramid's settings and configuration directives.
When you include pyramid_mako in a Pyramid application, it becomes possible to render templates by name from your view functions, with support for caller-relative template lookup, preprocessor hooks, and configuration options like reload_templates and future_imports. The binding is lightweight and relies on two runtime dependencies: pyramid and Mako.
Use it for:
- Render HTML templates in a Pyramid web application using Mako's template syntax and features.
- Configure template search paths and rendering options through Pyramid's declarative configuration system.
- Add custom Mako renderers for different file extensions using the add_mako_renderer directive.
- Enable template reloading during development and preprocessor hooks for template customization.
- Integrate Mako templating into existing Pyramid projects that need server-side rendering.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates the Mako templating engine with the Pyramid web framework, enabling server-side template rendering for dynamic web content.
Yes, if you are building a Pyramid application and prefer Mako as your templating engine. The package is stable, permissively licensed, has low install friction, and remains actively maintained. The 2019 release reflects maturity rather than abandonment; recent commits confirm ongoing support. Install only if Pyramid and Mako fit your project's architecture.
Install
pyramid-mako on PyPI
pip
pip install pyramid-makouv
uv add pyramid-makopoetry
poetry add pyramid-makoInstalling pyramid-mako
Before you install
Low friction install with a pure-wheel distribution. Maintenance status is active with recent commits, though the last release was in 2019; the package remains functional for its stated purpose.
License in practice
Licensed under a BSD-derived permissive license (Repoze Public License), allowing commercial and private use with minimal restrictions.
Quickstart
pip install pyramid-mako
from pyramid.config import Configurator
config = Configurator()
config.include('pyramid_mako')
config.add_route('hello', '/')
config.scan()
Requires Pyramid and Mako to be installed; Mako >= 1.1.0 is required as of version 1.1.0.
Verify before relying
- Whether the 2019 release date reflects actual maintenance gaps or stable maturity for the Pyramid ecosystem.
- Python version support beyond 3.7 (classifiers list 3.7 as the latest, but current Pyramid may support newer versions).
Package facts
| License | BSD-derived (http://www.repoze.org/LICENSE.txt) (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — pyramid, Mako |
| Maintenance | actively maintained — 2,553 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,005,077/month — #3,368 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyramid_mako-1.1.0-py2.py3-none-any.whl
Keywords: web, wsgi, pyramid
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
PlimPlim translates a concise Ruby-inspired…
permissive · top 15,000 on PyPI
pyramid-jinja2Integrates the Jinja2 templating engine with…
permissive · top 5,000 on PyPI
pyramidPyramid is a Python web framework for building…
permissive · top 5,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
aiohttp-jinja2Integrates Jinja2 template rendering into…
permissive · top 5,000 on PyPI
pystachePystache renders Mustache templates—a…
permissive · top 5,000 on PyPI
chevronChevron renders Mustache templates in Python,…
permissive · top 5,000 on PyPI
zope.pagetemplatezope.pagetemplate provides a templating system…
unclear · top 15,000 on PyPI