--- id: oauthlib version: "3.3.1" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # oauthlib — A generic, spec-compliant, thorough implementation of the OAuth request-signing logic License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install oauthlib uv add oauthlib poetry add oauthlib ## Description OAuthLib - Python Framework for OAuth1 & OAuth2 =============================================== *A generic, spec-compliant, thorough implementation of the OAuth request-signing logic for Python 3.8+* .. image:: https://github.com/oauthlib/oauthlib/actions/workflows/python-build.yml/badge.svg :target: https://github.com/oauthlib/oauthlib/actions :alt: GitHub Actions .. image:: https://coveralls.io/repos/oauthlib/oauthlib/badge.svg?branch=master :target: https://coveralls.io/r/oauthlib/oauthlib :alt: Coveralls .. image:: https://img.shields.io/pypi/pyversions/oauthlib.svg :target: https://pypi.org/project/oauthlib/ :alt: Download from PyPI .. image:: https://img.shields.io/pypi/l/oauthlib.svg :target: https://pypi.org/project/oauthlib/ :alt: License .. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Foauthlib%2Foauthlib.svg?type=shield :target: https://app.fossa.io/projects/git%2Bgithub.com%2Foauthlib%2Foauthlib?ref=badge_shield :alt: FOSSA Status .. image:: https://img.shields.io/readthedocs/oauthlib.svg :target: https://oauthlib.readthedocs.io/en/latest/index.html :alt: Read the Docs .. image::... ## AI interpretation — verify before relying OAuthLib implements the core OAuth 1.0 and OAuth 2.0 request-signing logic in a framework-agnostic way, letting you add OAuth support to any HTTP library or web framework without assuming a specific implementation. Verdict: OAuthLib is a mature, actively maintained, zero-dependency foundation for OAuth support across Python frameworks. With no known vulnerabilities, permissive licensing, and broad Python version support (3.8–3.13), it is a reliable choice for projects needing spec-compliant OAuth logic without framework lock-in. [View on SkillFed](https://skillfed.io/packages/oauthlib) · [View on PyPI](https://pypi.org/project/oauthlib/)