truststore
Verify certificates using native system trust stores
Install
truststore on PyPI
pip
pip install truststoreuv
uv add truststorepoetry
poetry add truststorePackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 366 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: truststore-0.10.4-py3-none-any.whl
About truststore
from the package's own PyPI description — quoted content, verbatim
Truststore
Truststore is a library which exposes native system certificate stores (ie "trust stores")
through an ssl.SSLContext-like API. This means that Python applications no longer need to
rely on certifi as a root certificate store. Native system certificate stores
have many helpful features compared to a static certificate bundle like certifi:
- Automatically update certificates as new CAs are created and removed
- Fetch missing intermediate certificates
- Check certificates against certificate revocation lists (CRLs) to avoid monster-in-the-middle (MITM) attacks
- Managed per-system rather than per-application by a operations/IT team
- PyPI is no longer a CA distribution channel 🥳
Right now truststore is a stand-alone library that can be installed globally in your application to immediately take advantage of the benefits in Python 3.10+. Truststore has also been integrated into pip 24.2+ as the default method for...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Truststore exposes native system certificate stores through an ssl.SSLContext-like API, allowing Python applications to verify HTTPS certificates using the operating system's trust store instead of relying on bundled certificate files.
Installation is straightforward with no runtime dependencies and a pure-Python wheel distribution. The package is classified as Production/Stable, though the last release was 366 days ago.
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both commercial and open-source projects.
Usage
pip install truststore
import ssl
import truststore
ctx = truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
Requires Python 3.10 or later; platform support includes macOS 10.8+, Windows, and Linux with OpenSSL.
Verdict: Truststore is a production-ready, zero-dependency library that modernizes Python's certificate verification by leveraging native system trust stores. Its MIT license and top-1000 popularity make it a solid choice for applications targeting Python 3.10+, though the aging maintenance status warrants monitoring.
Needs verification
- Whether the 366-day gap since last release reflects deliberate stability or reduced active development
- Real-world adoption rate and integration stability with HTTP libraries beyond documented examples
Similar packages
copyleft · top 100 on PyPI
urllib3permissive · top 100 on PyPI
rdflibpermissive · top 1,000 on PyPI
py-key-value-aiopermissive · top 1,000 on PyPI
requests-toolbeltpermissive · top 1,000 on PyPI
azure-keyvault-secretspermissive · top 1,000 on PyPI
httpcore2permissive · top 1,000 on PyPI
oscryptopermissive · top 1,000 on PyPI
opentelemetry-instrumentation-urllib3permissive · top 1,000 on PyPI
azure-keyvault-keysunclear · top 1,000 on PyPI