{ "info": { "author": "John Deighan", "author_email": "john.deighan@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# README.md\n\nUtilities for handling Chinese pinyin\n\nThe utilities in this library make it easy to use\nChinese pinyin\n\nThe unit tests are directly in the files and therefore\nserve as documentation of the utility functions in it.\nTo execute the unit tests, you can just run:\n\n\tpytest -s pinyin_utils.py\n\nTo get the library into a project:\n\n\tpip install pinyin_utils\n\n# SYNOPSIS of pinyin_utils.py\n\ncoming soon\n\n# SYNOPSIS of translate.py\n\n```python\nimport os, time, trio, asks, pprint\n\nfrom translate import translate, initDB, setApiKey\n\nasync def main():\n\n\t# --- The database need not exist.\n\t# Furthermore, if you leave out this call,\n\t# the database will be put at ./Translations.db by default\n\tinitDB('./Translations.db')\n\n\t# --- This env var key is the default if you leave this out\n\tsetApiKey(os.environ['GOOGLE_APIKEY'])\n\n\thWords = {\n\t\t'cat': None,\n\t\t'dog': None,\n\t\t}\n\n\tstart_time = time.time()\n\tasync with trio.open_nursery() as nursery:\n\t\tnursery.start_soon(translate, hWords)\n\ttotal = time.time() - start_time\n\tprint(f\"Total time: {total}\")\n\n\tpprint.PrettyPrinter(indent=3).pprint(hWords)\n\nasks.init('trio')\ntrio.run(main)\n\n# SYNOPSIS of tabdb.py\n\n\tcoming soon\n\n# SYNOPSIS of englishWords.py\n\n\tcoming soon\n\n# SYNOPSIS of ChineseDB.py\n\n\tcoming soon\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/johndeighan/pinyin_utils", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pinyin-utils", "package_url": "https://pypi.org/project/pinyin-utils/", "platform": "", "project_url": "https://pypi.org/project/pinyin-utils/", "project_urls": { "Homepage": "https://github.com/johndeighan/pinyin_utils" }, "release_url": "https://pypi.org/project/pinyin-utils/0.3.0/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Utilities for handling Chinese pinyin", "version": "0.3.0" }, "last_serial": 5987317, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "645fcb0a6923ab9adb76b1f9a3f94d78", "sha256": "142b082bf24ddf833711f35096403613d1ae1c38d92ceba80b07ef8b581e6875" }, "downloads": -1, "filename": "pinyin_utils-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "645fcb0a6923ab9adb76b1f9a3f94d78", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3028, "upload_time": "2019-10-06T07:08:58", "url": "https://files.pythonhosted.org/packages/af/83/8393b39c220e2b5fbe434381e10cffe928154eeb453de211bed39dd3094b/pinyin_utils-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b2bc1ac1295182242acf5fbbb80ccf4", "sha256": "e66c9fd0d7a0561a70fdbb2d086046aa32cd8d56dc3bdda7907a3d4792d8181d" }, "downloads": -1, "filename": "pinyin_utils-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9b2bc1ac1295182242acf5fbbb80ccf4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2802, "upload_time": "2019-10-06T07:09:01", "url": "https://files.pythonhosted.org/packages/24/22/53e3af0037698753604b14ff7e09a2b5c6031998936ef5d9687a5d539340/pinyin_utils-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "29130939b05ef66a6ed05293a323252c", "sha256": "b2897c2ddd18a3b3cb768cf40671fed99a9b5e30a626080f56c54b62e2ab3e1e" }, "downloads": -1, "filename": "pinyin_utils-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "29130939b05ef66a6ed05293a323252c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3026, "upload_time": "2019-10-06T07:08:59", "url": "https://files.pythonhosted.org/packages/3d/d1/a42e8cab80354a8afd9ad3e61e2d59687c259bc0d877c3da1a5fc084815b/pinyin_utils-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1fbd40c30a9bcaafa3594cacfa69f951", "sha256": "23051fca1c21f2170ddbd59522fb64202629aae9d2d621f59062c4fbb18bd04b" }, "downloads": -1, "filename": "pinyin_utils-0.1.4.tar.gz", "has_sig": false, "md5_digest": "1fbd40c30a9bcaafa3594cacfa69f951", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2776, "upload_time": "2019-10-06T07:09:03", "url": "https://files.pythonhosted.org/packages/cf/ef/c192e47b77e4201523b9a4b2705fab91ace6833b334ebed2b15b139dd4f9/pinyin_utils-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ab415c326a9280f81166f72d4dace39f", "sha256": "a7c338e4b04b6a0111c0bcf0fe09a7c0f568dd88d7973daf5da34df62eeb3d27" }, "downloads": -1, "filename": "pinyin_utils-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ab415c326a9280f81166f72d4dace39f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4988, "upload_time": "2019-10-09T08:15:01", "url": "https://files.pythonhosted.org/packages/d1/4d/2635c9faa2445a0ed92f2b32a43534a409a887fb3524c542483edbdbb94c/pinyin_utils-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1cf58dc51769b295d3708b897144582", "sha256": "63aa02204d3d6565b8762b7c6d070a4af305c89f234d58a98c4749ffad3b95ae" }, "downloads": -1, "filename": "pinyin_utils-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f1cf58dc51769b295d3708b897144582", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4544, "upload_time": "2019-10-09T08:15:06", "url": "https://files.pythonhosted.org/packages/6f/49/f19e25ca0c3f219aa86437879ce473cdcfd25023fb126f899e2e6855488d/pinyin_utils-0.2.0.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "68a4271eb9b5e0ee2a327e40f889a2c1", "sha256": "0b5f9d561d3ce19bca32511ff2b4f605af9dd11a6a5ae06b8d3176559ca1e50a" }, "downloads": -1, "filename": "pinyin_utils-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "68a4271eb9b5e0ee2a327e40f889a2c1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5064, "upload_time": "2019-10-17T02:14:32", "url": "https://files.pythonhosted.org/packages/3a/92/a49b7357929f9cfb4c28db83c29ece0b6e0d79250ec48551fcfbd8d6dcf4/pinyin_utils-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aca16e229fc4fccd64cab62bae0358ae", "sha256": "61e6477f6ecc66a059db6a1238cf62a5608e9e3c13b8338ba041da6fc697dadd" }, "downloads": -1, "filename": "pinyin_utils-0.2.3.tar.gz", "has_sig": false, "md5_digest": "aca16e229fc4fccd64cab62bae0358ae", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4699, "upload_time": "2019-10-17T02:14:35", "url": "https://files.pythonhosted.org/packages/4f/4d/5b8e16164e23cf2671b7c95c5a7d7cc55889ccf0f0ac174e54059d7024b1/pinyin_utils-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "b50b7cd1226cb0e76660f53f2e650c46", "sha256": "3c90e271e4823e03206a7757b5a9165ba056a3ea930e75ba1edfe3fae3b94e83" }, "downloads": -1, "filename": "pinyin_utils-0.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "b50b7cd1226cb0e76660f53f2e650c46", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5063, "upload_time": "2019-10-17T02:20:09", "url": "https://files.pythonhosted.org/packages/c5/8c/c35a0fda83ff5628e3a5c98cfe1bfba242b5958bbfd89d11fb30c5679a6d/pinyin_utils-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4160c679c7174207fa2e41b902150cb", "sha256": "cccec28d6561c89a0e3960e7f73147c1ba58d040a1d9034fcb44e1d32205f902" }, "downloads": -1, "filename": "pinyin_utils-0.2.4.tar.gz", "has_sig": false, "md5_digest": "f4160c679c7174207fa2e41b902150cb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4700, "upload_time": "2019-10-17T02:20:11", "url": "https://files.pythonhosted.org/packages/af/8d/9c4fed9dfcbaa9245843cae3b1621c5c10419cce9a2e55f80203009564bd/pinyin_utils-0.2.4.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0626c43bc8f1bad8a2ad88a026bdaeeb", "sha256": "8e1219273cf9121b40732fd385b8e2dd7338b1c92a8e411ee802eb9cc287e7e8" }, "downloads": -1, "filename": "pinyin_utils-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0626c43bc8f1bad8a2ad88a026bdaeeb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9334, "upload_time": "2019-10-17T02:51:24", "url": "https://files.pythonhosted.org/packages/d8/3f/80747f76cf3251fb924d2fcab27d4df319539ac2f7ef3470215afea11b2d/pinyin_utils-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02bab3d100aa4e8fd48557b5f17ddca8", "sha256": "ad037076a2490f0593f7241028b77dda384e99b5aa06a9c91e83e581eb14588c" }, "downloads": -1, "filename": "pinyin_utils-0.3.0.tar.gz", "has_sig": false, "md5_digest": "02bab3d100aa4e8fd48557b5f17ddca8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8372, "upload_time": "2019-10-17T02:51:26", "url": "https://files.pythonhosted.org/packages/42/29/b44b487ffe4754639f52b6c847cb0e7bfcb89952d8cee5fc7b09dcb44aac/pinyin_utils-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0626c43bc8f1bad8a2ad88a026bdaeeb", "sha256": "8e1219273cf9121b40732fd385b8e2dd7338b1c92a8e411ee802eb9cc287e7e8" }, "downloads": -1, "filename": "pinyin_utils-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0626c43bc8f1bad8a2ad88a026bdaeeb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9334, "upload_time": "2019-10-17T02:51:24", "url": "https://files.pythonhosted.org/packages/d8/3f/80747f76cf3251fb924d2fcab27d4df319539ac2f7ef3470215afea11b2d/pinyin_utils-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02bab3d100aa4e8fd48557b5f17ddca8", "sha256": "ad037076a2490f0593f7241028b77dda384e99b5aa06a9c91e83e581eb14588c" }, "downloads": -1, "filename": "pinyin_utils-0.3.0.tar.gz", "has_sig": false, "md5_digest": "02bab3d100aa4e8fd48557b5f17ddca8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8372, "upload_time": "2019-10-17T02:51:26", "url": "https://files.pythonhosted.org/packages/42/29/b44b487ffe4754639f52b6c847cb0e7bfcb89952d8cee5fc7b09dcb44aac/pinyin_utils-0.3.0.tar.gz" } ] }