jyutping


Namejyutping JSON
Version 0.3.4 PyPI version JSON
download
home_page
SummaryRead the latest Real Python tutorials
upload_time2024-02-17 01:49:52
maintainer
docs_urlNone
author
requires_python
licenseMIT
keywords jyutping
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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'}]

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "jyutping",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "jyutping",
    "author": "",
    "author_email": "Ivor Zhou <hello@ivorz.com>",
    "download_url": "https://files.pythonhosted.org/packages/57/88/f7c654525aac3422376e8d8df556633c2791724e1c3e7d2f549d913b90d3/jyutping-0.3.4.tar.gz",
    "platform": null,
    "description": "python-jyutping\n===============\n\nPython tool to convert Chinese characters to Jyutping.\n\nInstall\n-------\n\n.. code:: bash\n\n    $ pip install jyutping\n\nUsage\n-----\n\n.. code:: python\n\n    >>> import jyutping\n\n    >>> jyutping.get('\u5e7f\u4e1c\u8bdd')  # Python 3\n    >>> jyutping.get(u'\u5e7f\u4e1c\u8bdd')  # Python 2\n    ['gwong2', 'dung1', 'waa6']\n    \n    >>> jyutping.get('\u5e7f\u4e1c\u8bdd', multiple=True)\n    [{'gwong2'}, {'dung1'}, {'waa6', 'waa2'}]\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Read the latest Real Python tutorials",
    "version": "0.3.4",
    "project_urls": {
        "Homepage": "https://github.com/imdreamrunner/python-jyutping/"
    },
    "split_keywords": [
        "jyutping"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5788f7c654525aac3422376e8d8df556633c2791724e1c3e7d2f549d913b90d3",
                "md5": "91aae48e99a35e1afa5779823a25002d",
                "sha256": "415cce7d718df55af4d2ce27e338566403f4d2745622f03639aac9afc45a9036"
            },
            "downloads": -1,
            "filename": "jyutping-0.3.4.tar.gz",
            "has_sig": false,
            "md5_digest": "91aae48e99a35e1afa5779823a25002d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 39757,
            "upload_time": "2024-02-17T01:49:52",
            "upload_time_iso_8601": "2024-02-17T01:49:52.683192Z",
            "url": "https://files.pythonhosted.org/packages/57/88/f7c654525aac3422376e8d8df556633c2791724e1c3e7d2f549d913b90d3/jyutping-0.3.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-17 01:49:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "imdreamrunner",
    "github_project": "python-jyutping",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "jyutping"
}
        
Elapsed time: 0.48385s