Skip to main content

A wrapper for OpenCC (The Chinese convert solution)

Project description


A wrapper for OpenCC (The Chinese convert solution)

  • License: Apache-2.0


from pyocc import PyOCC

occ = PyOCC()

# => ['hk2s', 's2hk', 's2t', 's2tw', 's2twp', 't2hk', 't2s', 't2tw', 'tw2s', 'tw2sp']

print(occ.translate('中国', 's2t'))
# => 中國


This package was created with Cookiecutter and the PyPackageTemplate project template.


0.0.2 (2018-06-04)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyocc, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size pyocc-0.0.3-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page