Comparison
fastapi-auth0 vs fastapi-clerk-auth vs fastapi-keycloak-middleware vs propelauth-fastapi
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Easy auth0.com integration for FastAPI
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install fastapi-auth0FastAPI Auth Middleware for Clerk (https://clerk.com)
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install fastapi-clerk-authMiddleware for FastAPI to authenticate a user against keycloak
Actively maintained. Last release 7 weeks ago. A safe choice.
pip install fastapi-keycloak-middlewareA FastAPI library for managing authentication, backed by PropelAuth
Maintained. Last release 13 days ago, commits in 1 of the last 26 weeks. Weaker on commit activity.
pip install propelauth-fastapiIn short
- fastapi-auth0 is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- propelauth-fastapi is the most used: 296.6K downloads a month, 2.5× more than fastapi-auth0.
- fastapi-keycloak-middleware is better maintained: Pythie’s Index 79 against 62.
- fastapi-clerk-auth is growing fastest: downloads +26% over the last month.
- Safe default for a new project: propelauth-fastapi, or fastapi-keycloak-middleware if active maintenance matters most.
Side by side
| Metric | fastapi-auth0 | fastapi-clerk-auth | fastapi-keycloak-middleware | propelauth-fastapi |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 23 | Pythie’s Index: 79 | Pythie’s Index: 62 |
| Verdict | Slowing down | Low maintenance activity | Actively maintained | Maintained |
| Downloads / month | 118.8K | 70.3K | 87.9K | 296.6K |
| Downloads, month over month | -25% | +26% | +6% | -42% |
| GitHub stars | 235 | 44 | – | 18 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2 | 0 | 3 | 0 |
| Last release | Sep 17, 2023 | Nov 11, 2025 | Oct 15, 2026 | Nov 19, 2026 |
| Releases, 12 months | 0 | 0 | 4 | 5 |
| Weeks with commits | 0 / 26 | 0 / 26 | – | 1 / 26 |
| Recent contributors | 7 | 2 | – | 6 |
| First release | Feb 2021 | Aug 2024 | Mar 2023 | Jan 2022 |
| Python versions | – | 3.9 – 3.12 | 3.11 – 3.15 | – |
| License | MIT | MIT | unknown | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.