Comparison
Authlib vs oauth2client vs rauth vs requests-oauth2client
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 authlibOAuth 2.0 client library
Archived. The repository is read-only: no more fixes or releases will come.
pip install oauth2clientA Python library for OAuth 1.0/a, 2.0, and Ofly.
Archived. The repository is read-only: no more fixes or releases will come.
pip install rauthAn OAuth2.x client based on `requests`.
Maintained. Last release 11 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install requests-oauth2clientIn short
- oauth2client is archived: avoid it for new projects.
- rauth is archived: avoid it for new projects.
- Authlib is the most used: 154.5M downloads a month, 5.7× more than oauth2client.
- 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 | oauth2client | rauth | requests-oauth2client |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | Pythie’s Index: 5 | Pythie’s Index: 3 | Pythie’s Index: 43 |
| Verdict | Actively maintained | Archived | Archived | Maintained |
| Downloads / month | 154.5M | 27.3M | 2.3M | 1.5M |
| Downloads, month over month | +26% | +4% | +84% | -14% |
| GitHub stars | 5.5K | 790 | 1.6K | 51 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 537 | 43 | 23 |
| Last release | Nov 20, 2026 | Sep 7, 2018 | Jan 22, 2017 | Dec 22, 2025 |
| Releases, 12 months | 23 | 0 | 0 | 1 |
| Weeks with commits | 18 / 26 | 0 / 26 | 0 / 26 | 2 / 26 |
| Recent contributors | 6 | 19 | 23 | 3 |
| First release | Nov 2017 | Jun 2011 | Mar 2012 | Jul 2020 |
| Python versions | 3.10 – 3.14 | 3.4 – 3.5 | 3.3 | 3.9 – 3.14 |
| License | BSD-3-Clause | Apache-2.0 | MIT | Apache-2.0 |
| 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.