A requests authentication plugin that implements the Hawk HTTP authentication scheme (https://github.com/hueniverse/hawk). Provides request signing and verification for HTTP APIs. Current version 1.2.1, last updated 2019. Maintenance mode, no recent releases.
pip install requests-hawkVerified import paths — ran on the pinned version, not inferred.
Create a HawkAuth instance with credentials and pass it as the 'auth' parameter to requests.
Monitor for vulnerabilities; for new projects, evaluate using the 'mohawk' library with custom requests auth.
Always include all three keys to avoid confusion.
Upgrade to >=1.1.1 or ensure Content-Type is a string.
Run 'pip install requests-hawk' and ensure it's in the same Python environment.
Use 'hawk_credentials' as the parameter name.
Ensure requests have a Content-Type header set (e.g., 'Content-Type': 'application/json') when sending data.