$npx skillfedfor your agent

cchardet

cChardet is high speed universal character encoding detector.

With conditionsPyPI LibrariesReleased Oct 20208.4M downloads / moMozilla Public LicensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — cchardet-2.1.7-cp36-cp36m-macosx_10_9_x86_64.whl · cchardet-2.1.7-cp36-cp36m-manylinux1_i686.whl · cchardet-2.1.7-cp36-cp36m-manylinux1_x86_64.whl
v2.1.7 · released 2020-10-27

Yes, if you need fast encoding detection and can accept the aging codebase. The package is stable with no known vulnerabilities, but the lack of updates since 2020-10-27 means it may not support newer Python versions or benefit from recent uchardet improvements. Use it for production workloads where encoding detection is a bottleneck and you are comfortable pinning to version 2.1.7; monitor the repository for future releases or evaluate alternatives if you require active maintenance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a C compiler and build tools at install time; prebuilt wheels are available for common platforms but not all architectures.
  • Medium install friction due to compiled C extensions; prebuilt wheels are available for Python 3.6–3.9 on Windows, Linux, and macOS x86_64/i686, but the package is aging—last release was 2020-10-27 and no updates in over four years despite an active repository.

License · maintenance · safety

Mozilla Public License (copyleft) — Licensed under Mozilla Public License (copyleft), with dual licensing also under GPL and LGPL per classifiers. Copyleft terms require derivative works to be distributed under compatible terms; review your project's license compatibility before use.

last release 2020-10-27 (2117 days) · last repo commit 2025-05-21 · 409 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,435,620 downloads/mo, #1,623 on PyPI

Verify before relying

import cchardet

with open('file.txt', 'rb') as f:
    result = cchardet.detect(f.read())
    print(result)
  • Whether the package remains compatible with Python 3.10+ despite no official release since 2020.
  • Current performance relative to modern encoding detectors in production workloads.
  • Whether the underlying uchardet library has received security or accuracy updates since the last cchardet release.
  • Confidence score range and interpretation for detect() results.
Same gist for agents: .md · .json

What it is and what it does

cchardet is a high-speed character encoding detector that identifies the encoding of raw byte strings by analyzing statistical patterns. It wraps the C library uchardet and supports a wide range of international encodings including UTF-8, UTF-16, CJK variants (Big5, EUC-JP, Shift-JIS, GB18030, etc.), Cyrillic, Arabic, and many European single-byte encodings. The package provides a simple API: call detect() on a byte buffer to get back a dictionary with the detected encoding and language hint.

The main use case is preprocessing text data when the source encoding is unknown—common in web scraping, log parsing, and data import workflows. It has no runtime dependencies and installs via prebuilt wheels on most platforms. However, the project is aging: the last release was 2020-10-27, and while the repository remains active, there have been no new package versions for over four years. The copyleft license (Mozilla Public License) requires careful review if you plan to distribute derived works.

Use it for

  • Detect encoding of downloaded web pages or API responses before parsing.
  • Identify encoding of legacy log files or CSV imports with unknown character sets.
  • Preprocess user-uploaded text files to normalize encoding before storage.
  • Batch-process mixed-encoding document collections to extract text reliably.
  • Auto-detect encoding in text processing pipelines to avoid manual charset specification.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need fast encoding detection and can accept the aging codebase.

The package is stable with no known vulnerabilities, but the lack of updates since 2020-10-27 means it may not support newer Python versions or benefit from recent uchardet improvements. Use it for production workloads where encoding detection is a bottleneck and you are comfortable pinning to version 2.1.7; monitor the repository for future releases or evaluate alternatives if you require active maintenance.

Install

cchardet on PyPI

Before you install

Medium install friction due to compiled C extensions; prebuilt wheels are available for Python 3.6–3.9 on Windows, Linux, and macOS x86_64/i686, but the package is aging—last release was 2020-10-27 and no updates in over four years despite an active repository.

Requires a C compiler and build tools at install time; prebuilt wheels are available for common platforms but not all architectures.

License in practice

Licensed under Mozilla Public License (copyleft), with dual licensing also under GPL and LGPL per classifiers. Copyleft terms require derivative works to be distributed under compatible terms; review your project's license compatibility before use.

Quickstart

import cchardet

with open('file.txt', 'rb') as f:
    result = cchardet.detect(f.read())
    print(result)

Verify before relying

  • Whether the package remains compatible with Python 3.10+ despite no official release since 2020.
  • Current performance relative to modern encoding detectors in production workloads.
  • Whether the underlying uchardet library has received security or accuracy updates since the last cchardet release.
  • Confidence score range and interpretation for detect() results.

Package facts

LicenseMozilla Public License copyleft
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceAging 2,117 days since the last release
Last repo commit
First released
Downloads8,435,620 / month, #1,623 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: GNU General Public License (GPL)License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)Programming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries

Evidence: cchardet-2.1.7-cp36-cp36m-macosx_10_9_x86_64.whl; cchardet-2.1.7-cp36-cp36m-manylinux1_i686.whl; cchardet-2.1.7-cp36-cp36m-manylinux1_x86_64.whl; cchardet-2.1.7-cp36-cp36m-manylinux2010_i686.whl; cchardet-2.1.7-cp36-cp36m-manylinux2010_x86_64.whl; cchardet-2.1.7-cp36-cp36m-win32.whl; cchardet-2.1.7-cp36-cp36m-win_amd64.whl; cchardet-2.1.7-cp37-cp37m-macosx_10_9_x86_64.whl; cchardet-2.1.7-cp37-cp37m-manylinux1_i686.whl; cchardet-2.1.7-cp37-cp37m-manylinux1_x86_64.whl; cchardet-2.1.7-cp37-cp37m-manylinux2010_i686.whl; cchardet-2.1.7-cp37-cp37m-manylinux2010_x86_64.whl; cchardet-2.1.7-cp37-cp37m-win32.whl; cchardet-2.1.7-cp37-cp37m-win_amd64.whl; cchardet-2.1.7-cp38-cp38-macosx_10_9_x86_64.whl; cchardet-2.1.7-cp38-cp38-manylinux1_i686.whl; cchardet-2.1.7-cp38-cp38-manylinux1_x86_64.whl; cchardet-2.1.7-cp38-cp38-manylinux2010_i686.whl; cchardet-2.1.7-cp38-cp38-manylinux2010_x86_64.whl; cchardet-2.1.7-cp38-cp38-win32.whl

Tags

Capabilities
character encoding detectioncharset detectiondetect text encodingunicode encoding identifierfast encoding detectorlanguage encoding identifierbyte string encodinginternational charset support
Topics
encoding-detectioncharacter-encodingtext-preprocessing
PyPI keywords
cythonchardetcharsetdetect

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “unicode encoding identifier”

  • cchardetcchardet detects the character encoding of byte strings using a C…
  • chardetDetects character encoding and language in byte sequences with high…
  • charset-normalizerDetects and normalizes text encoding from unknown or ambiguous…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also chardet · faust-cchardet · charset-normalizer · encutils · webencodings · isbinary · gibberish-detector · cwcwidth · mbstrdecoder · Unidecode