Metadata-Version: 2.1
Name: jyutping
Version: 0.3.3
Summary: Read the latest Real Python tutorials
Author-email: Ivor Zhou <hello@ivorz.com>
License: MIT
Project-URL: Homepage, https://github.com/imdreamrunner/python-jyutping/
Keywords: jyutping
Description-Content-Type: text/x-rst
Provides-Extra: dev

python-jyutping
===============

Python tool to convert Chinese characters to Jyutping.

Install
-------

.. code:: bash

    $ pip install jyutping

Usage
-----

.. code:: python

    >>> import jyutping

    >>> jyutping.get('广东话')  # Python 3
    >>> jyutping.get(u'广东话')  # Python 2
    ['gwong2', 'dung1', 'waa6']
    
    >>> jyutping.get('广东话', multiple=True)
    [{'gwong2'}, {'dung1'}, {'waa6', 'waa2'}]
