{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"}],"enrichment":{"capability":"Adds PKCS#12 certificate support to the requests library without monkey patching, enabling client certificate authentication over HTTPS.","skillfed_tags":["tls-client-auth","certificate-handling"],"use_cases":["Authenticate to APIs that require client certificates in PKCS#12 format without managing temporary unencrypted files.","Build a requests Session with persistent PKCS#12-based authentication for repeated calls to the same endpoint.","Migrate legacy systems using p12 certificates to Python without rewriting certificate handling infrastructure.","Test HTTPS endpoints that enforce mutual TLS with client certificate validation during CI/CD pipelines."],"what_it_does":"requests-pkcs12 extends the requests library to handle PKCS#12 (p12/pfx) certificate files for mutual TLS authentication. Instead of monkey patching or writing unencrypted temporary files, it creates a custom TransportAdapter that provides a custom SSLContext, integrating cleanly into requests' design. You can use it as a drop-in replacement for one-off requests or mount it to a session for repeated authenticated calls.\n\nThe package depends on cryptography for certificate handling and requests itself. It supports both file-based and in-memory certificate data, accepts optional password protection, and allows SSL protocol version configuration. The authors position it as a transitional solution until requests adds native PKCS#12 support.","worth_installing":"Yes, if you need PKCS#12 support for requests. The implementation is clean, dependencies are minimal, and the license is permissive. The aging maintenance status (341 days since last release) is a minor concern but not a blocker\u2014the package is stable and the repository remains active. No known vulnerabilities. Install if client certificate authentication is a requirement; skip if you can use PEM certificates directly."},"id":"requests-pkcs12","links":{"html":"https://skillfed.io/packages/requests-pkcs12","md":"https://skillfed.io/packages/requests-pkcs12.md","pypi":"https://pypi.org/project/requests-pkcs12/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-07","license_spdx":null,"license_treatment":"permissive","name":"requests-pkcs12","python_support":"supports_current","summary":"Add PKCS#12 support to the requests library in a clean way, without monkey patching or temporary files"},"popularity":{"monthly_downloads":1260579,"position":4149,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.27"}
