Comparison
axioms-fastapi vs fastapi-clerk-auth vs fastapi-keycloak-middleware
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
OAuth2/OIDC authentication and authorization for FastAPI APIs
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 axioms-fastapiFastAPI 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-middlewareIn short
- fastapi-keycloak-middleware is the most used: 87.9K downloads a month.
- fastapi-keycloak-middleware also has the best Pythie’s Index (79).
- fastapi-clerk-auth is growing fastest: downloads +26% over the last month.
- axioms-fastapi is the newcomer: first released Nov 2025.
- Safe default for a new project: fastapi-keycloak-middleware.
Side by side
| Metric | axioms-fastapi | fastapi-clerk-auth | fastapi-keycloak-middleware |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | Pythie’s Index: 23 | Pythie’s Index: 79 |
| Verdict | Low maintenance activity | Low maintenance activity | Actively maintained |
| Downloads / month | 68.1K | 70.3K | 87.9K |
| Downloads, month over month | -1% | +26% | +6% |
| GitHub stars | 14 | 44 | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 0 | 3 |
| Last release | Nov 15, 2025 | Nov 11, 2025 | Oct 15, 2026 |
| Releases, 12 months | 0 | 0 | 4 |
| Weeks with commits | 0 / 26 | 0 / 26 | – |
| Recent contributors | 1 | 2 | – |
| First release | Nov 2025 | Aug 2024 | Mar 2023 |
| Python versions | 3.8 – 3.13 | 3.9 – 3.12 | 3.11 – 3.15 |
| License | MIT | MIT | unknown |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.