{ "info": { "author": "Oliver Pohl, Frank Sachsenheim", "author_email": "telota@bbaw.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: Arabic", "Programming Language :: Python :: 3 :: Only", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Linguistic" ], "description": "rasmipy\n=======\n\nReduce Arabic strings to their rasm, i.e. remove vocalization and other\ndiacritics.\n\n\nUsage\n-----\n\n.. code-block:: python\n\n >>> from rasmipy import rasmify\n >>> rasmify('\u0627\u0644\u0641\u064e\u0627\u062a\u0650\u062d\u064e\u0629')\n '\u0627\u0644\u06a1\u0627\u066e\u062d\u0647'\n\n\nInstallation\n------------\n\nFrom the Python Package Index:\n\n $ pip install ramsipy\n\nFrom the sources:\n\n $ python setup.py install\n\nWith the optional REST interface:\n\n $ pip install ramsipy[rest-api]\n\nREST API\n--------\n\nTo run a REST service:\n\n $ rasmify-rest-service\n\nOr in a Docker container (with the HTTP port mapped to 8000):\n\n $ docker run --rm -p 8000:80 telota/rasmify\n\nExample GET request:\n\n $ curl http://localhost:8000/?text=\u0621\u064e\u0627\u062a\u064e\u064a\u06e1\u0646\u064e\u0627\n\nExample POST request:\n\n $ curl -H \"Content-Type: text/plain\" -d '\u0621\u064e\u0627\u062a\u064e\u064a\u06e1\u0646\u064e\u0627' -X POST http://localhost:8000/\n\nThere are two environment variables that can be used to configure the service:\n\n``PORT`` defines the port that the server listens, defaults to ``8000``.\n``MAX_GET_PARAMETER_LENGTH`` defines the allowed maximum length of GET requests,\ndefaults to ``1024``.\n\n\nResources\n---------\n\n- About the rasm writing script: https://en.wikipedia.org/wiki/Rasm\n- Code repository: https://github.com/telota/rasmipy\n- On the Python Package Index: https://pypi.python.org/pypi/rasmipy\n- On the Docker Hub: https://hub.docker.com/r/telota/rasmify\n- PHP implementation: https://packagist.org/packages/telota/rasmify\n- Javascript implementation: https://github.com/telota/rasmify.js\n- Javascript web demo: https://telota.github.io/rasmify.js/demo/\n\n\nContributing\n------------\n\nIn order to run the tests, you need to install pytest and related packages,\npreferably in a virtual environment:\n\n.. code-block:: shell\n\n $ pip install -r requirements-dev.txt\n\nInstall ``rasmipy`` in an editable mode:\n\n.. code-block:: shell\n\n $ python setup.py develop\n\nBefore committing changes, you should run the tests:\n\n.. code-block:: shell\n\n # in the project's root directory\n $ pytest", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/telota/rasmipy", "keywords": null, "license": "LGPLv3", "maintainer": null, "maintainer_email": null, "name": "rasmipy", "package_url": "https://pypi.org/project/rasmipy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rasmipy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/telota/rasmipy" }, "release_url": "https://pypi.org/project/rasmipy/0.2/", "requires_dist": null, "requires_python": null, "summary": "Reduce Arabic strings to their rasm, ie remove vocalization and other diacritics.", "version": "0.2" }, "last_serial": 2853225, "releases": { "0.1rc1": [ { "comment_text": "", "digests": { "md5": "9717c4496d32b48b1f49b9564cf36689", "sha256": "be3c71ab27420a7cb64b25782c4d06a3e21b6a86f921e482b956ac24b4541beb" }, "downloads": -1, "filename": "rasmipy-0.1rc1.tar.gz", "has_sig": false, "md5_digest": "9717c4496d32b48b1f49b9564cf36689", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2563, "upload_time": "2017-04-21T15:37:37", "url": "https://files.pythonhosted.org/packages/7e/09/8058fd72ed04ea4e833ea77f6e2c521999e5414a1c692ea2a2f9f43fbab1/rasmipy-0.1rc1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "46015eca08ffc1fa4469ce437f2d0339", "sha256": "144f9d75e90c4284d613cfc5c2ca7ce368742aedc9b18f6d5682aadf9a7c6f82" }, "downloads": -1, "filename": "rasmipy-0.2.tar.gz", "has_sig": false, "md5_digest": "46015eca08ffc1fa4469ce437f2d0339", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3554, "upload_time": "2017-05-05T09:08:34", "url": "https://files.pythonhosted.org/packages/72/9a/2d3a85e18221a10e5cc70c3dffcb4381a90c2c5a269124b30fc16d4fdc18/rasmipy-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "46015eca08ffc1fa4469ce437f2d0339", "sha256": "144f9d75e90c4284d613cfc5c2ca7ce368742aedc9b18f6d5682aadf9a7c6f82" }, "downloads": -1, "filename": "rasmipy-0.2.tar.gz", "has_sig": false, "md5_digest": "46015eca08ffc1fa4469ce437f2d0339", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3554, "upload_time": "2017-05-05T09:08:34", "url": "https://files.pythonhosted.org/packages/72/9a/2d3a85e18221a10e5cc70c3dffcb4381a90c2c5a269124b30fc16d4fdc18/rasmipy-0.2.tar.gz" } ] }