Charset and encoding detection for Python. Identifies the encoding of any byte sequence using byte-distribution fingerprinting, language coherence scoring, and mess detection. Supports streaming detection, mojibake repair, multi-encoding document analysis, and in-band HTML/XML hints. Drop-in replacement for chardet and charset-normalizer.