Comparison
Authlib vs oauthlib vs oic 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 11 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 oauthlibPython implementation of OAuth2 and OpenID Connect
Low maintenance activity. Last release over 2 years ago, commits in 4 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install oicA 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, oic 33 on Pythie’s Index.
- Authlib is growing fastest: downloads +20% over the last month.
- Safe default for a new project: oauthlib.