Comparison
Authlib vs Flask-OAuthlib vs oauth2-client vs requests-oauthlib
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The ultimate Python library in building OAuth and OpenID Connect servers and clients.
Actively maintained. Last release 11 days ago, commits in 18 of the last 26 weeks. A safe choice.
pip install authlibOAuthlib for Flask
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install flask-oauthlibA client library for OAuth2
Maintained. Last release 2 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install oauth2-clientOAuthlib authentication support for Requests.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install requests-oauthlibIn short
- Flask-OAuthlib looks abandoned: avoid it for new projects.
- requests-oauthlib is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- Authlib is the most used: 154.5M downloads a month.
- Authlib also has the best Pythie’s Index (76).
- Authlib is growing fastest: downloads +26% over the last month.
- Safe default for a new project: Authlib.
Side by side
| Metric | Authlib | Flask-OAuthlib | oauth2-client | requests-oauthlib |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | Pythie’s Index: 20 | Pythie’s Index: 58 | Pythie’s Index: 18 |
| Verdict | Actively maintained | Likely abandoned | Maintained | Slowing down |
| Downloads / month | 154.5M | 249.1K | 118.7K | 266.3M |
| Downloads, month over month | +26% | -2% | -12% | +0% |
| GitHub stars | 5.5K | 1.4K | 16 | 1.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 22 | 11 | 833 |
| Last release | Nov 20, 2026 | Sep 7, 2020 | Nov 14, 2026 | Mar 22, 2024 |
| Releases, 12 months | 23 | 0 | 2 | 0 |
| Weeks with commits | 18 / 26 | 0 / 26 | 2 / 26 | 0 / 26 |
| Recent contributors | 6 | 36 | 7 | 12 |
| First release | Nov 2017 | May 2013 | Apr 2016 | Nov 2012 |
| Python versions | 3.10 – 3.14 | 3.3 – 3.6 | 3.10 – 3.15 | 3.4 – 3.12 |
| License | BSD-3-Clause | non-standard | Apache-2.0 | ISC |
| 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.