{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/5"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"},{"label":"Middleware","url":"https://skillfed.io/packages/category/internet-www-http-wsgi-middleware"}],"enrichment":{"capability":"Provides a collection of ready-to-use middlewares for aiohttp.web applications, covering common needs like CORS headers, error handling, and request shielding.","skillfed_tags":["aiohttp","async-web","middleware"],"use_cases":["Enable CORS headers for cross-origin requests in a single middleware registration.","Centralize error handling and HTTP exception responses across all routes.","Shield view handlers from cancellation during request processing.","Add request/response logging or timing middleware to an aiohttp application.","Implement common security headers or request validation patterns without custom code."],"what_it_does":"aiohttp-middlewares is a curated collection of middleware functions designed to fill gaps in aiohttp.web's built-in middleware offerings. It addresses common web-development patterns\u2014CORS header injection, centralized error handling, request shielding\u2014that developers would otherwise implement themselves. The package works as a drop-in set of middleware factories that you pass to aiohttp's Application constructor.\n\nThe package depends on aiohttp, async-timeout, and yarl, all standard async-web components. It is actively maintained, supports Python 3.8 through 3.12, and carries no known security vulnerabilities. The BSD-3-Clause license permits use in any project type.","worth_installing":"Yes. Active maintenance, no vulnerabilities, low install friction, and a permissive license make this a safe choice. 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 concerns."},"id":"aiohttp-middlewares","links":{"html":"https://skillfed.io/packages/aiohttp-middlewares","md":"https://skillfed.io/packages/aiohttp-middlewares.md","pypi":"https://pypi.org/project/aiohttp-middlewares/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-08-14","license_spdx":null,"license_treatment":"permissive","name":"aiohttp-middlewares","python_support":"supports_current","summary":"Collection of useful middlewares for aiohttp applications."},"popularity":{"monthly_downloads":198526,"position":9727,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.4.0"}
