{ "info": { "author": "Sanskrit programmers", "author_email": "sanskrit-programmers@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: Bengali", "Natural Language :: Hindi", "Natural Language :: Marathi", "Natural Language :: Panjabi", "Natural Language :: Tamil", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Text Processing :: Linguistic" ], "description": "Chandas\n-------\n\n|Build Status| |Documentation Status|\n\nIntro\n~~~~~\n\nThis is a python package for Indic language (mostly sanskrit) metre\nidentification and related tasks like syllabization. This module expects\ndevanAgarI input, and currently produces IAST output.\n\nFor users\n---------\n\n- `Autogenerated Docs on readthedocs (might be\n broken) `__.\n- Manually and periodically generated docs\n `here `__\n- For detailed examples and help, please see individual module files in\n this package.\n\nInstallation or upgrade:\n~~~~~~~~~~~~~~~~~~~~~~~~\n\n- ``sudo pip install chandas -U``\n- ``sudo pip install git+https://github.com/sanskrit-coders/chandas/@master -U``\n- `Web `__.\n\nUsage\n~~~~~\n\nFor more examples, see tests.\n\nMetre Identification\n^^^^^^^^^^^^^^^^^^^^\n\n::\n\n from chandas import identify\n pattern_lines = identify.to_pattern_lines(\"\u0928\u093f\u0930\u094d\u0926\u093f\u0937\u094d\u091f\u093e\u0919\u094d \u0915\u0941\u0932\u092a\u0924\u093f\u0928\u093e \u0938 \u092a\u0930\u094d\u0923\u0936\u093e\u0932\u093e\u092e\u094d \u0905\u0927\u094d\u092f\u093e\u0938\u094d\u092f \u092a\u094d\u0930\u092f\u0924\u092a\u0930\u093f\u0917\u094d\u0930\u0939\u0926\u094d\u0935\u093f\u0924\u0940\u092f\u0903 \u0964\\n\u0924\u091a\u094d\u091b\u093f\u0937\u094d\u092f\u093e\u0927\u094d\u092f\u092f\u0928\u0928\u093f\u0935\u0947\u0926\u093f\u0924\u093e\u0935\u0938\u093e\u0928\u093e\u0902 \u0938\u0935\u094d\u0901\u0935\u093f\u0937\u094d\u091f\u0903 \u0915\u0941\u0936\u0936\u092f\u0928\u0947 \u0928\u093f\u0936\u093e\u0928\u094d \u0928\u093f\u0928\u093e\u092f \u0965\".split(\"\\n\"))\n id_result = identify.identifier.IdentifyFromPatternLines(pattern_lines)\n assert id_result['exact'] == \"Prahar\u1e63i\u1e47\u012b\"\n\nSyllabization\n^^^^^^^^^^^^^\n\n::\n\n from chandas import syllabize\n syllabize.get_syllables(u\"\u0950 \u092e\u0923\u093f \u092a\u0926\u094d\u092e\u0947 \u093d\u0939\u092e\u094d\") == \"\u0913\u092e\u094d \u092e \u0923\u093f \u092a\u0926\u094d \u092e\u0947 \u0939\u092e\u094d\"\n syllabize.get_graphemes(u\"\u092c\u093f\u0915\u094d\u0930\u092e\u092e\u0947\u0930\u094b\u0928\u093e\u092e\u0939\u094b\") == \"\u092c\u093f \u0915\u094d \u0930 \u092e \u092e\u0947 \u0930\u094b \u0928\u093e \u092e \u0939\u094b\".split(\" \")\n\nShared test data\n~~~~~~~~~~~~~~~~\n\nPlease feel free to use test data published here to test your own\nmodules:\n\n- `syllabizationTests.json `__\n\nFor external collaborators\n--------------------------\n\n- We copy the data and identification code from `shreevatsa's\n repo `__. This code has been\n transformed a bit to conform to PEP conventions.\n- You may be interested in sharing and contributing to a common pool of\n test cases - see the chandas-id and syllabization tests under\n https://github.com/sanskrit-coders/chandas/tree/master/tests/data .\n\nFor contributors\n----------------\n\nContact\n~~~~~~~\n\nHave a problem or question? Please head to\n`github `__.\n\nPackaging\n~~~~~~~~~\n\n- ~/.pypirc should have your pypi login credentials.\n\n::\n\n python setup.py bdist_wheel\n twine upload dist/* --skip-existing\n\nBuild documentation\n~~~~~~~~~~~~~~~~~~~\n\n- sphinx html docs can be generated with ``cd docs; make html``\n\nTesting\n~~~~~~~\n\nRun ``pytest`` in the root directory.\n\nAuxiliary tools\n~~~~~~~~~~~~~~~\n\n- |Build Status|\n- |Documentation Status|\n- `pyup `__\n\n.. |Build Status| image:: https://travis-ci.org/sanskrit-coders/chandas.svg?branch=master\n :target: https://travis-ci.org/sanskrit-coders/chandas\n.. |Documentation Status| image:: https://readthedocs.org/projects/chandas/badge/?version=latest\n :target: http://chandas.readthedocs.io/en/latest/?badge=latest\n.. |Documentation Status| image:: https://readthedocs.org/projects/indic-transliteration/badge/?version=latest\n :target: http://indic-transliteration.readthedocs.io/en/latest/?badge=latest\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sanskrit-coders/chandas", "keywords": "indic metre meter hindi sanskrit samskritam kannada devanagari tamil malayalam telugu gurumukhi gujarati bengali oriya) SLP1 WX", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "chandas", "package_url": "https://pypi.org/project/chandas/", "platform": "", "project_url": "https://pypi.org/project/chandas/", "project_urls": { "Homepage": "https://github.com/sanskrit-coders/chandas" }, "release_url": "https://pypi.org/project/chandas/0.0.4/", "requires_dist": [ "PyICU", "unicodecsv", "indic-transliteration", "pytest; extra == 'test'" ], "requires_python": "", "summary": "Metrical analysis tools for indic languages in general, and sanskrit in particular", "version": "0.0.4" }, "last_serial": 5206568, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a5c89500e102687e4a0abbff16114e56", "sha256": "3ede51828dd211f1e2549c08af37323aab9efcd07dd21cc10a07e7dc9c8c45c3" }, "downloads": -1, "filename": "chandas-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a5c89500e102687e4a0abbff16114e56", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4878, "upload_time": "2019-04-12T05:22:39", "url": "https://files.pythonhosted.org/packages/af/2c/8b2637d307e5fc8d7bde149fbd209b0e61b104ce8b9e3161079143c6806a/chandas-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7dddbfb3db61842e294a8c018c0708dd", "sha256": "66a0a3633d49dc4838ca23c914a7630d18c921f127eb42cfb14ed6431a70f034" }, "downloads": -1, "filename": "chandas-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7dddbfb3db61842e294a8c018c0708dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4941, "upload_time": "2019-04-16T22:28:18", "url": "https://files.pythonhosted.org/packages/62/e8/bb3bf6d7e51e5fe27a905591cb08076286562e4c8d6ffe36586b2df97090/chandas-0.0.2-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "1745c74b74b5cec7c4496aafc0eff83d", "sha256": "67a4da267cdf794b10d0a35375b76ccab8d3c748d40c61910f85f87278c8dedc" }, "downloads": -1, "filename": "chandas-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1745c74b74b5cec7c4496aafc0eff83d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14315, "upload_time": "2019-04-16T22:28:27", "url": "https://files.pythonhosted.org/packages/1d/ff/3b0555ca08ada3b5ddbbfee8d145519535c6e3447e705b553f83e6827479/chandas-0.0.3-py3-none-any.whl" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "951505563ee3c805dfcc218a23e1ec4a", "sha256": "90092ad2dce428a808bb33b71100e78991a2aa118d0ddc20af9758222651e80b" }, "downloads": -1, "filename": "chandas-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "951505563ee3c805dfcc218a23e1ec4a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14658, "upload_time": "2019-04-30T06:11:32", "url": "https://files.pythonhosted.org/packages/bd/72/99a2ab04d6cd38222a577e75ffefce32037eab3827c81582685ec7cd9b13/chandas-0.0.4-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "951505563ee3c805dfcc218a23e1ec4a", "sha256": "90092ad2dce428a808bb33b71100e78991a2aa118d0ddc20af9758222651e80b" }, "downloads": -1, "filename": "chandas-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "951505563ee3c805dfcc218a23e1ec4a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14658, "upload_time": "2019-04-30T06:11:32", "url": "https://files.pythonhosted.org/packages/bd/72/99a2ab04d6cd38222a577e75ffefce32037eab3827c81582685ec7cd9b13/chandas-0.0.4-py3-none-any.whl" } ] }