types-pyOpenSSL
Typing stubs for pyOpenSSL
Decision gist · record as of 2026-08-14
Yes, if you are using pyOpenSSL 24.1.x and want static type checking—install friction is low and the package is actively maintained. Check whether your pyOpenSSL version includes its own type stubs, as this package may be redundant for newer versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Low install friction with only two runtime dependencies (types-cffi and cryptography).
- Actively maintained as part of typeshed with recent commits; however, the package is marked as partial and becomes redundant if the underlying library includes its own type stubs.
License · maintenance · safety
Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restriction.
last release 2024-07-22 (753 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,720,794 downloads/mo, #1,057 on PyPI
Alternatives
Verify before relying
pip install types-pyOpenSSL
# Type checkers will now understand pyOpenSSL imports
# Run mypy or pyright to check your code:
mypy your_script.py- Whether the partial stub coverage is sufficient for your specific usage patterns
- Compatibility with pyOpenSSL versions other than 24.1.x
- Whether pyOpenSSL 24.2.1 or later makes this package redundant for your use case
What it is and what it does
types-pyOpenSSL is a PEP 561 type stub package that provides type annotations for pyOpenSSL, enabling static type checkers like mypy, pyright, and pytype to validate code that uses the library. It depends on types-cffi and cryptography, and is designed to work with pyOpenSSL version 24.1.x.
The package is maintained as part of typeshed and is marked as partial, meaning some annotations may be incomplete. It was tested with mypy 1.10.1, pyright 1.1.372, and pytype 2024.4.11. The package supports Python versions 3.8 and later.
Use it for
- Add type checking to projects using pyOpenSSL 24.1.x with mypy or pyright
- Catch SSL and certificate handling bugs at type-check time rather than runtime
- Enable IDE autocompletion and type hints for pyOpenSSL APIs in supported editors
- Validate cryptographic code in CI/CD pipelines before deployment
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using pyOpenSSL 24.1.x and want static type checking—install friction is low and the package is actively maintained.
Check whether your pyOpenSSL version includes its own type stubs, as this package may be redundant for newer versions.
Install
types-pyopenssl on PyPI
Before you install
Low install friction with only two runtime dependencies (types-cffi and cryptography). Actively maintained as part of typeshed with recent commits; however, the package is marked as partial and becomes redundant if the underlying library includes its own type stubs.
Requires Python 3.8 or later.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restriction.
Quickstart
pip install types-pyOpenSSL
# Type checkers will now understand pyOpenSSL imports
# Run mypy or pyright to check your code:
mypy your_script.py
Verify before relying
- Whether the partial stub coverage is sufficient for your specific usage patterns
- Compatibility with pyOpenSSL versions other than 24.1.x
- Whether pyOpenSSL 24.2.1 or later makes this package redundant for your use case
Package facts
| License | Apache-2.0 license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagestypes-cfficryptography |
| Maintenance | Actively maintained 753 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 19,720,794 / month, #1,057 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_pyOpenSSL-24.1.0.20240722-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pyopenssl type stubs”
- types-pyOpenSSLProvides type stubs for pyOpenSSL to enable static type checking with…
- service-identityVerifies that cryptography or pyOpenSSL certificates are valid for a…
- vmware-vapi-runtimeVMware vAPI Runtime provides HTTP client, message serialization, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also types-Pillow · types-urllib3 · types-boto · types-stripe · types-redis · types-beautifulsoup4 · types-caldav · service-identity · types-typed-ast · types-Flask-SQLAlchemy