{ "info": { "author": "Jake Conway", "author_email": "jake.h.conway@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Utilities" ], "description": "# perspective\n\nperspective is an API wrapper for Google's [Perspective API](http://www.perspectiveapi.com/)\n\n## documentation\n\nSome documentation is available [on readthedocs](http://perspective.readthedocs.io/en/latest/).\n\n## Installation\n\nTo install, use `pip install perspective`\n\n## Usage\n\nA simple example:\n\n```python\nfrom perspective import Perspective\np = Perspective(\"API_KEY\")\ncomment = p.score(\"This is a comment\", tests=[\"TOXICITY\"])\nprint(\"Toxicity score: \" + comment[\"TOXICITY\"].score)\n```\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/conway/perspective", "keywords": "google", "license": "UNLICENSE", "maintainer": "", "maintainer_email": "", "name": "perspective", "package_url": "https://pypi.org/project/perspective/", "platform": "", "project_url": "https://pypi.org/project/perspective/", "project_urls": { "Homepage": "https://github.com/conway/perspective" }, "release_url": "https://pypi.org/project/perspective/0.1/", "requires_dist": null, "requires_python": "", "summary": "A package for interfacing with Google's Perspective API", "version": "0.1" }, "last_serial": 3881684, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "393a590a659da1a75a3db8a1bf3cbaac", "sha256": "6e92811a4c0f00e55c09d0c56964d97976e908abcf43c2c4f1d97e1fa570e384" }, "downloads": -1, "filename": "perspective-0.1.tar.gz", "has_sig": false, "md5_digest": "393a590a659da1a75a3db8a1bf3cbaac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1612, "upload_time": "2018-05-20T22:55:09", "url": "https://files.pythonhosted.org/packages/00/56/4adb6329da2cfea247c9305502df3909a67fd77d2b36e003a951ba8732b6/perspective-0.1.tar.gz" } ], "0.1b0": [ { "comment_text": "", "digests": { "md5": "5ea816ec209ac67fa4f30e26efe5c687", "sha256": "b1ec76a0ab0eb3f1ede25a5c5027a18ef190e04c70fa7a04d004704b8b5f9dc3" }, "downloads": -1, "filename": "perspective-0.1b0.tar.gz", "has_sig": false, "md5_digest": "5ea816ec209ac67fa4f30e26efe5c687", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1613, "upload_time": "2017-03-06T06:57:50", "url": "https://files.pythonhosted.org/packages/3f/2a/5e0aac9fad9364540ed399ec1142d22102fd161bc5e5a5e563128e80f442/perspective-0.1b0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "393a590a659da1a75a3db8a1bf3cbaac", "sha256": "6e92811a4c0f00e55c09d0c56964d97976e908abcf43c2c4f1d97e1fa570e384" }, "downloads": -1, "filename": "perspective-0.1.tar.gz", "has_sig": false, "md5_digest": "393a590a659da1a75a3db8a1bf3cbaac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1612, "upload_time": "2018-05-20T22:55:09", "url": "https://files.pythonhosted.org/packages/00/56/4adb6329da2cfea247c9305502df3909a67fd77d2b36e003a951ba8732b6/perspective-0.1.tar.gz" } ] }