Comparison
oauth2 vs oauthlib vs rauth
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
library for OAuth version 1.9
Likely abandoned. No release or commit for years (last release over 11 years ago).
$
pip install oauth2A 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
- oauth2 looks abandoned: avoid it for new projects.
- rauth is archived: avoid it for new projects.
- oauthlib is the most used: 270.1M downloads a month, 114× more than rauth.
- oauthlib also has the best Pythie’s Index (79).
- Safe default for a new project: oauthlib.
Side by side
| Metric | oauth2 | oauthlib | rauth |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | Pythie’s Index: 79 | Pythie’s Index: 3 |
| Verdict | Likely abandoned | Actively maintained | Archived |
| Downloads / month | 438.5K | 270.1M | 2.4M |
| Downloads, month over month | +6% | +5% | +147% |
| GitHub stars | 3K | 3K | 1.6K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 40 | 365 | 43 |
| Last release | Sep 12, 2015 | Oct 31, 2026 | Jan 22, 2017 |
| Releases, 12 months | 0 | 2 | 0 |
| Weeks with commits | 0 / 26 | 12 / 26 | 0 / 26 |
| Recent contributors | 18 | 14 | 23 |
| First release | Oct 2009 | Apr 2012 | Mar 2012 |
| Python versions | 3.3 – 3.4 | 3.9 – 3.14 | 3.3 |
| License | MIT | 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.