Comparison
Authlib vs Flask-Dance vs Flask-OAuthlib vs oauth2-client
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 authlibDoing the OAuth dance with style using Flask, requests, and oauthlib
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install flask-danceOAuthlib 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-clientIn short
- Flask-Dance is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- Flask-OAuthlib looks abandoned: avoid it for new projects.
- Authlib is the most used: 154.5M downloads a month, 620× more than Flask-OAuthlib.
- 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-Dance | Flask-OAuthlib | oauth2-client |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | 22 |