{ "info": { "author": "Pablo Torres", "author_email": "pablo.torres.t@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: C++", "Programming Language :: Python :: 3.6" ], "description": "[![Build Status](https://travis-ci.org/ptorrestr/py_krovetz.svg?branch=master)](https://travis-ci.org/ptorrestr/py_krovetz)\n\n# Py Krovetz\n\nThis is a Python wrapper for [Krovetz Stemmer C++ library](https://sourceforge.net/p/lemur/wiki/KrovetzStemmer). It uses Cython to build a wrapper and allow access to the cpp object in python.\n\n## Usage\n\n```python\nimport krovetz\nks = krovetz.PyKrovetzStemmer()\nks.stem('walked')\n```\n\n## Installation\n\n### Requirements\n\n#### Python\nAll the requirements are handled automatic. However, tests have been made on Linux GNU and OSX using Python 3.5-3.6. Notice that using python 3.5 and macos might not work as some compilation of python 3.5 are linked to older versions of OpenSSL. This affects the communication of `pip` and PyPI website when retrieving libraries. If you plan to use this combination, make sure that Python is linked to an updated version of OpenSSL.\n\n`python -c 'import ssl; print(ssl.OPENSSL_VERSION)'`\n\nVersion should be `1.*.*`\n\n#### C++ compiler\nThe original code of the stemmer is written in `C++`. Thus, a **`C++` compiler is needed** when building yourself. If this is your decision, make sure you have a C++ compiler installed. We have tested `gcc` in Linux system and `clang` in MacOS. Regardless of this, other combinations and compilers might also work.\n\n### Setup\n\n#### PyPI\nPyPI provides a ready-to-go version (wheel) for different systems and Python versions.\n\n`pip install -i https://test.pypi.org/simple/ krovetz`\n\nIf you want to force binary version:\n\n`pip install -i https://test.pypi.org/simple/ --only-binary=krovetz krovetz`\n\nCurrently, we support distributions for Python 3.5 - 3.7 in Linux and Python 3.6 in macOS >= 10.9.\n\n#### Compiling yourself\nIf you prefer to compile your own package, you can do it using the following command.\n\n`pip3 install -i https://test.pypi.org/simple/ --no-binary=krovetz krovetz`\n\n#### Using your own Cython\nYou can use your own `Cython` to generate the c++ source. Our git repo only includes cython files (.pxd) and not the files generated by `Cython`. Therefore, if you plan to install from here, **you need to have `Cython` installed** in order to generate `C++` files. \n\n`pip install cython`\n\nThen just do:\n\n`pip install git+https://github.com/ptorrestr/py_krovetz.git`\n\n## Development\nWe are using [pipenv](https://github.com/pypa/pipenv) to handle the development environment. This tool is very handy to manage different python versions and configurations.\n\n### Import\nFirst, import the project in your machine\n\n`git clone https://github.com/ptorrestr/py_krovetz.git`\n\n### Environment setup\nYou can install the environment needed just using the following command\n\n`pipenv install`\n\nHave a look on files `Pipfile` and `Pipfile.lock` in order to check the versions of the dependencies used in our development machine.\n\n### Testing\nTest can be run using the environment defined by `pipenv`.\n\n`pienv run python setup.py test`\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": "http://github.com/ptorrestr/py_krovetz", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "krovetz", "package_url": "https://pypi.org/project/krovetz/", "platform": "", "project_url": "https://pypi.org/project/krovetz/", "project_urls": { "Homepage": "http://github.com/ptorrestr/py_krovetz" }, "release_url": "https://pypi.org/project/krovetz/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "Krovetz Stemmer", "version": "1.0.2" }, "last_serial": 4934351, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "f9f47a1c97745c399c26b9489ad79580", "sha256": "432ac017a88444eefc08afabc495954870aa72d2d8181c17f5cdc6a7c5f65905" }, "downloads": -1, "filename": "krovetz-1.0.1-cp36-cp36m-macosx_10_6_intel.whl", "has_sig": false, "md5_digest": "f9f47a1c97745c399c26b9489ad79580", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 311811, "upload_time": "2019-03-08T13:56:33", "url": "https://files.pythonhosted.org/packages/5f/1c/95f6a61bb17abfb2415a4a0dd6cb7bfc673c3efbae0068156d604289efe1/krovetz-1.0.1-cp36-cp36m-macosx_10_6_intel.whl" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ce81e20be4229b07230d7e2759f01991", "sha256": "0a7b983b2c8c7fc89abda5a389a4bcdab14baca12c3b8aa5f82e1b1f3e586e89" }, "downloads": -1, "filename": "krovetz-1.0.2-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "ce81e20be4229b07230d7e2759f01991", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 420350, "upload_time": "2019-03-12T19:05:59", "url": "https://files.pythonhosted.org/packages/fa/1a/2a89dbc97a22d679b42685344ab9b14982b5734bf5663940cc4c86ccf1e2/krovetz-1.0.2-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "dd80267b9bd743b32e67b1917fda7799", "sha256": "c32d3bb4c9e8c4fa89613e9b34aa03a32df158151200653d4b1c7dbc6ada0435" }, "downloads": -1, "filename": "krovetz-1.0.2-cp36-cp36m-macosx_10_6_intel.whl", "has_sig": false, "md5_digest": "dd80267b9bd743b32e67b1917fda7799", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 311810, "upload_time": "2019-03-13T12:23:23", "url": "https://files.pythonhosted.org/packages/e8/22/54837f60eaf73da29401844c805864f296494474da7e2a253f956a2ac46f/krovetz-1.0.2-cp36-cp36m-macosx_10_6_intel.whl" }, { "comment_text": "", "digests": { "md5": "3f871931e1fd24ef5170f93b01d54ba0", "sha256": "60a0f8175c136af20532ba518be3458d9b806810c1c37803af7794ee51116fc1" }, "downloads": -1, "filename": "krovetz-1.0.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "3f871931e1fd24ef5170f93b01d54ba0", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 420964, "upload_time": "2019-03-12T19:06:01", "url": "https://files.pythonhosted.org/packages/2b/92/f840e9fcf64fb11cbf3dd028f7dbe81b5c08155e9a9715881f3efd07107f/krovetz-1.0.2-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "b9ff2d1f41981d5e5a14d19389b17972", "sha256": "eeef02f3a2b5a6d337b4ddbb261524f61a62209de514b18cfcd4ab3b56a264a8" }, "downloads": -1, "filename": "krovetz-1.0.2-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "b9ff2d1f41981d5e5a14d19389b17972", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 421459, "upload_time": "2019-03-12T19:06:02", "url": "https://files.pythonhosted.org/packages/26/7f/68fa47e906f2db5e71c4f037a3f7852b272096076681e712ab9250d8ba0a/krovetz-1.0.2-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "44c8f43b11a548e2ca900856a1afdc68", "sha256": "5e7498a99d6bbbaab12d2a226dfeafaaa5a83b3a7986d98a67c81e16d04f534e" }, "downloads": -1, "filename": "krovetz-1.0.2.tar.gz", "has_sig": false, "md5_digest": "44c8f43b11a548e2ca900856a1afdc68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 137634, "upload_time": "2019-03-12T19:06:04", "url": "https://files.pythonhosted.org/packages/b8/50/a96094f63f2a0403afcc0d669da6d7d0c3a04b857473b3c1f821319e3c4d/krovetz-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ce81e20be4229b07230d7e2759f01991", "sha256": "0a7b983b2c8c7fc89abda5a389a4bcdab14baca12c3b8aa5f82e1b1f3e586e89" }, "downloads": -1, "filename": "krovetz-1.0.2-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "ce81e20be4229b07230d7e2759f01991", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 420350, "upload_time": "2019-03-12T19:05:59", "url": "https://files.pythonhosted.org/packages/fa/1a/2a89dbc97a22d679b42685344ab9b14982b5734bf5663940cc4c86ccf1e2/krovetz-1.0.2-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "dd80267b9bd743b32e67b1917fda7799", "sha256": "c32d3bb4c9e8c4fa89613e9b34aa03a32df158151200653d4b1c7dbc6ada0435" }, "downloads": -1, "filename": "krovetz-1.0.2-cp36-cp36m-macosx_10_6_intel.whl", "has_sig": false, "md5_digest": "dd80267b9bd743b32e67b1917fda7799", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 311810, "upload_time": "2019-03-13T12:23:23", "url": "https://files.pythonhosted.org/packages/e8/22/54837f60eaf73da29401844c805864f296494474da7e2a253f956a2ac46f/krovetz-1.0.2-cp36-cp36m-macosx_10_6_intel.whl" }, { "comment_text": "", "digests": { "md5": "3f871931e1fd24ef5170f93b01d54ba0", "sha256": "60a0f8175c136af20532ba518be3458d9b806810c1c37803af7794ee51116fc1" }, "downloads": -1, "filename": "krovetz-1.0.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "3f871931e1fd24ef5170f93b01d54ba0", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 420964, "upload_time": "2019-03-12T19:06:01", "url": "https://files.pythonhosted.org/packages/2b/92/f840e9fcf64fb11cbf3dd028f7dbe81b5c08155e9a9715881f3efd07107f/krovetz-1.0.2-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "b9ff2d1f41981d5e5a14d19389b17972", "sha256": "eeef02f3a2b5a6d337b4ddbb261524f61a62209de514b18cfcd4ab3b56a264a8" }, "downloads": -1, "filename": "krovetz-1.0.2-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "b9ff2d1f41981d5e5a14d19389b17972", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 421459, "upload_time": "2019-03-12T19:06:02", "url": "https://files.pythonhosted.org/packages/26/7f/68fa47e906f2db5e71c4f037a3f7852b272096076681e712ab9250d8ba0a/krovetz-1.0.2-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "44c8f43b11a548e2ca900856a1afdc68", "sha256": "5e7498a99d6bbbaab12d2a226dfeafaaa5a83b3a7986d98a67c81e16d04f534e" }, "downloads": -1, "filename": "krovetz-1.0.2.tar.gz", "has_sig": false, "md5_digest": "44c8f43b11a548e2ca900856a1afdc68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 137634, "upload_time": "2019-03-12T19:06:04", "url": "https://files.pythonhosted.org/packages/b8/50/a96094f63f2a0403afcc0d669da6d7d0c3a04b857473b3c1f821319e3c4d/krovetz-1.0.2.tar.gz" } ] }