$npx skillfedfor your agent

pyramid-session-redis

High performance and actively maintained server-side session framework for Pyramid and Redis.

With conditionsPyPI Dynamic ContentReleased Oct 202580.0K downloads / moBSDSource build

Decision gist · record as of 2026-08-14

sdist only — pyramid_session_redis-1.8.1.tar.gz · builds from source
v1.8.1 · released 2025-10-27 · 4 runtime deps: redis, pyramid, zope.interface, typing_extensions

Yes, with conditions. The package is stable and actively maintained (recent commits, no known vulnerabilities), but install friction is high due to multiple dependencies and the requirement for a running Redis server. It is well-suited for multi-server Pyramid deployments or high-traffic applications where session management performance matters. Not recommended for simple single-server applications where in-process sessions suffice. The aging maintenance status (291 days since release) is not a blocker but warrants monitoring if you depend on frequent updates.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Redis server.
  • The package requires Python 3.7+ for the main branch (1.7+) and Pyramid 2.0; the 1.6 branch supports older Python 2 and Pyramid 1.x but is in maintenance mode only.
  • High install friction due to 4 runtime dependencies including redis and pyramid.

License · maintenance · safety

BSD (permissive) — Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No notable licensing constraints for adoption.

last release 2025-10-27 (291 days) · last repo commit 2025-11-07 · 17 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,996 downloads/mo, #14,326 on PyPI

Verify before relying

pip install pyramid-session-redis redis pyramid

from pyramid.config import Configurator
from pyramid_session_redis import session_factory_from_settings

config = Configurator()
session_factory = session_factory_from_settings(settings)
config.set_session_factory(session_factory)
  • Whether the aging maintenance status (291 days since last release) affects production readiness for new deployments
  • Performance improvements over the original pyramid_redis_sessions in real-world high-traffic scenarios
  • Compatibility and migration path for applications currently on the 1.6 branch moving to 1.8
Same gist for agents: .md · .json

What it is and what it does

pyramid_session_redis is a Pyramid web framework plugin that stores user sessions in Redis instead of in-process or cookies. It was originally forked from pyramid_redis_sessions to optimize for high-traffic deployments by reducing Redis communication overhead and supporting flexible timeout strategies. The package manages both session timeouts (inactivity-based, with configurable refresh triggers) and cookie expiry separately, allowing fine-grained control over session lifecycle.

The library depends on redis, pyramid, zope.interface, and typing_extensions. It supports Python 3.7+ with Pyramid 2.0 on the current branch, though older 1.6.x releases support Python 2 and Pyramid 1.x. The package uses semantic versioning with minor versions potentially containing small breaking changes announced via deprecation warnings. Session payload format changed significantly in version 1.4, making old 1.2.x sessions incompatible.

Use it for

  • Store user sessions in Redis for multi-server Pyramid deployments where in-process memory is not shared
  • Implement session timeout with activity-based refresh to balance security and user experience in high-traffic sites
  • Migrate from pyramid_redis_sessions with minimal code changes while gaining performance optimizations
  • Configure Redis-managed session expiry to offload timeout logic from application code
  • Support graceful session handling across Pyramid application restarts without losing user state

Worth the install?

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

With conditions

Yes, with conditions.

The package is stable and actively maintained (recent commits, no known vulnerabilities), but install friction is high due to multiple dependencies and the requirement for a running Redis server. It is well-suited for multi-server Pyramid deployments or high-traffic applications where session management performance matters. Not recommended for simple single-server applications where in-process sessions suffice. The aging maintenance status (291 days since release) is not a blocker but warrants monitoring if you depend on frequent updates.

Install

pyramid-session-redis on PyPI

Before you install

High install friction due to 4 runtime dependencies including redis and pyramid. Maintenance status is aging—last release was 291 days ago, though the repository remains active with a recent commit on 2025-11-07. The 1.8 branch targets Python 3.7+ and Pyramid 2.0; earlier 1.6 branch supports Python 2 and Pyramid 1.x but is in maintenance mode.

Requires a running Redis server. The package requires Python 3.7+ for the main branch (1.7+) and Pyramid 2.0; the 1.6 branch supports older Python 2 and Pyramid 1.x but is in maintenance mode only.

License in practice

Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No notable licensing constraints for adoption.

Quickstart

pip install pyramid-session-redis redis pyramid

from pyramid.config import Configurator
from pyramid_session_redis import session_factory_from_settings

config = Configurator()
session_factory = session_factory_from_settings(settings)
config.set_session_factory(session_factory)

Verify before relying

  • Whether the aging maintenance status (291 days since last release) affects production readiness for new deployments
  • Performance improvements over the original pyramid_redis_sessions in real-world high-traffic scenarios
  • Compatibility and migration path for applications currently on the 1.6 branch moving to 1.8

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependencies
4 packages
redispyramidzope.interfacetyping_extensions
MaintenanceAging 291 days since the last release
Last repo commit
First released
Downloads79,996 / month, #14,326 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: PyramidIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: pyramid_session_redis-1.8.1.tar.gz

Tags

Capabilities
pyramid session management redisserver-side sessions pyramidredis session storagepyramid web framework sessionshigh-performance session handling
Topics
session-managementredis-backendpyramid-plugin
PyPI keywords
pyramidsessionredis

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 session management redis”

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

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / 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
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also aiohttp-session · Flask-Session · starsessions · django-redis · django-redis-sessions · channels-redis · fastapi-sessions · ramp-packer · agent-framework-redis · cashews