How chardet (Python) is used
chardet (Python) is a dependency in 25 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 1,622 Python ones), #59 of 361 in utilities. Counting the projects our scan samples by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983), it appears in 458; those are left out of every share on this page. The most used alternative in our scan is charset-normalizer (67 projects). Projects that use it most often also use PyYAML (60.0%), Requests (60.0%), NumPy (52.0%).
chardet (Python) popularity over time
Gid Score 66: downloads 97, use in agent projects 73, GitHub stars 28, downloads trend 42 (each 0-100). How it is calculated.
Often used with chardet (Python)
| PyYAML | 60.0% of chardet (Python) projects · 10.1× more than average |
|---|---|
| Requests | 60.0% of chardet (Python) projects · 8.8× more than average |
| NumPy | 52.0% of chardet (Python) projects · 8.9× more than average |
| OpenAI Python Library | 52.0% of chardet (Python) projects · 13.2× more than average |
| Pillow | 52.0% of chardet (Python) projects · 13.6× more than average |
| psutil | 52.0% of chardet (Python) projects · 27.6× more than average |
| Pydantic | 52.0% of chardet (Python) projects · 6.0× more than average |
| python-dotenv | 52.0% of chardet (Python) projects · 5.7× more than average |
By coding agent
| GitHub Copilot | 0.4% of projects set up for it |
|---|---|
| Claude Code | 0.4% of projects set up for it |
| Cursor | 0.3% of projects set up for it |
Share of public repos configured for each agent that list chardet (Python) as a dependency.
Install
| Package | pip install chardet |
|---|---|
| Main stacks | Python (23), Next.js (2) |
| Example projects | capture0x/AdStrike, spire-studio/cloakbot, owid/etl, EthanAlgoX/MarketBot, Navinspire-ia/navin |
Alternatives to chardet (Python)
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside chardet (Python) are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| charset-normalizer pypi Detect and normalize character encoding in text with modern alternative to Chardet. |
67 | 67 (4.1%) | 319M | 803 | MIT |
More in Utilities: clsx date-fns PyYAML uuid yaml js-yaml glob Lodash