opencc-python-reimplemented
OpenCC made with Python
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 on this page — 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
opencc-python-reimplemented on PyPI
pip
pip install opencc-python-reimplementeduv
uv add opencc-python-reimplementedpoetry
poetry add opencc-python-reimplementedInstalling 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 | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 1,280 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,883,756/month — #3,466 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opencc_python_reimplemented-0.1.7-py2.py3-none-any.whl
Keywords: chinese, conversion
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
OpenCCConverts text between Traditional Chinese,…
permissive · top 15,000 on PyPI
zhconvConverts text between Simplified and…
copyleft · top 15,000 on PyPI
hanzidentifierIdentifies whether a string contains Simplified…
permissive · top 15,000 on PyPI
wetextNormalizes and denormalizes text in Chinese,…
permissive · top 15,000 on PyPI
jiebaJieba segments Chinese text into words using…
permissive · top 5,000 on PyPI
cnocrCnOCR recognizes text in images—Chinese…
permissive · top 15,000 on PyPI
zhonZhon provides character constants and regular…
permissive · top 15,000 on PyPI
pinyinConverts Chinese characters to pinyin…
permissive · top 15,000 on PyPI
cn2anConverts between Chinese numerals and Arabic…
permissive · top 15,000 on PyPI
human-readableConverts numbers, dates, times, file sizes, and…
permissive · top 15,000 on PyPI