macOS
brew install chardetlocal Homebrew formula metadata
brew
Python character encoding detector. Version 7.4.3 via Homebrew; verified 2026-04-14.
install
brew install chardetlocal Homebrew formula metadata
sudo apt install python-chardet-docDebian stable package indexes · python-chardet-doc · source: deb.debian.org
overview
Python character encoding detector
history
chardet is Python's long-running universal character encoding detector, exposed as both a library and the `chardetect` command-line tool.
The official README says Mark Pilgrim originally created chardet in 2006 as a Python port of Mozilla's universal charset detection library. After Pilgrim disappeared from the web in 2011, maintenance continued under later Python maintainers.
chardet became a standard dependency in Python text-processing stacks because it solved the practical problem of guessing encodings for unknown byte streams. The supplied package facts show Homebrew packaging plus Debian and Ubuntu documentation packages, while the README documents normal installation with `pip install chardet`.
Users call `chardet.detect`, `detect_all`, or `UniversalDetector` from Python, or run `chardetect` on files or stdin to print a guessed encoding and confidence.
chardet is package-nerd significant because it sits at the messy boundary between package metadata, HTTP downloads, archives, and text decoding. It is also notable for a 2026 chardet 7 rewrite that kept the package name and public API while changing implementation and license.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
chardetect | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://chardet.readthedocs.io/en/latest/
install metadata
| Package key | brew:chardet |
|---|---|
| Version | 7.4.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/chardet |
| Homepage | https://chardet.readthedocs.io/en/latest/ |
| Repository | https://github.com/chardet/chardet |
| Upstream docs | https://chardet.readthedocs.io/en/latest |
| License | LGPL-2.1-or-later |
| Source archive | https://files.pythonhosted.org/packages/19/b6/9df434a8eeba2e6628c465a1dfa31034228ef79b26f76f46278f4ef7e49d/chardet-7.4.3.tar.gz |
| Last updated | 2026-04-14T23:36:27Z |
| Pulse | updated |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | chardet |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
python-chardet-doc 5.2.0+dfsg-2
Universal Character Encoding Detector (Documentation)
https://github.com/chardet/chardet
sudo apt install python-chardet-docpython3-chardet 5.2.0+dfsg-2
Universal Character Encoding Detector (Python3)
https://github.com/chardet/chardet
sudo apt install python3-chardetpython-chardet-doc 5.2.0+dfsg-1
Universal Character Encoding Detector (Documentation)
https://github.com/chardet/chardet
sudo apt install python-chardet-docpython3-chardet 5.2.0+dfsg-1
Universal Character Encoding Detector (Python3)
https://github.com/chardet/chardet
sudo apt install python3-chardetsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.