python-webencodings
Port variant v13
Summary Legacy web character encoding aliases (3.13)
Package version 0.6.1
Homepage https://github.com/CourtBouillon/webencodings
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 19 AUG 2026, 18:47:48 UTC
Port created 30 OCT 2018, 18:17:46 UTC
Subpackage Descriptions
single webencodings is a Python implementation of the [WHATWG Encoding standard ]. In order to be compatible with legacy web content when interpreting something like ``Content-Type: text/html; charset=latin1``, tools need to use a particular set of aliases for encoding labels as well as some overriding rules. For example, ``US-ASCII and iso-8859-1 on the web are actually aliases for windows-1252``, and an UTF-8 or UTF-16 BOM takes precedence over any other encoding declaration. The Encoding standard defines all such details so that implementations do not have to reverse-engineer each other. This module has encoding labels and BOM detection, but the actual implementation for encoders and decoders is Python’s. * Free software: BSD license * For Python 3.10+, tested on CPython and PyPy * Documentation: https://doc.courtbouillon.org/webencodings * Changelog: https://github.com/CourtBouillon/webencodings/releases * Code, issues, tests: https://github.com/CourtBouillon/webencodings * Code of conduct: https://www.courtbouillon.org/code-of-conduct * Professional support: https://www.courtbouillon.org * Donation: https://opencollective.com/courtbouillon This module is a friendly fork of webencodings, written and maintained by Simon Sapin and Sam Sneddon. Copyrights are retained by their contributors, no copyright assignment is required to contribute to webencodings. Unless explicitly stated otherwise, any contribution intentionally submitted for inclusion is licensed under the BSD 3-clause license, without any additional terms or conditions. For full authorship information, see the version control history.
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Download groups
main mirror://PYPIWHL/77/c6/040cbc72480d789a5f40d63fb484d3106554c4dfa2d2b70ad5022057750f
Distribution File Information
7fab6269c8bf237c657876b52058ccb182e861518d1c695c1a9aaa8c1c105d5b 8745 python-src/webencodings-0.6.1-py3-none-any.whl
Ports that require python-webencodings:v13
python-bleach:v13 Easy safelist-based HTML-sanitizing tool (3.13)
python-html5lib:v13 HTML parser based on WHATWG specification (3.13)