requests-oauth
Hook for adding Open Authentication support to Python-requests HTTP library.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package is abandoned with no declared runtime dependencies; compatibility with modern requests and Python versions is unverified.
- 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 · maintenance · safety
BSD (permissive) — BSD license is permissive and poses no restriction on use, modification, or distribution in proprietary or open-source projects.
last release 2012-06-21 (5167 days) · last repo commit 2022-10-15 · 187 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,841,324 downloads/mo, #3,497 on PyPI
Alternatives
Verify before relying
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')- 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
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 on this page. Verify before relying on it.
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
requests-oauth on PyPI
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.
Package is abandoned with no declared runtime dependencies; compatibility with modern requests and Python versions is unverified.
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')
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 | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 5,167 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,841,324 / month, #3,497 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules |
Evidence: requests-oauth-0.4.1.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “oauth 1.0 requests library”
- requests-oauthAdds OAuth 1.0 authentication support to the requests library,…
- rauthRauth provides OAuth 1.0/a and OAuth 2.0 consumer support for Python…
- oauth2Implements OAuth 1.0 authentication for Python applications,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also mastercard-oauth1-signer · rauth · requests-oauth2client · mohawk · requests-auth · oauth2 · Authlib · gpsoauth · xdk · ovh