Secweb: Security Middlewares for FastAPI and Starlette

JSON →
library 1.30.10 ·python
verified May 25, 2026

Secweb is a pack of security middlewares for FastAPI and Starlette servers, providing features like Content Security Policy (CSP), HTTP Strict Transport Security (HSTS), and many more. It aims to offer easily configurable security headers with minimal overhead, implementing recommendations from MDN and OWASP. The library is currently at version 1.30.10 and is actively maintained.

total hits 20
actors 8 distinct systems
last hit 2d ago Bingbot
GPTBot
6
MetaBot
4
Script
2
ClaudeBot
1
Search engines
3

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇳🇴 Norway