--- id: opencc-python-reimplemented version: "0.1.7" license: Apache License license_treatment: permissive maintenance: dormant --- # opencc-python-reimplemented — OpenCC made with Python License: permissive · Maintenance: dormant · Downloads: 1.9M/mo ## What it is and what it does This package provides pure Python implementation of OpenCC (Open Chinese Convert), enabling conversion between Simplified Chinese and Traditional Chinese text, including regional variants for Hong Kong and Taiwan standards. It wraps OpenCC's dictionary files without requiring compiled C extensions, making it portable across platforms. The package offers both a Python API (instantiate an OpenCC converter with a conversion mode like 's2t', then call convert() on text) and a command-line interface for batch file processing. It supports nine conversion modes covering bidirectional conversion between Simplified, Traditional, Hong Kong, and Taiwan standards. The main known limitation is that when multiple conversion options exist for a character or phrase, only the first is used. Use it for: - Convert user-generated content or documents from Simplified to Traditional Chinese for Taiwan or Hong Kong audiences - Normalize Chinese text in a data pipeline where regional variants need standardization - Build a text processing tool that handles Chinese language variants without external C dependencies - Process batch files of Chinese text with the command-line interface for format conversion workflows ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts text between Simplified Chinese, Traditional Chinese, and regional variants (Hong Kong, Taiwan standards) using pure Python with no compiled dependencies. Yes, if you need Chinese character conversion and want a pure-Python solution with no compiled dependencies. The low install friction and permissive license make it straightforward to adopt. However, the dormant maintenance status (last release February 2023) means you should verify it works with your current Python version and test edge cases before relying on it in production, as bug fixes or updates are unlikely. ## Install pip install opencc-python-reimplemented uv add opencc-python-reimplemented poetry add opencc-python-reimplemented ## Installing opencc-python-reimplemented Before you install: Low friction installation with no runtime dependencies. Maintenance is dormant—last release was in February 2023, over a year ago, though the repository remains active with 571 stars and no archived status. License in practice: Licensed under Apache License (permissive), allowing commercial and private use with minimal restrictions. Quickstart: pip install opencc-python-reimplemented from opencc import OpenCC cc = OpenCC('s2t') converted = cc.convert('开放中文转换') Verify before relying: - Whether the package handles ambiguous conversions correctly beyond the documented limitation of using only the first option - Performance characteristics when processing large volumes of text - Compatibility with Python versions beyond 3.5 (classifiers list 3.2–3.5 but current Python is much newer) ## Package facts - License: Apache License (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 1.9M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags chinese character conversion, simplified to traditional chinese, opencc python, chinese text normalization, regional chinese variants, chinese-nlp, text-conversion [View on SkillFed](https://skillfed.io/packages/opencc-python-reimplemented) · [View on PyPI](https://pypi.org/project/opencc-python-reimplemented/)