Metadata-Version: 1.1
Name: bopomofo
Version: 0.1.2
Summary: Translate chinese word to bopomofo
Home-page: https://github.com/antfu/bopomofo
Author: Anthony Fu
Author-email: anthonyfu117@hotmail.com
License: MIT
Description: Bopomofo
        ==========
        .. image:: https://img.shields.io/travis/antfu/bopomofo.svg?style=flat-square
            :target: https://travis-ci.org/antfu/bopomofo
        
        .. image:: https://img.shields.io/codecov/c/github/antfu/bopomofo.svg?style=flat-square
            :target: https://codecov.io/gh/antfu/bopomofo
        
        .. image:: https://img.shields.io/codacy/grade/c5ae3c7ed15f4b388218f83cda6782f9.svg?style=flat-square
            :target: https://www.codacy.com/app/anthonyfu117/bopomofo
        
        .. image:: https://img.shields.io/pypi/v/bopomofo.svg?style=flat-square
            :target: https://pypi.python.org/pypi/bopomofo
        
        .. image:: https://img.shields.io/pypi/pyversions/bopomofo.svg?style=flat-square
            :target: https://pypi.python.org/pypi/bopomofo
        
        .. image:: https://img.shields.io/pypi/status/bopomofo.svg?style=flat-square
            :target: https://pypi.python.org/pypi/bopomofo
        
        .. image:: https://img.shields.io/pypi/l/bopomofo.svg?style=flat-square
            :target: https://github.com/antfu/bopomofo/blob/master/LICENSE
        
        
        Translate 漢字 to ㄅㄆㄇㄈ, based on `lxneng/xpinyin <https://github.com/lxneng/xpinyin>`_.
        
        Install
        ----------
        
        ::
        
            pip install bopomofo
        
        
        Usage
        ----------
        
        .. code-block:: python
        
            >>> from bopomofo import to_bopomofo
            >>> to_bopomofo(u'注音')
            'ㄓㄨˋ ㄧㄣ'
        
            >>> to_bopomofo(u'注音', tones=False)
            'ㄓㄨ ㄧㄣ'
        
            >>> to_bopomofo(u'注音', u'、')
            'ㄓㄨˋ、ㄧㄣ'
        
            >>> bopomofo.to_bopomofo(u'注音', first_tone_symbol=True)
            'ㄓㄨˋ ㄧㄣˉ'
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
