View on GitHub

Cangjians

This is a Python wrapper to libcangjie, the library implementing the Cangjie input method.

Below is a trivial example of how to use it:

import cangjie

cj = cangjie.Cangjie(cangjie.versions.CANGJIE3,
                     cangjie.filters.BIG5 | cangjie.filters.HKSCS)

for c in cj.get_characters("a*y"):
    print(c)

For more details, refer to the documentation, either online or the one shipped with this software.

Development happens on github, and stable release tarballs can be found in the download section of our website.

Legalities

pycangjie is offered under the terms of the GNU Lesser General Public License, either version 3 or any later version.

We won't ask you to sign a copyright assignment or any other kind of silly and tedious legal document, so just send us patches and/or pull requests!