Comparison
Authlib vs rauth vs requests-auth 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 authlibA 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 rauthAuthentication 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-authOAuthlib 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
- rauth is archived: avoid it for new projects.
- requests-auth is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- 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 | rauth | requests-auth | requests-oauthlib |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | Pythie’s Index: 3 | Pythie’s Index: 16 | Pythie’s Index: 18 |
| Verdict | Actively maintained | Archived | Slowing down | Slowing down |
| Downloads / month | 154.5M | 2.3M | 316.7K | 266.3M |
| Downloads, month over month | +26% | +84% | +24% | +0% |
| GitHub stars | 5.5K | 1.6K | 39 | 1.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 43 | 2 | 833 |
| Last release | Nov 20, 2026 | Jan 22, 2017 | Jun 18, 2024 | Mar 22, 2024 |
| Releases, 12 months | 23 | 0 | 0 | 0 |
| Weeks with commits | 18 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 6 | 23 | 5 | 12 |
| First release | Nov 2017 | Mar 2012 | Jan 2018 | Nov 2012 |
| Python versions | 3.10 – 3.14 | 3.3 | 3.8 – 3.12 | 3.4 – 3.12 |
| License | BSD-3-Clause | MIT | MIT | 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.