--- id: types-jwcrypto version: "1.5.8.20260720" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-jwcrypto — Typing stubs for jwcrypto License: permissive · Maintenance: active · Downloads: 571.0K/mo ## What it is and what it does types-jwcrypto is a type stub package that adds static type information to the jwcrypto cryptographic library. It allows type checkers like mypy and pyright to understand and verify the types of jwcrypto's functions, classes, and methods as you use them in your code. This is particularly useful for catching type-related bugs before runtime when working with JWT tokens, cryptographic keys, and related operations. The stubs are maintained as part of the typeshed project and are tested against mypy 2.3.0 and pyright 1.1.411. They target jwcrypto version 1.5.8. Installation is straightforward and adds only a lightweight dependency on cryptography. Since this is a stub-only package, it does not execute code itself—it exists purely to inform your type checker. Use it for: - Enable mypy or pyright to type-check code that imports and uses jwcrypto for JWT token creation and validation. - Catch type mismatches in cryptographic key handling before runtime in large codebases. - Improve IDE autocomplete and inline documentation when working with jwcrypto APIs. - Enforce type safety in projects that require strict static analysis of security-sensitive cryptographic code. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations for the jwcrypto library, enabling static type checkers like mypy and pyright to verify code that uses jwcrypto for cryptographic operations. Yes, if you use jwcrypto and run a static type checker. The stubs are actively maintained, have no security vulnerabilities, and carry a permissive license. Install it alongside jwcrypto to gain type safety with minimal overhead. Not necessary if you do not use type checking. ## Install pip install types-jwcrypto uv add types-jwcrypto poetry add types-jwcrypto ## Installing types-jwcrypto Before you install: Low friction installation with a single runtime dependency on cryptography. Actively maintained as part of typeshed, with recent releases and no known vulnerabilities. License in practice: Apache-2.0 permissive license allows use in most projects without significant restrictions. Quickstart: pip install types-jwcrypto # In your code using jwcrypto: import jwcrypto.jwt token = jwcrypto.jwt.JWT(payload=b'{"sub": "user"}') Requires Python 3.10 or later; jwcrypto library must also be installed separately. Verify before relying: - Whether type coverage is complete for all jwcrypto 1.5.8 APIs or if gaps remain. - How frequently these stubs are updated relative to jwcrypto releases. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 571.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs jwcrypto, jwcrypto type hints, cryptography type checking, mypy jwcrypto annotations, static type checking jwt crypto, pyright jwcrypto types, type-stubs, type-checking [View on SkillFed](https://skillfed.io/packages/types-jwcrypto) · [View on PyPI](https://pypi.org/project/types-jwcrypto/)