$npx skillfedfor your agent

Middleware packages

16 packages

Packages

Werkzeug Worth it
PyPI · Middleware · 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
whitenoise Worth it
PyPI · Middleware · released Feb 2026

WhiteNoise serves static files directly from a Python WSGI application without requiring a separate web server or CDN, handling compression, caching headers, and best practices automatically.

Install it if you are deploying a WSGI or Django application to a managed platform or containerized environment where you want static files bundled with the app.

MITpure Python · 3.10+
16.7Mdownloads / mo
bottle With conditions
PyPI · Middleware · released Jun 2025

Bottle is a lightweight WSGI microframework for building web applications in Python, providing routing, templating, and HTTP utilities with no external dependencies beyond the standard library.

MITpure Python
11.3Mdownloads / mo
WebOb Worth it
PyPI · Middleware · released Aug 2026

WebOb provides request and response objects that wrap WSGI environments, offering convenient parsing and construction of HTTP requests and responses.

Install it if you're building or working with WSGI applications and need convenient request/response handling—it's a standard choice in the Python web ecosystem.

MITpure Python
6.4Mdownloads / mo
repoze-lru Worth it
PyPI · Middleware · released May 2026

A lightweight LRU (least recently used) cache implementation that evicts infrequently accessed keys and values to manage memory automatically.

Install it if you need a simple, lightweight LRU cache without the overhead of external dependencies or more complex caching frameworks.

LicenseRef-Repoze-BSD-derivedpure Python · 3.10+
3.2Mdownloads / mo
PasteDeploy With conditions
PyPI · Middleware · released Nov 2023

PasteDeploy loads and configures WSGI applications and servers from URI-based configuration files, allowing you to compose web applications declaratively.

However, if you are starting a new project, verify whether your chosen web framework or deployment tool has a more modern alternative, as this package reflects older…

MITpure Python · 3.7+
3.1Mdownloads / mo
Paste Skip
PyPI · Middleware · released May 2024

Paste provides WSGI middleware components for building web applications, including request/response utilities, authentication, sessions, error handling, and debugging tools.

MITpure Python · 3+dormant
1.3Mdownloads / mo
starlette-compress Worth it
PyPI · Middleware · released Jul 2026

Middleware for Starlette and FastAPI that compresses HTTP responses using ZStd, Brotli, or GZip, with sensible defaults and more algorithm options than Starlette's built-in GZipMiddleware.

0BSDpure Python · 3.9+
1.1Mdownloads / mo
ws4py With conditions
PyPI · Middleware · released Dec 2024

ws4py implements the WebSocket protocol (RFC 6455) for Python, enabling bidirectional communication between clients and servers over a single TCP connection.

BSD-3-Clausepure Python
434.5Kdownloads / mo
Beaker Worth it
PyPI · Middleware · released May 2026

Beaker provides session management and caching for WSGI web applications, supporting multiple storage backends including memory, file, database, memcached, Redis, and MongoDB.

However, verify whether PYSEC-2020-216 affects version 1.14.1 before deploying to production; if unpatched, assess the risk in your threat model.

BSD-3-Clausepure Python · 3.8+1 known vulnerabilities
269.6Kdownloads / mo
aiohttp-middlewares Worth it
PyPI · Middleware · released Aug 2024

Provides a collection of ready-to-use middlewares for aiohttp.web applications, covering common needs like CORS headers, error handling, and request shielding.

Install it if you are building an aiohttp.web application and want to avoid writing standard middleware boilerplate for CORS, error handling, or similar cross-cutting…

BSD-3-Clausepure Python
198.5Kdownloads / mo
servestatic Worth it
PyPI · Middleware · released Jun 2026

ServeStatic serves static files efficiently from Python ASGI/WSGI applications with automatic compression, cache headers, and CDN integration, eliminating the need for separate web servers or external storage services.

MITpure Python · 3.10+
179.4Kdownloads / mo
pymobiledetect Skip
PyPI · Middleware · released May 2018

Detects mobile phones and tablets from HTTP user-agent strings and headers, classifying browser types for web applications.

AGPL-3.0-or-laterpure Pythonabandoned
141.3Kdownloads / mo
instana With conditions
PyPI · Middleware · released Aug 2026

Instana is a Python instrumentation package that automatically collects metrics and distributed traces from your application, reporting them to an Instana monitoring agent.

MITpure Python · 3.9+
129.1Kdownloads / mo
tool Skip
PyPI · Middleware · released Nov 2011

A compact modular framework for building WSGI web applications, console interfaces, and configuration management, last updated in 2011.

copyleftbuilds from sourceabandoned
127.5Kdownloads / mo
repoze-sendmail With conditions
PyPI · Middleware · released May 2026

Couples email sending with Zope transactions, ensuring messages are only sent when a transaction commits successfully.

LicenseRef-Repoze-BSD-derivedpure Python · 3.10+
78.5Kdownloads / mo