$npx skillfedfor your agent

types-cryptography

Typing stubs for cryptography

SkipPyPI CryptographyReleased Nov 20222.1M downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_cryptography-3.3.23.2-py3-none-any.whl
v3.3.23.2 · released 2022-11-08

No, unless you are locked to cryptography < 3.4.4. The cryptography package has included its own type stubs since version 3.4.4, making this package redundant for modern setups. The package has not been updated since 2022-11-08, and the description explicitly recommends uninstalling it if using cryptography 3.4.4 or newer.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only useful if you are using a type checker and have cryptography version < 3.4.4; newer versions of cryptography include their own type stubs.
  • Low install friction with no runtime dependencies.
  • Maintenance is active, though the package has not had a release since 2022-11-08; the description notes that cryptography has included its own type stubs since version 3.4.4, potentially making this package redundant.

License · maintenance · safety

Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or distribution.

last release 2022-11-08 (1375 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,132,004 downloads/mo, #3,267 on PyPI

Verify before relying

pip install types-cryptography

# Type checker will now resolve types for cryptography imports
  • Whether installing this alongside cryptography >= 3.4.4 causes type-checking conflicts or is simply redundant.
  • Current maintenance status and whether updates are expected given the 2022-11-08 release date.
Same gist for agents: .md · .json

What it is and what it does

types-cryptography is a PEP 561 type stub package that provides type information for the cryptography library. It allows static type checkers to understand and validate the types of cryptography's public API when used in code, enabling IDE autocompletion and catching type errors before runtime.

The package is generated from typeshed, the community-maintained repository of type stubs for popular Python libraries. However, the cryptography package itself has included native type annotations since version 3.4.4, so this stub package is now primarily useful only if constrained to an older version of cryptography. The description explicitly recommends uninstalling this package if using cryptography 3.4.4 or newer.

Use it for

  • Type-checking a codebase using cryptography < 3.4.4 with a PEP 561-compatible type checker.
  • Enabling IDE type hints and autocompletion for cryptography when using older cryptography versions.
  • Validating cryptographic code in CI/CD pipelines running static type analysis on projects locked to pre-3.4.4 cryptography.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are locked to cryptography < 3.4.4.

The cryptography package has included its own type stubs since version 3.4.4, making this package redundant for modern setups. The package has not been updated since 2022-11-08, and the description explicitly recommends uninstalling it if using cryptography 3.4.4 or newer.

Install

types-cryptography on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is active, though the package has not had a release since 2022-11-08; the description notes that cryptography has included its own type stubs since version 3.4.4, potentially making this package redundant.

Only useful if you are using a type checker and have cryptography version < 3.4.4; newer versions of cryptography include their own type stubs.

License in practice

Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or distribution.

Quickstart

pip install types-cryptography

# Type checker will now resolve types for cryptography imports

Verify before relying

  • Whether installing this alongside cryptography >= 3.4.4 causes type-checking conflicts or is simply redundant.
  • Current maintenance status and whether updates are expected given the 2022-11-08 release date.

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1,375 days since the last release
Last repo commit
First released
Downloads2,132,004 / month, #3,267 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_cryptography-3.3.23.2-py3-none-any.whl

Tags

Capabilities
type stubs cryptographycryptography type checkingpep 561 stubscryptography type hintsstatic type validationtype annotations cryptography
Topics
type-stubstype-checking

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 › “type stubs cryptography”

Give your agent the search over MCP, or paste the wish link into any chat.

More Cryptography packages

certifi Worth it
PyPI · Cryptography · released Jul 2026

Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.

MPL-2.0pure Python · 3.7+
1.9Bdownloads / mo
cryptography Worth it
PyPI · Cryptography · released Jul 2026

cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.

Apache-2.0 OR BSD-3-Clausecompiled wheel
1.5Bdownloads / mo
rsa Skip
PyPI · Cryptography · released Apr 2025

Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.

Apache-2.0pure Pythonabandoned
299.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

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.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
azure-identity Worth it
PyPI · Cryptography · released Mar 2026

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.

license unclearpure Python · 3.9+
247.2Mdownloads / mo
PyNaCl Worth it
PyPI · Cryptography · released Jan 2026

PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.

Apache-2.0compiled wheel · 3.8+
246.6Mdownloads / mo

See also types-Werkzeug · types-certifi · types-attrs · types-jwt · types-backports · types-orjson · types-click · types-tornado · data-science-types · types-ipaddress