Comparison
Authlib vs oauthlib vs rauth
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 10 days ago, commits in 17 of the last 26 weeks. A safe choice.
$
pip install authlibA generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Actively maintained. Last release 4 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install oauthlibA 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 rauthIn short
- rauth is archived: avoid it for new projects.
- oauthlib is the most used: 270.1M downloads a month, 1.8× more than Authlib.
- Maintenance is comparable: oauthlib 79, Authlib 78 on Pythie’s Index.
- Authlib is growing fastest: downloads +20% over the last month.
- Safe default for a new project: oauthlib.
Side by side
| Metric | Authlib | oauthlib | rauth |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | Pythie’s Index: 79 | Pythie’s Index: 3 |
| Verdict | Actively maintained | Actively maintained | Archived |
| Downloads / month | 150M | 270.1M | 2.4M |
| Downloads, month over month | +20% | +5% | +147% |
| GitHub stars | 5.5K | 3K | 1.6K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 365 | 43 |
| Last release | Nov 20, 2026 | Oct 31, 2026 | Jan 22, 2017 |
| Releases, 12 months | 23 | 2 | 0 |
| Weeks with commits | 17 / 26 | 12 / 26 | 0 / 26 |
| Recent contributors | 6 | 14 | 23 |
| First release | Nov 2017 | Apr 2012 | Mar 2012 |
| Python versions | 3.10 – 3.14 | 3.9 – 3.14 | 3.3 |
| License | BSD-3-Clause | BSD-3-Clause | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.