Comparison
axioms-fastapi vs fastapi-cloudauth vs fastapi-cognito 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-cloudauth supports simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install fastapi-cloudauthAWS Cognito JWT authentication library for FastAPI
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install fastapi-cognitoMiddleware 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-cloudauth looks abandoned: avoid it for new projects.
- fastapi-cognito is the most used: 214.4K downloads a month, 2.0× more than fastapi-cloudauth.
- fastapi-keycloak-middleware is better maintained: Pythie’s Index 79 against 40.
- fastapi-cognito is growing fastest: downloads +31% over the last month.
- axioms-fastapi is the newcomer: first released Nov 2025.
Side by side
| Metric | axioms-fastapi | fastapi-cloudauth | fastapi-cognito | fastapi-keycloak-middleware |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | Pythie’s Index: 14 | Pythie’s Index: 40 | Pythie’s Index: 79 |
| Verdict | Low maintenance activity | Likely abandoned | Maintained | Actively maintained |
| Downloads / month | 68.1K | 108.3K | 214.4K | 85.9K |
| Downloads, month over month | -1% | -25% | +31% | +1% |
| GitHub stars | 14 | 433 | 72 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 1 | 2 | 3 |
| Last release | Nov 15, 2025 | Jan 6, 2022 | Aug 29, 2026 | Oct 15, 2026 |
| Releases, 12 months | 0 | 0 | 1 | 4 |
| Weeks with commits | 0 / 26 | 0 / 26 | 1 / 26 | – |
| Recent contributors | 1 | 6 | 3 | – |
| First release | Nov 2025 | Aug 2020 | Oct 2021 | Mar 2023 |
| Python versions | 3.8 – 3.13 | 3.6 – 3.10 | – | 3.11 – 3.15 |
| License | MIT | MIT | MIT | unknown |
| 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.