Comparison
oauth2-client vs oauthlib vs rauth vs requests-oauth2client
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A client library for OAuth2
Maintained. Last release 2 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install oauth2-clientA 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 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 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
- rauth is archived: avoid it for new projects.
- oauthlib is the most used: 263.3M downloads a month, 117× more than rauth.
- oauthlib also has the best Pythie’s Index (81).
- Safe default for a new project: oauthlib.
Side by side
| Metric | oauth2-client | oauthlib | rauth | requests-oauth2client |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 58 | 81 |