{ "info": { "author": "Joan Puigcerver", "author_email": "joapuipe@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# OpenFst-Python\n\n[![Build Status](https://travis-ci.com/jpuigcerver/openfst-python.svg?branch=master)](https://travis-ci.com/jpuigcerver/openfst-python)\n[![Python Version](https://img.shields.io/badge/python-2.7%2C%203.5%2C%203.6%2C%203.7-blue.svg)](https://www.python.org/)\n[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\nOpenFst-Python exposes the official Python API to\n[OpenFst](http://www.openfst.org/twiki/bin/view/FST/WebHome)\n(officially called pywrapfst), but includes all the required OpenFst libraries\nin the Python package, so you don't need to install it separately.\n\nThe version number of OpenFst-Python is the same as the OpenFst version\nused. **The current version uses OpenFst 1.7.2.**\n\n## Build Requirements\n\nThe build process will download and build OpenFst from the official\nwebpage, so you need an Internet connection and all OpenFst dependencies.\nEssentially, you will need:\n\n- A C++ compiler supporting C++11 (tested with GCC 4.9).\n- [PatchELF](https://nixos.org/patchelf.html).\n- [Zlib development](https://zlib.net/).\n- [Python Requests](http://docs.python-requests.org).\n\n## Installation\n\nMost likely, you want to avoid the build process. Then, simply install the\npackage from PyPI:\n\n```bash\npip install openfst-python\n```\n\nAlternatively, if you are installing from sources, you can simply do:\n\n```bash\npython setup.py install\n```\n\nNotice that this downloads the appropriate version of OpenFst directly from\nthe Internet. If you don't have an Internet connection but are already in\npossession of the appropriate tar.gz file, you can use the following command:\n\n```bash\npython setup.py build --download-dir=DIRECTORY_CONTAINING_OPENFST_TAR_GZ\npython setup.py install\n```\n\n## Documentation\n\nThe Python API is the official one provided by OpenFst. Please, refer to its\n[documentation](http://www.openfst.org/twiki/bin/view/FST/PythonExtension).\n\nA toy example:\n\n```python\nimport openfst_python as fst\n\nf = fst.Fst()\ns0 = f.add_state()\ns1 = f.add_state()\ns2 = f.add_state()\nf.add_arc(s0, fst.Arc(1, 2, fst.Weight(f.weight_type(), 3.0), s1))\nf.add_arc(s0, fst.Arc(1, 3, fst.Weight.One(f.weight_type()), s2))\nf.add_arc(s1, fst.Arc(2, 1, fst.Weight(f.weight_type(), 1.0), s2))\nf.set_start(s0)\nf.set_final(s2, fst.Weight(f.weight_type(), 1.5))\n```\n\n## License\n\nThe OpenFst library is licensed under the Apache License, Version 2.0.\nOpenFst-Python is just a wrapper of its official Python API, so\nI am using the same license for most of the source code.\n`ac_python_devel.m4` was not written by me and it is licensed under the\nGPL license.\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/jpuigcerver/openfst-python", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "openfst-python", "package_url": "https://pypi.org/project/openfst-python/", "platform": "", "project_url": "https://pypi.org/project/openfst-python/", "project_urls": { "Homepage": "https://github.com/jpuigcerver/openfst-python" }, "release_url": "https://pypi.org/project/openfst-python/1.7.3/", "requires_dist": null, "requires_python": "", "summary": "Stand-alone OpenFST bindings for Python", "version": "1.7.3" }, "last_serial": 5799900, "releases": { "1.6.9": [ { "comment_text": "", "digests": { "md5": "fab4adf732943f083199c11e39c371a8", "sha256": "c4fbf380cc1e6d182bc923b037736da47cbe9270635b8334a9f6f85f1c90dc71" }, "downloads": -1, "filename": "openfst_python-1.6.9-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "fab4adf732943f083199c11e39c371a8", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 14263962, "upload_time": "2019-01-01T15:08:48", "url": "https://files.pythonhosted.org/packages/39/07/5215aedc7ce0299ba66347ef17042bcfbd622b2850cb48b9f0530d77b976/openfst_python-1.6.9-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f223809cb655c56937c58acf7bf4e98f", "sha256": "ea9b3813efc3b1feb04804e638b00e99727179ed77a36503ff6a9f8758954541" }, "downloads": -1, "filename": "openfst_python-1.6.9-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "f223809cb655c56937c58acf7bf4e98f", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 14281601, "upload_time": "2019-01-01T15:08:54", "url": "https://files.pythonhosted.org/packages/f4/bc/8352490cf8bf8d8f0844712da331312e15749e79c6a6f78fdfd2b7b9a671/openfst_python-1.6.9-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "7bc7dff30b4b00fb0329b65be29a489c", "sha256": "b330733802bc5dfad2e43c2215e8a3b8e3a654abb5bbe9543463993b1678bcd9" }, "downloads": -1, "filename": "openfst_python-1.6.9-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "7bc7dff30b4b00fb0329b65be29a489c", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 14289299, "upload_time": "2019-01-01T15:08:59", "url": "https://files.pythonhosted.org/packages/91/09/c673b57aa497babd8f2dace0257044b1f8c0c32db3ae1daa5290e45b3dab/openfst_python-1.6.9-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "c3417eca5f9700c30e1a1a6c70d254f9", "sha256": "a2cc94fdda82a41f3f3b90a37101ad66db0820f223e247bf81b7983fbcf3d329" }, "downloads": -1, "filename": "openfst_python-1.6.9-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "c3417eca5f9700c30e1a1a6c70d254f9", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 14296432, "upload_time": "2019-01-01T15:09:05", "url": "https://files.pythonhosted.org/packages/56/a9/e6c5fe07a76ca7089420f85883686659e7c0cec05e68bf85587c9764da59/openfst_python-1.6.9-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "911e2f4c77f7f0ae3c1d23d58ddaec05", "sha256": "12303e9e0d6de65b7a0a96f9d895ddad89cd41348b5947c35d2e9d39bfe795e0" }, "downloads": -1, "filename": "openfst_python-1.6.9.tar.gz", "has_sig": false, "md5_digest": "911e2f4c77f7f0ae3c1d23d58ddaec05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11035, "upload_time": "2019-01-01T15:10:17", "url": "https://files.pythonhosted.org/packages/90/12/aba008ac37ad29c44794c1ba3d78d854ede1ac1dcc0e829c5ad654ab2eb5/openfst_python-1.6.9.tar.gz" } ], "1.7.2": [ { "comment_text": "", "digests": { "md5": "e8b7cf43a198e1d4fba4f131dd0b459e", "sha256": "efdf88b59605e2047aa818b682739af47e5dfc052e6872d388176d3f3583a57a" }, "downloads": -1, "filename": "openfst_python-1.7.2-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "e8b7cf43a198e1d4fba4f131dd0b459e", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 14982535, "upload_time": "2019-06-06T21:33:25", "url": "https://files.pythonhosted.org/packages/83/e1/bffc360daf50b3f6265be16d711d27715c05316242857193b9ee1fd9566d/openfst_python-1.7.2-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "614392fca89de0581fa84d173cdb104d", "sha256": "39f2fc22ace76a0d20a790517a37205e76fdf8fb319a7dc6c1ba8014fb139ad3" }, "downloads": -1, "filename": "openfst_python-1.7.2-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "614392fca89de0581fa84d173cdb104d", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 15000773, "upload_time": "2019-06-06T21:32:13", "url": "https://files.pythonhosted.org/packages/66/c6/b6eddaee59da7a306dfd9ae0162895eb39cf057ed0e90b2d558d6b69fa45/openfst_python-1.7.2-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "73df89f2d9eefbcf56a3d3e67937761c", "sha256": "31344cb1504d3c68820d67ff0e592bc5b36fd43f21d7602318a3dffcd8722d00" }, "downloads": -1, "filename": "openfst_python-1.7.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "73df89f2d9eefbcf56a3d3e67937761c", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 15017599, "upload_time": "2019-06-06T21:33:37", "url": "https://files.pythonhosted.org/packages/3b/9a/6eed871217c6a3185ff22ea7ab9aea755f16fea1f703fe8b4eed95f7229d/openfst_python-1.7.2-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "2c30b7435ad7b99bd5822472d34c48d0", "sha256": "dfae536f4a60ca226269fe3284b624f0dc3ff556f380d304bf0ab470f4bfe2ac" }, "downloads": -1, "filename": "openfst_python-1.7.2-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "2c30b7435ad7b99bd5822472d34c48d0", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 15025647, "upload_time": "2019-06-06T21:33:48", "url": "https://files.pythonhosted.org/packages/18/db/694a9e922fbf8c43fedee6a8ed87d2ce4faf6df2b5c47abb2c3baf0a75d2/openfst_python-1.7.2-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "e9cb7eaed26b6d0e0b5cb0aafbf1f497", "sha256": "d71305d9ce3e9dde73723c8f9655db566399c561c45da4defbe3b08cf58bdcc5" }, "downloads": -1, "filename": "openfst_python-1.7.2.tar.gz", "has_sig": false, "md5_digest": "e9cb7eaed26b6d0e0b5cb0aafbf1f497", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11540, "upload_time": "2019-06-06T21:36:47", "url": "https://files.pythonhosted.org/packages/cb/5f/3ac14e33731746f20faa1f3ae627314f05ff041cce32f3f2e91777935c5e/openfst_python-1.7.2.tar.gz" } ], "1.7.3": [ { "comment_text": "", "digests": { "md5": "7a9cb9d4ea8f58b834a5b66e9d758b67", "sha256": "acd48dfe1433d058aad6b4d4057c66747399e54434418a8cc1333dd71af4edc4" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "7a9cb9d4ea8f58b834a5b66e9d758b67", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 14969098, "upload_time": "2019-09-08T16:53:40", "url": "https://files.pythonhosted.org/packages/7b/d5/17d8c6bee133e8dc4b2ef6e093a320d557d3614039a1ea1af909866c0bb9/openfst_python-1.7.3-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f3b1f3905c39e6e4a991fee4909499de", "sha256": "ca39cac80aef9aa5ed6bfb0d1e5d3027ecc95c7f35137471c50944b2930c205f" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "f3b1f3905c39e6e4a991fee4909499de", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 14987895, "upload_time": "2019-09-08T17:19:51", "url": "https://files.pythonhosted.org/packages/e9/9d/c9d607567d78c0edb38dc8f4672e8b5d883fbcb5811cd5796049c72f6da5/openfst_python-1.7.3-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "755b2316cc1b2e300e5f7c88716a1a80", "sha256": "08e63546cb800afa06e120a1d9875d9e176f08f4a9dbca829b3dec749396ebd0" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "755b2316cc1b2e300e5f7c88716a1a80", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 15004383, "upload_time": "2019-09-08T17:20:02", "url": "https://files.pythonhosted.org/packages/ee/91/8d930766cfe34d4488f8aaded264c4fe8d160715b8885db57184f4833612/openfst_python-1.7.3-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "0b0d52f4cba4727204c1e03394e91ddc", "sha256": "0b71c37a471784e2c0a44dfc1b61181517325af557d16afabcb095c6fc56f60e" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "0b0d52f4cba4727204c1e03394e91ddc", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 15012343, "upload_time": "2019-09-08T17:20:14", "url": "https://files.pythonhosted.org/packages/dd/4b/a9729ed62c1fd7be8a31c5fe550641af5da7d9fa408b40f413a4d5852ee5/openfst_python-1.7.3-cp37-cp37m-manylinux1_x86_64.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a9cb9d4ea8f58b834a5b66e9d758b67", "sha256": "acd48dfe1433d058aad6b4d4057c66747399e54434418a8cc1333dd71af4edc4" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "7a9cb9d4ea8f58b834a5b66e9d758b67", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 14969098, "upload_time": "2019-09-08T16:53:40", "url": "https://files.pythonhosted.org/packages/7b/d5/17d8c6bee133e8dc4b2ef6e093a320d557d3614039a1ea1af909866c0bb9/openfst_python-1.7.3-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f3b1f3905c39e6e4a991fee4909499de", "sha256": "ca39cac80aef9aa5ed6bfb0d1e5d3027ecc95c7f35137471c50944b2930c205f" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "f3b1f3905c39e6e4a991fee4909499de", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 14987895, "upload_time": "2019-09-08T17:19:51", "url": "https://files.pythonhosted.org/packages/e9/9d/c9d607567d78c0edb38dc8f4672e8b5d883fbcb5811cd5796049c72f6da5/openfst_python-1.7.3-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "755b2316cc1b2e300e5f7c88716a1a80", "sha256": "08e63546cb800afa06e120a1d9875d9e176f08f4a9dbca829b3dec749396ebd0" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "755b2316cc1b2e300e5f7c88716a1a80", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 15004383, "upload_time": "2019-09-08T17:20:02", "url": "https://files.pythonhosted.org/packages/ee/91/8d930766cfe34d4488f8aaded264c4fe8d160715b8885db57184f4833612/openfst_python-1.7.3-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "0b0d52f4cba4727204c1e03394e91ddc", "sha256": "0b71c37a471784e2c0a44dfc1b61181517325af557d16afabcb095c6fc56f60e" }, "downloads": -1, "filename": "openfst_python-1.7.3-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "0b0d52f4cba4727204c1e03394e91ddc", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 15012343, "upload_time": "2019-09-08T17:20:14", "url": "https://files.pythonhosted.org/packages/dd/4b/a9729ed62c1fd7be8a31c5fe550641af5da7d9fa408b40f413a4d5852ee5/openfst_python-1.7.3-cp37-cp37m-manylinux1_x86_64.whl" } ] }