$npx skillfedfor your agent

webencodings

Character encoding aliases for legacy web content

With conditionsPyPI WWW/HTTPReleased Apr 2017145.2M downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — webencodings-0.5.1-py2.py3-none-any.whl
v0.5.1 · released 2017-04-05

Yes, if you are working with legacy web content or HTTP headers where encoding label compatibility matters. The package is stable, dependency-free, and permissively licensed. However, be aware it is abandoned and will not receive updates; if you need ongoing maintenance or support for evolving encoding standards, you may need to fork it or find an actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction to install; no runtime dependencies.
  • However, the package is abandoned—last release was 2017-04-05 and last commit 2022-05-03.
  • It remains functional for its narrow purpose but will not receive updates for new Python versions or encoding issues.

License · maintenance · safety

BSD (permissive) — BSD license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, making it safe to depend on from a licensing standpoint.

last release 2017-04-05 (3418 days) · last repo commit 2022-05-03 · 39 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 145,195,919 downloads/mo, #274 on PyPI

Verify before relying

import webencodings

# Get the Python codec name for a web encoding label
codec_name = webencodings.lookup('latin1')
print(codec_name)  # Returns 'windows-1252' (the web alias)

# Detect encoding from BOM
encoding = webencodings.detect_bom(b'\xff\xfe...')
print(encoding)
  • Whether the package handles all current WHATWG Encoding standard revisions or only those current as of 2017
  • Whether Python 2 support (2.6+) is still relevant for your use case, given the package's age
Same gist for agents: .md · .json

What it is and what it does

Webencodings is a Python library that implements the WHATWG Encoding standard, which defines how web browsers interpret character encoding declarations. It provides encoding label-to-codec mapping and BOM (Byte Order Mark) detection, accounting for the fact that web standards use different aliases than Python's standard codecs—for example, 'latin1' on the web actually maps to 'windows-1252'. The package has no runtime dependencies and installs easily.

The library is useful when parsing HTTP headers, HTML metadata, or other web content where you need to respect the encoding rules that browsers use rather than Python's default codec names. However, the package has been abandoned since 2017, with no updates since its last release on 2017-04-05. It remains stable and functional for its specific purpose, but you should be aware it will not receive maintenance for new Python versions or changes to the encoding standard.

Use it for

  • Parse Content-Type headers from HTTP responses and map charset labels to Python codec names correctly
  • Detect the encoding of web documents by examining BOM markers before attempting to decode text
  • Build web scrapers or HTML parsers that need to respect browser-compatible encoding interpretation
  • Validate or normalize encoding labels in legacy web content to ensure consistent interpretation

Worth the install?

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

With conditions

Yes, if you are working with legacy web content or HTTP headers where encoding label compatibility matters.

The package is stable, dependency-free, and permissively licensed. However, be aware it is abandoned and will not receive updates; if you need ongoing maintenance or support for evolving encoding standards, you may need to fork it or find an actively maintained alternative.

Install

webencodings on PyPI

Before you install

Low friction to install; no runtime dependencies. However, the package is abandoned—last release was 2017-04-05 and last commit 2022-05-03. It remains functional for its narrow purpose but will not receive updates for new Python versions or encoding issues.

License in practice

BSD license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, making it safe to depend on from a licensing standpoint.

Quickstart

import webencodings

# Get the Python codec name for a web encoding label
codec_name = webencodings.lookup('latin1')
print(codec_name)  # Returns 'windows-1252' (the web alias)

# Detect encoding from BOM
encoding = webencodings.detect_bom(b'\xff\xfe...')
print(encoding)

Verify before relying

  • Whether the package handles all current WHATWG Encoding standard revisions or only those current as of 2017
  • Whether Python 2 support (2.6+) is still relevant for your use case, given the package's age

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 3,418 days since the last release
Last repo commit
First released
Downloads145,195,919 / month, #274 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP

Evidence: webencodings-0.5.1-py2.py3-none-any.whl

Tags

Capabilities
WHATWG encoding standardcharacter encoding aliasesweb charset labelsBOM detectionlegacy encoding handlingencoding label mappingcontent-type charset parsing
Topics
encodingweb-standardslegacy-content

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 › “WHATWG encoding standard”

  • webencodingsImplements the WHATWG Encoding standard to map legacy web character…
  • html5libhtml5lib parses HTML documents into a tree structure conforming to…
  • ada-urlParse, validate, and manipulate URLs according to the WHATWG URL…

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

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also html5lib · chardet · types-webencodings · cchardet · charset-normalizer · base2048 · html5rdf · can-ada · ada-url · python-datauri