$npx skillfedfor your agent

pyramid-tm

A package which allows Pyramid requests to join the active transaction

Worth itPyPI Application FrameworksReleased Nov 2024437.9K downloads / moBSD-derived (Repoze)Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyramid_tm-2.6-py3-none-any.whl
v2.6 · released 2024-11-14 · Python >=3.9 · 2 runtime deps: pyramid, transaction

Yes. pyramid_tm is a mature, actively maintained package (last release November 2024) with no known vulnerabilities, low install friction, and a permissive license. It solves a common problem in Pyramid applications—declarative transaction management per request—cleanly and with minimal configuration. Install it if you are building a Pyramid web application that uses a database.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; pyramid_tm must be included in the Configurator to activate transaction management for requests.
  • Low friction install with only two runtime dependencies (pyramid and transaction).
  • Actively maintained with recent releases supporting Python 3.9–3.13; last commit in 2026.

License · maintenance · safety

BSD-derived (Repoze) (permissive) — Licensed under a permissive BSD-derived (Repoze) license, allowing commercial and private use without restriction.

last release 2024-11-14 (638 days) · last repo commit 2026-08-02 · 36 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 437,936 downloads/mo, #6,662 on PyPI

Verify before relying

pip install pyramid-tm

from pyramid.config import Configurator
config = Configurator()
config.include('pyramid_tm')
app = config.make_wsgi_app()
  • Whether pyramid_retry is required or optional for retry behavior after version 2.0.
  • Performance impact of transaction annotation when tm.annotate_user is enabled.
  • Compatibility details with specific versions of pyramid and transaction beyond the stated support range.
Same gist for agents: .md · .json

What it is and what it does

pyramid_tm is a Pyramid web framework extension that automatically binds each HTTP request to a transaction managed by the transaction package. When you include it in your Pyramid application, every request gets its own transaction context that commits on success or aborts on exception, eliminating manual transaction boilerplate in request handlers.

The package runs as a Pyramid tween (middleware layer) positioned to wrap exception views, meaning the transaction remains active even when handling errors. It supports customization through hooks like commit_veto to override commit/abort decisions, and tm.annotate_user to track authenticated users in transaction logs. It integrates with pyramid_retry for automatic transaction retry on transient errors.

Use it for

  • Automatically commit database changes at the end of a successful HTTP request without explicit transaction calls in view code.
  • Abort database transactions when an exception occurs, rolling back partial changes and returning an error response.
  • Track which user performed a transaction by annotating the transaction log with authenticated user identity.
  • Implement custom commit/abort logic via commit_veto hooks to decide whether to persist changes based on response status or headers.
  • Coordinate multi-step database operations across a single request lifecycle with automatic rollback on failure.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

pyramid_tm is a mature, actively maintained package (last release November 2024) with no known vulnerabilities, low install friction, and a permissive license. It solves a common problem in Pyramid applications—declarative transaction management per request—cleanly and with minimal configuration. Install it if you are building a Pyramid web application that uses a database.

Install

pyramid-tm on PyPI

Before you install

Low friction install with only two runtime dependencies (pyramid and transaction). Actively maintained with recent releases supporting Python 3.9–3.13; last commit in 2026.

Requires Python 3.9 or later; pyramid_tm must be included in the Configurator to activate transaction management for requests.

License in practice

Licensed under a permissive BSD-derived (Repoze) license, allowing commercial and private use without restriction.

Quickstart

pip install pyramid-tm

from pyramid.config import Configurator
config = Configurator()
config.include('pyramid_tm')
app = config.make_wsgi_app()

Verify before relying

  • Whether pyramid_retry is required or optional for retry behavior after version 2.0.
  • Performance impact of transaction annotation when tm.annotate_user is enabled.
  • Compatibility details with specific versions of pyramid and transaction beyond the stated support range.

Package facts

LicenseBSD-derived (Repoze) permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pyramidtransaction
MaintenanceActively maintained 638 days since the last release
Last repo commit
First released
Downloads437,936 / month, #6,662 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 6 - MatureFramework :: PyramidIntended Audience :: DevelopersLicense :: Repoze Public LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: pyramid_tm-2.6-py3-none-any.whl

Tags

Capabilities
pyramid transaction managementwsgi request transaction handlingpyramid database transaction integrationautomatic transaction commit abortpyramid request lifecycle transactionstransaction manager pyramid tweendeclarative transaction control
Topics
pyramid-integrationtransaction-managementwsgi-middleware
PyPI keywords
wsgipylonspyramidtransaction

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pyramid transaction management”

  • pyramid-tmIntegrates Pyramid web requests with the transaction package to…
  • zope.sqlalchemyIntegrates SQLAlchemy sessions with Zope's transaction manager,…
  • pyramid-debugtoolbarPyramid_debugtoolbar injects an interactive HTML debug toolbar into…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also pyramid-retry · transaction · pyramid · zope.sqlalchemy · pyramid-debugtoolbar · pyramid-jinja2 · repoze-sendmail · pyramid-mako · paytmchecksum · eth-account