pyramid-retry
An execution policy for Pyramid that supports retrying requests after certain failure exceptions.
Decision gist · record as of 2026-08-14
Yes, if you are building a Pyramid application and need automatic retry logic for transient failures. The package is stable (Production/Stable status), has low install friction, and is actively maintained. However, note that the last release was in 2020; verify compatibility with your Pyramid version before adopting.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Pyramid framework to be installed and configured; pyramid_retry is an execution policy that integrates into Pyramid's request handling pipeline.
- Low install friction: pure Python wheel with only two runtime dependencies (pyramid and zope.interface).
- Maintenance status is active with recent commits, though the last release was in 2020.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive): you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2020-03-21 (2337 days) · last repo commit 2026-08-02 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,095 downloads/mo, #14,382 on PyPI
Alternatives
Verify before relying
pip install pyramid-retry
from pyramid.config import Configurator
config = Configurator()
config.include('pyramid_retry')- Whether the package supports Python versions beyond 3.7 (classifiers list 3.7 as the latest tested version).
- Current compatibility with modern Pyramid versions (last release was 2020; Pyramid may have evolved significantly).
What it is and what it does
pyramid_retry is an execution policy for the Pyramid web framework that intercepts request handling and automatically retries failed requests under certain conditions. When a request raises an exception that the policy considers retryable, it will attempt to re-execute the request up to a configurable limit before allowing the error to propagate. The policy is configured via settings and can be customized per-request through hooks; it also fires events before each retry attempt, allowing applications to perform cleanup or state management.
The package depends on pyramid and zope.interface and integrates directly into Pyramid's request/response cycle. It is useful for handling transient failures in web applications—network glitches, temporary resource unavailability, or other recoverable errors—without requiring explicit retry logic in application code.
Use it for
- Automatically retry requests that fail due to transient database connection issues or temporary service unavailability.
- Handle client disconnects gracefully by ensuring threadlocals are cleaned up even when retries fail.
- Implement per-request retry limits using a custom activate_hook to vary retry behavior based on request properties.
- Subscribe to IBeforeRetry events to reset request state or clean up resources before each retry attempt.
- Mark specific exceptions as retryable using mark_error_retryable so the policy knows which errors warrant a retry.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a Pyramid application and need automatic retry logic for transient failures.
The package is stable (Production/Stable status), has low install friction, and is actively maintained. However, note that the last release was in 2020; verify compatibility with your Pyramid version before adopting.
Install
pyramid-retry on PyPI
Before you install
Low install friction: pure Python wheel with only two runtime dependencies (pyramid and zope.interface). Maintenance status is active with recent commits, though the last release was in 2020.
Requires Pyramid framework to be installed and configured; pyramid_retry is an execution policy that integrates into Pyramid's request handling pipeline.
License in practice
MIT license (permissive): you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pyramid-retry
from pyramid.config import Configurator
config = Configurator()
config.include('pyramid_retry')
Verify before relying
- Whether the package supports Python versions beyond 3.7 (classifiers list 3.7 as the latest tested version).
- Current compatibility with modern Pyramid versions (last release was 2020; Pyramid may have evolved significantly).
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyramidzope.interface |
| Maintenance | Actively maintained 2,337 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,095 / month, #14,382 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: PyramidIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: pyramid_retry-2.1.1-py2.py3-none-any.whl
Tags
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 request retry”
- pyramid-retrypyramid_retry wraps Pyramid requests with configurable retry logic,…
- pyramid-tmIntegrates Pyramid web requests with the transaction package to…
- opentelemetry-instrumentation-pyramidAdds automatic tracing and metrics collection to Pyramid web…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
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.
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.
See also pyramid-tm · retrying · pyramid · aioretry · retryhttp · reretry · python-retry · retry · cornice · django-dbconn-retry