{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"}],"enrichment":{"capability":"Adds OAuth2, API key, Basic, and NTLM authentication support to the requests library, handling token management and multiple authentication schemes.","skillfed_tags":["oauth2","http-auth","requests-plugin"],"use_cases":["Authenticate requests to Okta or Microsoft Entra protected APIs using OAuth2 Authorization Code flow with automatic token refresh.","Add API key authentication to requests by specifying header or query parameter placement without manual header construction.","Implement NTLM authentication for Windows-integrated services and corporate proxies.","Combine multiple authentication schemes in a single request.","Cache and reuse OAuth2 tokens across multiple requests to reduce authentication overhead."],"what_it_does":"requests-auth is a Python library that extends the requests HTTP library with pluggable authentication handlers for OAuth2, API keys, Basic auth, and NTLM. It wraps these authentication schemes into classes that integrate directly with requests' auth parameter, eliminating the need to manually construct headers or manage token lifecycles.\n\nThe package supports multiple OAuth2 flows (Authorization Code, PKCE, Client Credentials, Resource Owner Password, Implicit) with built-in support for identity providers like Okta and Microsoft Entra. It handles token caching, automatic refresh, and early expiry detection to prevent token timeouts mid-request. You pass an authentication instance to requests.get() or any other HTTP method, and the library manages credential exchange and header injection transparently.","worth_installing":"Yes. The package is stable, permissively licensed, has low install friction, and solves a common problem\u2014integrating multiple authentication schemes with requests. Dormant maintenance is not a blocker for a feature-complete auth library, but verify that your target OAuth2 provider and requests version are compatible before relying on it for new projects."},"id":"requests-auth","links":{"html":"https://skillfed.io/packages/requests-auth","md":"https://skillfed.io/packages/requests-auth.md","pypi":"https://pypi.org/project/requests-auth/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-06-18","license_spdx":null,"license_treatment":"permissive","name":"requests-auth","python_support":"supports_current","summary":"Authentication for Requests"},"popularity":{"monthly_downloads":241208,"position":8883,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"8.0.0"}
