{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"}],"enrichment":{"capability":"Generates OAuth 1.0a-compliant signatures for Mastercard API requests using RSA-SHA256 or RSA-PSS-SHA256 cryptographic methods.","skillfed_tags":["oauth-1.0a","mastercard-api","request-signing"],"use_cases":["Authenticate requests to Mastercard sandbox or production APIs when building payment or financial applications.","Sign HTTP requests in backend services that need to call Mastercard endpoints with OAuth 1.0a credentials.","Integrate OAuth signing into OpenAPI-generated client libraries targeting Mastercard services.","Implement custom request signing logic for Mastercard API calls within larger Python applications.","Switch between RSA-SHA256 and RSA-PSS-SHA256 signature methods based on Mastercard API endpoint requirements."],"what_it_does":"This library implements OAuth 1.0a signature generation specifically for Mastercard API authentication. It handles the cryptographic signing of HTTP requests using either RSA-SHA256 (default) or RSA-PSS-SHA256 algorithms, producing properly formatted Authorization headers that comply with Mastercard's API requirements.\n\nThe package provides multiple integration patterns: direct header generation via `OAuth.get_authorization_header()`, signing of request objects through the `OAuthSigner` class, and seamless integration with the requests library via the `OAuth1RSA` authentication handler. It manages key loading, payload hashing (including body hash for non-form-encoded content), and OAuth parameter construction, abstracting away the complexity of manual signature computation.","worth_installing":"Yes. Install this if you are building a Python application that needs to authenticate with Mastercard APIs. The library is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. The only caveat is that Python 3.8/3.9 support will be dropped in v2.0.0, so plan upgrades accordingly if you depend on those versions."},"id":"mastercard-oauth1-signer","links":{"html":"https://skillfed.io/packages/mastercard-oauth1-signer","md":"https://skillfed.io/packages/mastercard-oauth1-signer.md","pypi":"https://pypi.org/project/mastercard-oauth1-signer/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-13","license_spdx":null,"license_treatment":"permissive","name":"mastercard-oauth1-signer","python_support":"capped_below_current","summary":"Mastercard OAuth1 Signer."},"popularity":{"monthly_downloads":230478,"position":9108,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.2"}
