{ "info": { "author": "Viagenie and Wil Tan", "author_email": "support@viagenie.ca", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries" ], "description": "# Munidata\n\nmunidata is an API for accessing multiple instances of Unicode data.\n\nThe current version of munidata is a simple abstraction layer on top of the [picu](https://pypi.python.org/pypi/picu) module.\n\n## Acknowledgment\n\nThis toolset was implemented by Viagenie (Audric Schiltknecht, David\nDrouin and Marc Blanchet) and Wil Tan on an ICANN contract.\n\n## License\n\nCopyright (c) 2015-2016 Internet Corporation for Assigned Names and\nNumbers (\u201cICANN\u201d). All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\n * Neither the name of the ICANN nor the names of its contributors\n may be used to endorse or promote products derived from this\n software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY ICANN AND CONTRIBUTORS ``AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ICANN OR CONTRIBUTORS BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\nTHE POSSIBILITY OF SUCH DAMAGE.\n## Pre-requisites\n\n* Python (2.7, or >= 3.4)\n* [picu](https://pypi.python.org/pypi/picu) [MIT/X License]\n\n## Setup\n\nIf your distribution does not package the required dependencies, the easiest way\nto get a working environment in no-time is to use Python's virtual environments.\n\n* Install [virtualenv](https://github.com/pypa/virtualenv)\n* Create a python virtualenv:\n\n\t\t$ virtualenv venv\n\n* Activate the environment:\n\n\t\t$ source ./venv/bin/activate\n\n* Download dependencies:\n\n\t\t$ (venv) pip install -r requirements.txt\n\n* Install some versions of the [ICU library](http://site.icu-project.org/download)\n\n## Use\n\nTo get the general category of a codepoint for multiple ICU versions:\n\n $ python test_munidata.py --libs /usr/local/Cellar/icu4c/52.1/lib/libicuuc.dylib#/usr/local/Cellar/icu4c/52.1/lib/libicui18n.52.1.dylib#52 --libs /usr/local/Cellar/icu4c/4.4.1/lib/libicuuc.dylib#/usr/local/Cellar/icu4c/4.4.1/lib/libicui18n.dylib#44 19DA gc\n Unicode version: %s 6.3.0.0\n U+19DA (NEW TAI LUE THAM DIGIT ONE)\n Other_Number\n Unicode version: %s 5.2.0.0\n U+19DA (NEW TAI LUE THAM DIGIT ONE)\n Decimal_Number\n\nSame thing with just plain picu:\n\n $ python picu_multi.py --libs /usr/local/Cellar/icu4c/52.1/lib/libicuuc.dylib#/usr/local/Cellar/icu4c/52.1/lib/libicui18n.52.1.dylib#52 --libs /usr/local/Cellar/icu4c/4.4.1/lib/libicuuc.dylib#/usr/local/Cellar/icu4c/4.4.1/lib/libicui18n.dylib#44 19DA gc\n INFO:picu_multi:Library '/usr/local/Cellar/icu4c/52.1/lib/libicuuc.dylib' loaded. Unicode version: 6.3.0.0\n INFO:picu_multi:Library '/usr/local/Cellar/icu4c/4.4.1/lib/libicuuc.dylib' loaded. Unicode version: 5.2.0.0\n INFO:picu_multi:Unicode version: 6.3.0.0\n U+19DA (NEW TAI LUE THAM DIGIT ONE)\n Other_Number\n INFO:picu_multi:Unicode version: 5.2.0.0\n U+19DA (NEW TAI LUE THAM DIGIT ONE)\n Decimal_Number\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "TBD", "maintainer": "", "maintainer_email": "", "name": "munidata", "package_url": "https://pypi.org/project/munidata/", "platform": "", "project_url": "https://pypi.org/project/munidata/", "project_urls": null, "release_url": "https://pypi.org/project/munidata/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Provides an API for accessing multiple instances of Unicode data", "version": "2.0.0" }, "last_serial": 4281107, "releases": { "1.2": [ { "comment_text": "", "digests": { "md5": "d16efa808f1c2818641648f82f7d583c", "sha256": "cf9fa895b1bdf6fed87a2fc5601194fe7423e7d74c09173c7ca4586440eca26b" }, "downloads": -1, "filename": "munidata-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "d16efa808f1c2818641648f82f7d583c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 52260, "upload_time": "2017-09-12T00:32:01", "url": "https://files.pythonhosted.org/packages/89/54/394ea0f7d8bfe028491f05e92c7d17179481b9b3d8bf70829cfc90674551/munidata-1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4fa7c96240d457f1533f0f64ef7e7a99", "sha256": "58a15f9c936d7da20593d8798da87aff75947f795a803fa6454c6ba9b976ba2e" }, "downloads": -1, "filename": "munidata-1.2.tar.gz", "has_sig": false, "md5_digest": "4fa7c96240d457f1533f0f64ef7e7a99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50523, "upload_time": "2017-09-12T00:32:05", "url": "https://files.pythonhosted.org/packages/22/ea/e98b2bf5a41c9de294b91076313e28fb762f016c06e0757200c95d6ad2e5/munidata-1.2.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "21567126a00e874c84bd86a2b3bfc9fc", "sha256": "a1a931739cc28f97f83f9b11f31ce7b615543d913801a956d23dd18e825a7897" }, "downloads": -1, "filename": "munidata-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "21567126a00e874c84bd86a2b3bfc9fc", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 87713, "upload_time": "2018-09-17T22:17:29", "url": "https://files.pythonhosted.org/packages/b6/c9/f28c471d490af5e234f84805339c73b5ad66e234e71fa553c4a64ba83f1e/munidata-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b536f0201e096b9b2a5e560dfcd7d9f", "sha256": "064cee142552d148b27e417a0f5d278dabb24bd813ac91544df1425fce8d343e" }, "downloads": -1, "filename": "munidata-2.0.0.tar.gz", "has_sig": false, "md5_digest": "8b536f0201e096b9b2a5e560dfcd7d9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 87545, "upload_time": "2018-09-17T22:17:27", "url": "https://files.pythonhosted.org/packages/64/8e/de2a08446711dc7145d9c2ce26ad5854fa8598622521176b62c74f5bed7a/munidata-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21567126a00e874c84bd86a2b3bfc9fc", "sha256": "a1a931739cc28f97f83f9b11f31ce7b615543d913801a956d23dd18e825a7897" }, "downloads": -1, "filename": "munidata-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "21567126a00e874c84bd86a2b3bfc9fc", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 87713, "upload_time": "2018-09-17T22:17:29", "url": "https://files.pythonhosted.org/packages/b6/c9/f28c471d490af5e234f84805339c73b5ad66e234e71fa553c4a64ba83f1e/munidata-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b536f0201e096b9b2a5e560dfcd7d9f", "sha256": "064cee142552d148b27e417a0f5d278dabb24bd813ac91544df1425fce8d343e" }, "downloads": -1, "filename": "munidata-2.0.0.tar.gz", "has_sig": false, "md5_digest": "8b536f0201e096b9b2a5e560dfcd7d9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 87545, "upload_time": "2018-09-17T22:17:27", "url": "https://files.pythonhosted.org/packages/64/8e/de2a08446711dc7145d9c2ce26ad5854fa8598622521176b62c74f5bed7a/munidata-2.0.0.tar.gz" } ] }