{ "info": { "author": "Andrew Moore", "author_email": "andrew.p.moore94@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Topic :: Text Processing", "Topic :: Text Processing :: Linguistic" ], "description": "# Tweebo Parser Python API\n[![Build Status](https://travis-ci.org/apmoore1/tweebo_parser_python_api.svg?branch=master)](https://travis-ci.org/apmoore1/tweebo_parser_python_api)\n\nThis is a Python 3 API to the [TweeboParser](https://github.com/apmoore1/TweeboParser) using the TweeboParser API server which is servered using the Docker image which can be found [here](https://github.com/apmoore1/TweeboParserDocker).\n\n## Installation and setup\n\n1. Requires Python 3.6\n2. `pip install tweebo-parser-python-api`\n3. Install [docker](https://docs.docker.com/install/)\n4. Start the TweeboParser API server running locally on port 8000: `docker run -p 8000:8000 -d --rm mooreap/tweeboparserdocker`\n\n**NOTE** This will run the server using as many threads as you have CPU cores on your machine. If you would like to specify the number of threads use the `--threads` flag e.g.:\n\n`docker run -p 8000:8000 -d --rm mooreap/tweeboparserdocker --threads 4`\n\nAlso to stop the docker server running:\n1. Find the name assigned to the docker image using: `docker ps`\n2. Then stop the relevant docker image: `docker stop name_of_image`\n\n## Example\n\n```\nfrom tweebo_parser import API, ServerError\n# Assumes server is running locally at 0.0.0.0:8000\ntweebo_api = API()\ntext_data = ['Guangdong University of Foreign Studies is located in Guangzhou.',\n 'Lucy is in the sky with diamonds.']\ntry:\n result_stanford = tweebo_api.parse_stanford(text_data)\n result_conll = tweebo_api.parse_conll(text_data)\nexcept ServerError as e:\n print(f'{e}\\n{e.message}')\n```\n\nFor a more detailed example see the following [jupyter notebook](https://github.com/apmoore1/tweebo_parser_python_api/blob/master/notebooks/example.ipynb)\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/apmoore1/tweebo_parser_python_api", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "tweebo-parser-python-api", "package_url": "https://pypi.org/project/tweebo-parser-python-api/", "platform": "", "project_url": "https://pypi.org/project/tweebo-parser-python-api/", "project_urls": { "Homepage": "https://github.com/apmoore1/tweebo_parser_python_api" }, "release_url": "https://pypi.org/project/tweebo-parser-python-api/1.0.4/", "requires_dist": [ "requests (>=2.18.4)" ], "requires_python": ">=3.6", "summary": "Python 3 API to the TweeboParser", "version": "1.0.4" }, "last_serial": 4166276, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "4148617941162bfe1a457224ebb124fe", "sha256": "8ef4354277545c0bac9043e10091699cd4901dde4a989bfb713475b23e212be8" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4148617941162bfe1a457224ebb124fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3721, "upload_time": "2018-06-06T16:59:21", "url": "https://files.pythonhosted.org/packages/36/de/2dc523d6dcae2c6cd1260ae6ddf25260c6a7c9c1d96b8d88cb3c50deb20c/tweebo_parser_python_api-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e2ed1a0ecbd43846cfb23f94cd12db4", "sha256": "addcb7e75e377ecd444107f15614f65a9a5b304488e1b71ffa20b210fa47e188" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3e2ed1a0ecbd43846cfb23f94cd12db4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3231, "upload_time": "2018-06-06T16:59:23", "url": "https://files.pythonhosted.org/packages/b1/8e/1274ffb698d1e7bd96c378a8a7ffc9344acc5011ecba18c61afbcc3d6ca7/tweebo_parser_python_api-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "68851ba77118709147f786975d722313", "sha256": "ff81efca041c0f5df2d6edcfcc79461070754844767a07522c3d29b2a303c6e4" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "68851ba77118709147f786975d722313", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3722, "upload_time": "2018-06-06T17:03:49", "url": "https://files.pythonhosted.org/packages/94/c7/8f228e688dc99459c3b2c09f1c0ab3d68b20f01f4d02a54df7ea96fbaf5c/tweebo_parser_python_api-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ebf028f68b08e4374a15a800a3a12d5", "sha256": "d6de5ecc45460805591240d62fe342b048fca15d07cd9d875a33398e3f7b3498" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1ebf028f68b08e4374a15a800a3a12d5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3231, "upload_time": "2018-06-06T17:03:50", "url": "https://files.pythonhosted.org/packages/ae/66/d5b97ac4d6c093e5a7328027144692416e4ac606372898406c7e06c1b637/tweebo_parser_python_api-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "211e721f019b2082918e472a69afbb1d", "sha256": "fce97b284bdb7844850d5e0af9b22262ee41ecddcfd2d88abeaefbc7f33cadb8" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "211e721f019b2082918e472a69afbb1d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3720, "upload_time": "2018-06-06T17:14:02", "url": "https://files.pythonhosted.org/packages/08/2c/9c817e4dd0d988b26ffc51a3565346c73d6fa56aa603be083554fcc7e7e3/tweebo_parser_python_api-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4a5dc3be2e8f3b7aaae66e685afdc3b", "sha256": "013feb97571b130a0c651ac5179cdd2824ac2ff91f4e3eb60d67add543b5028e" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.2.tar.gz", "has_sig": false, "md5_digest": "c4a5dc3be2e8f3b7aaae66e685afdc3b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3238, "upload_time": "2018-06-06T17:14:03", "url": "https://files.pythonhosted.org/packages/83/1b/5d2884a5b6b697fa7efa34d86bfe3eca3c9a890ec898f43424e4d665cd5f/tweebo_parser_python_api-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "329e05e5a30b8978198501171d179ab5", "sha256": "0d6503f7f414d4ebee5e2f8db649086f114d71ec1b97b43619c1af9a6a601fe9" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "329e05e5a30b8978198501171d179ab5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4042, "upload_time": "2018-08-13T10:40:25", "url": "https://files.pythonhosted.org/packages/25/94/afb9c695e0e849eaa10194ff920a3652a37f36bb42a5e4b79a2c21988a57/tweebo_parser_python_api-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b6212c030f725cd689343b79991f8149", "sha256": "3ee50b5cd5b12a1b600e3886699e00df6de5249fc35642a186d6ebf8b436011e" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.3.tar.gz", "has_sig": false, "md5_digest": "b6212c030f725cd689343b79991f8149", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3548, "upload_time": "2018-08-13T10:40:27", "url": "https://files.pythonhosted.org/packages/db/d6/65fe10c1a3d998df13cd4503f2cac1a5b43351322db4fa408164eece1796/tweebo_parser_python_api-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "691f430e0236a2b4600b22a3c1b8aa11", "sha256": "f3c2c8e7ddfa48e4ed9ab5f4838a9473a17b7779eb33d853ae012aafb0db4460" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "691f430e0236a2b4600b22a3c1b8aa11", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4359, "upload_time": "2018-08-13T17:02:11", "url": "https://files.pythonhosted.org/packages/fd/51/9a524ecf408b6ad27130851df0ef0f0eba3751ca9aece3bafb407cae7219/tweebo_parser_python_api-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a0a36932977856ac9dc34146dd17296", "sha256": "5c8b210256ad5f8d80de513f616e67b9c720f779bc57ef26924901c7c67a356e" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4a0a36932977856ac9dc34146dd17296", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3855, "upload_time": "2018-08-13T17:02:14", "url": "https://files.pythonhosted.org/packages/02/a7/2d4bd893487e5fd4bb7dec6bd94df0961c9b62573c57a3bfb6d98f837d7d/tweebo_parser_python_api-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "691f430e0236a2b4600b22a3c1b8aa11", "sha256": "f3c2c8e7ddfa48e4ed9ab5f4838a9473a17b7779eb33d853ae012aafb0db4460" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "691f430e0236a2b4600b22a3c1b8aa11", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4359, "upload_time": "2018-08-13T17:02:11", "url": "https://files.pythonhosted.org/packages/fd/51/9a524ecf408b6ad27130851df0ef0f0eba3751ca9aece3bafb407cae7219/tweebo_parser_python_api-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a0a36932977856ac9dc34146dd17296", "sha256": "5c8b210256ad5f8d80de513f616e67b9c720f779bc57ef26924901c7c67a356e" }, "downloads": -1, "filename": "tweebo_parser_python_api-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4a0a36932977856ac9dc34146dd17296", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3855, "upload_time": "2018-08-13T17:02:14", "url": "https://files.pythonhosted.org/packages/02/a7/2d4bd893487e5fd4bb7dec6bd94df0961c9b62573c57a3bfb6d98f837d7d/tweebo_parser_python_api-1.0.4.tar.gz" } ] }