skillfed

pyramid-mako

Mako template bindings for the Pyramid web framework

pyramid-mako v1.1.0 2.0M downloads/30d#3,368 on PyPI23
Permissive license BSD-derived (http://www.repoze.org/LICENSE.txt) Active released

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-mako

uv

uv add pyramid-mako

poetry

poetry add pyramid-mako

Installing 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

Development Status :: 6 - MatureFramework :: PyramidIntended Audience :: DevelopersLicense :: Repoze Public LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

pyramid mako templatesmako template renderer pyramidpyramid web framework templatingserver-side template renderingpyramid template engine
pyramid-integrationtemplate-rendering

More Dynamic Content packages