Comparison
Authlib vs django-oauth-toolkit vs oauthlib 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 17 of the last 26 weeks. A safe choice.
pip install authlibOAuth 2.0 authorization server for Django
Actively maintained. Last release 3 months ago, commits in 11 of the last 26 weeks. A safe choice.
pip install django-oauth-toolkitA generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Actively maintained. Last release 4 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install oauthlibOAuthlib 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
- requests-oauthlib is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- oauthlib is the most used: 263.3M downloads a month.
- Maintenance is comparable: oauthlib 81, Authlib 76, django-oauth-toolkit 76 on Pythie’s Index.
- Authlib is growing fastest: downloads +26% over the last month.
- Safe default for a new project: oauthlib.
Side by side
| Metric | Authlib | django-oauth-toolkit | oauthlib | requests-oauthlib |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | Pythie’s Index: 76 | Pythie’s Index: 81 | Pythie’s Index: 18 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Slowing down |
| Downloads / month | 154.5M | 6.7M | 263.3M | 266.3M |
| Downloads, month over month | +26% | +17% | +3% | +0% |
| GitHub stars | 5.5K | 3.4K | 3K | 1.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 49 | 365 | 833 |
| Last release | Nov 20, 2026 | Aug 21, 2026 | Oct 31, 2026 | Mar 22, 2024 |
| Releases, 12 months | 23 | 4 | 2 | 0 |
| Weeks with commits | 17 / 26 | 11 / 26 | 14 / 26 | 0 / 26 |
| Recent contributors | 6 | 23 | 14 | 12 |
| First release | Nov 2017 | Jun 2013 | Apr 2012 | Nov 2012 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | 3.9 – 3.14 | 3.4 – 3.12 |
| License | BSD-3-Clause | BSD-2-Clause-Views | BSD-3-Clause | 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.