zhconv
A simple implementation of Simplified-Traditional Chinese conversion.
Decision gist · record as of 2026-08-14
Yes, if you need Chinese Simplified-Traditional conversion and can tolerate dormant maintenance. The package has no runtime dependencies, no known vulnerabilities, and a stable API grounded in MediaWiki standards. Install friction is high due to source distribution, but the core functionality is straightforward. Not recommended for new projects requiring active maintenance or support; consider it for stable, self-contained use cases where regional Chinese text conversion is a minor feature.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 2 or 3; source distribution may require a C compiler or build tools on some systems.
- High install friction due to source distribution; package is dormant (last release 2021-10-31, last commit 2024-04-17) with no active maintenance signal, though the repository remains public and unarchived.
License · maintenance · safety
GPLv2+ (copyleft) — GPLv2+ copyleft license requires derivative works and distributions to be licensed under compatible terms; suitable for open-source projects but imposes obligations on proprietary use.
last release 2021-10-31 (1748 days) · last repo commit 2024-04-17 · 562 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 243,383 downloads/mo, #8,804 on PyPI
Alternatives
Verify before relying
pip install zhconv
from zhconv import convert
print(convert(u'我幹什麼不干你事。', 'zh-cn'))- Whether the package works reliably with modern Python versions (3.10+) given dormant maintenance status.
- Performance characteristics and accuracy on large texts or specialized vocabularies beyond MediaWiki's tables.
- Compatibility with current dependency chains in active Python projects.
What it is and what it does
zhconv is a Chinese text converter that transforms between Simplified and Traditional Chinese using vocabulary tables derived from MediaWiki. It supports six regional variants—Mainland (zh-cn), Taiwan (zh-tw), Hong Kong (zh-hk), Singapore (zh-sg), generic Simplified (zh-hans), and generic Traditional (zh-hant)—and implements MediaWiki's full manual conversion syntax for context-aware transformations.
The package provides both a Python API (`convert()` and `convert_for_mw()` functions) and a command-line tool. It uses maximum forward matching to resolve ambiguous character sequences. No runtime dependencies are required, making it lightweight to install, though the source distribution has high install friction and the project has not been actively maintained since late 2021.
Use it for
- Convert user-generated content or documentation between Chinese regional variants in web applications or content management systems.
- Batch-process Chinese text corpora to standardize between Simplified and Traditional forms for NLP or linguistic analysis.
- Support multilingual Chinese interfaces by dynamically converting text to the user's preferred regional variant.
- Parse or transform Chinese text embedded in MediaWiki markup or similar structured formats with variant-specific rules.
- Build Chinese language tools or libraries that need to normalize text across regional boundaries.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need Chinese Simplified-Traditional conversion and can tolerate dormant maintenance.
The package has no runtime dependencies, no known vulnerabilities, and a stable API grounded in MediaWiki standards. Install friction is high due to source distribution, but the core functionality is straightforward. Not recommended for new projects requiring active maintenance or support; consider it for stable, self-contained use cases where regional Chinese text conversion is a minor feature.
Install
zhconv on PyPI
Before you install
High install friction due to source distribution; package is dormant (last release 2021-10-31, last commit 2024-04-17) with no active maintenance signal, though the repository remains public and unarchived.
Requires Python 2 or 3; source distribution may require a C compiler or build tools on some systems.
License in practice
GPLv2+ copyleft license requires derivative works and distributions to be licensed under compatible terms; suitable for open-source projects but imposes obligations on proprietary use.
Quickstart
pip install zhconv
from zhconv import convert
print(convert(u'我幹什麼不干你事。', 'zh-cn'))
Verify before relying
- Whether the package works reliably with modern Python versions (3.10+) given dormant maintenance status.
- Performance characteristics and accuracy on large texts or specialized vocabularies beyond MediaWiki's tables.
- Compatibility with current dependency chains in active Python projects.
Package facts
| License | GPLv2+ copyleft |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 1,748 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 243,383 / month, #8,804 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)Natural Language :: Chinese (Simplified)Natural Language :: Chinese (Traditional)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Text Processing :: Linguistic |
Evidence: zhconv-1.4.3.tar.gz
Tags
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 › “chinese simplified traditional conversion”
- zhconvConverts text between Simplified and Traditional Chinese using…
- opencc-python-reimplementedConverts text between Simplified Chinese, Traditional Chinese, and…
- OpenCCConverts text between Traditional Chinese, Simplified Chinese, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Linguistic packages
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.
Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.
Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.
Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.
Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.
However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.
Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.
Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.
See also opencc-python-reimplemented · OpenCC · cn2an · wetext · hanzidentifier · jieba · cnocr · pypinyin · zhon