--- id: types-webencodings version: "0.5.0.20260408" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-webencodings — Typing stubs for webencodings License: permissive · Maintenance: active · Downloads: 7.0M/mo ## What it is and what it does This is a type stub package that provides static type information for the webencodings library. It allows type checkers like mypy 1.20.0 and pyright 1.1.408 to understand and validate the types of webencodings functions and classes when they are used in your code. The stubs are maintained as part of the typeshed project and are tested against specific versions of both the type checkers and the webencodings library itself. Type stubs are useful when a library either lacks inline type annotations or when you want to use a specific, curated set of type definitions. This package targets webencodings 0.5.* and requires Python 3.10 or later. Since it has no runtime dependencies, it adds minimal overhead to your development environment—it's purely for static analysis during type checking. Use it for: - Enable mypy or pyright to type-check code using webencodings for character encoding detection - Provide IDE autocomplete and type hints when working with webencodings in supported editors - Ensure type safety in projects that depend on webencodings for web standards compliance ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type hints for the webencodings library, enabling static type checkers like mypy and pyright to validate code that uses webencodings. Yes, if you use webencodings and want static type checking. Install it alongside webencodings when you run mypy or pyright in your CI/type-checking pipeline. It has no runtime cost and is actively maintained. If webencodings already provides inline type hints, this package may be redundant—verify your webencodings version first. ## Install pip install types-webencodings uv add types-webencodings poetry add types-webencodings ## Installing types-webencodings Before you install: Low friction installation with no runtime dependencies. Actively maintained as part of the typeshed project with recent updates. License in practice: Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restrictions. Quickstart: pip install types-webencodings import webencodings # Type checkers now understand webencodings types Requires Python 3.10 or later Verify before relying: - Whether this package is required as a separate install or if webencodings itself bundles inline type hints in recent versions ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 7.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs webencodings, typing stubs character encoding, mypy webencodings types, pyright type hints encoding, static type checking web standards, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-webencodings) · [View on PyPI](https://pypi.org/project/types-webencodings/)