macOS
brew install chardetlocal Homebrew formula metadata
安装
brew install chardetlocal Homebrew formula metadata
sudo apt install python-chardet-docDebian stable package indexes · python-chardet-doc · 来源: deb.debian.org
概览
Python character encoding detector
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
chardetect | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://chardet.readthedocs.io/en/latest/
安装元数据
| 软件包键 | brew:chardet |
|---|---|
| 版本 | 7.4.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/chardet |
| 主页 | https://chardet.readthedocs.io/en/latest/ |
| 仓库 | https://github.com/chardet/chardet |
| 上游文档 | https://chardet.readthedocs.io/en/latest |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/19/b6/9df434a8eeba2e6628c465a1dfa31034228ef79b26f76f46278f4ef7e49d/chardet-7.4.3.tar.gz |
| 最后更新 | 2026-04-14T23:36:27Z |
| Pulse | updated |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-chardet来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.