--- id: requests-oauth version: "0.4.1" license: BSD license_treatment: permissive maintenance: abandoned --- # requests-oauth — Hook for adding Open Authentication support to Python-requests HTTP library. License: permissive · Maintenance: abandoned · Downloads: 1.8M/mo ## What it is and what it does requests-oauth is a plugin that integrates OAuth 1.0 authentication into the requests HTTP library. It provides a hook mechanism to automatically sign requests with OAuth credentials, supporting both Authorization header and URL-encoded authentication methods. The package allows you to initialize OAuth credentials once and reuse them across multiple requests by attaching the hook to a requests session, and supports the three-legged OAuth flow for obtaining user authorization and access tokens. However, the package has been abandoned since its last release on 2012-06-21, with no updates for over 5000 days. This raises serious concerns about compatibility with modern Python and requests versions, as well as whether the codebase has received any security review in recent years. OAuth 1.0 itself is rarely used in modern APIs. Use it for: - Integrating with legacy OAuth 1.0 APIs that require OAuth 1.0 authentication and still support this older standard - Automating OAuth token exchange and request signing for applications using the three-legged OAuth flow - Building HTTP clients that need to sign requests with OAuth 1.0 credentials without manually constructing Authorization headers ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Adds OAuth 1.0 authentication support to the requests library, allowing HTTP requests to be signed with OAuth credentials via header or URL-encoded methods. No. The package is abandoned (last release 2012-06-21) with no declared runtime dependencies and unspecified Python support, making compatibility with modern Python and requests versions highly uncertain. If you must use OAuth 1.0, verify this package works with your specific environment first before committing to it. ## Install pip install requests-oauth uv add requests-oauth poetry add requests-oauth ## Installing requests-oauth Before you install: High install friction with no runtime dependencies declared. Package is abandoned since 2012 with last release on 2012-06-21 and no commits for over 5000 days, creating significant uncertainty about compatibility with modern Python and requests versions. License in practice: BSD license is permissive and poses no restriction on use, modification, or distribution in proprietary or open-source projects. Quickstart: pip install requests-oauth from requests_oauth import OAuthHook import requests oauth_hook = OAuthHook(access_token, access_token_secret, consumer_key, consumer_secret, header_auth=True) client = requests.session(hooks={'pre_request': oauth_hook}) response = client.get('http://api.example.com/endpoint') Package is abandoned with no declared runtime dependencies; compatibility with modern requests and Python versions is unverified. Verify before relying: - Whether this package works with current versions of requests library - Python version compatibility (requires_python is unspecified) - Whether OAuth 1.0 is appropriate for your target API (OAuth 2.0 is now standard) - Security review status given abandonment since 2012-06-21 ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 1.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags oauth 1.0 requests library, python oauth authentication, requests oauth hook, oauth signed http requests, python oauth v1 client, oauth-1.0, abandoned, legacy-api [View on SkillFed](https://skillfed.io/packages/requests-oauth) · [View on PyPI](https://pypi.org/project/requests-oauth/)