skillfed

types-webencodings

Typing stubs for webencodings

types-webencodings v0.5.0.20260408 7.0M downloads/30d#1,803 on PyPI37
Permissive license Apache-2.0 Active released

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 on this page — 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

types-webencodings on PyPI

pip

pip install types-webencodings

uv

uv add types-webencodings

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 128 days since the last release
Last repo commit
First released
Downloads 6,965,605/month — #1,803 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_webencodings-0.5.0.20260408-py3-none-any.whl

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs webencodingstyping stubs character encodingmypy webencodings typespyright type hints encodingstatic type checking web standards
type-stubsstatic-analysis

More Software Development packages