{ "info": { "author": "David L. Day", "author_email": "dday376@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python", "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" ], "description": "pointofview\n===========\n\n.. image:: https://img.shields.io/pypi/v/pointofview.svg\n :target: https://pypi.python.org/pypi/pointofview\n :alt: Latest PyPI version\n\n.. image:: https://travis-ci.org/prosegrinder/python-pointofview.svg?branch=master\n :target: https://travis-ci.org/prosegrinder/python-pointofview\n :alt: Latest Travis CI build status\n\n.. image:: https://api.codacy.com/project/badge/Grade/df0afcc70ffc4a86a8777588567820c0\n :target: https://www.codacy.com/app/ProseGrinder/python-pointofview?utm_source=github.com&utm_medium=referral&utm_content=prosegrinder/python-pointofview&utm_campaign=Badge_Grade\n :alt: Latest Codacy Coverage Report\n\nA Python package for determining a piece of text's point of view (first, second, third, or unknown).\n\nInstallation\n------------\n\n``pointofview`` is available on PyPI. Simply install it with ``pip``::\n\n $ pip install pointofview\n\nYou can also install it from source::\n\n $ git clone https://github.com/prosegrinder/python-pointofview.git\n Cloning into 'python-pointofview'...\n ...\n\n $ cd python-pointofview\n $ python setup.py install\n ...\n\nUsage\n-----\n\n``pointofview`` guesses a text's point of view by counting point of view pronouns. The main function ``get_text_pov()`` will return 'first', 'second', 'third', or null (Python's ``None`` object)::\n\n >>> import pointofview\n >>> text = \"I'm a piece of text written in first person! What are you?\"\n >>> pointofview.get_text_pov(text)\n 'first'\n\nThere are two other helper functions as well.\n\n``get_word_pov()`` returns the point of view of a single word::\n\n >>> pointofview.get_word_pov(\"I\")\n 'first'\n >>> pointofview.get_word_pov(\"nope\")\n None\n\n``parse_pov_words`` returns a dict containing all first, second, and third person pov words::\n\n >>> text = \"\"\"\n ... When I try to analyze my own cravings, motives, actions and so forth, I surrender to a sort of retrospective imagination which feeds the analytic faculty with boundless alternatives and which causes each visualized route to fork and re-fork without end in the maddeningly complex prospect of my past.\n ... \"\"\"\n >>> pointofview.parse_pov_words(text)\n {'first': ['i', 'i'], 'second': [], 'third': []}\n\nAuthors\n-------\n\n`pointofview` was written by `David L. Day `_.\n\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/prosegrinder/python-pointofview", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pointofview", "package_url": "https://pypi.org/project/pointofview/", "platform": "", "project_url": "https://pypi.org/project/pointofview/", "project_urls": { "Homepage": "https://github.com/prosegrinder/python-pointofview" }, "release_url": "https://pypi.org/project/pointofview/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "A Python package for determining a piece of text's point of view (first, second, third, or unknown).", "version": "0.3.0" }, "last_serial": 4553360, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e73324eeb00758d7f36fe9e6bca4ccde", "sha256": "5731ffa1f8c6ff3f0d81617bb0a68a86eec5abd93743a4f2a4095be8aa29f008" }, "downloads": -1, "filename": "pointofview-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e73324eeb00758d7f36fe9e6bca4ccde", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17496, "upload_time": "2018-03-18T18:41:37", "url": "https://files.pythonhosted.org/packages/a3/40/5e7087b500dc2e3f983c7c4c90baf799b2778ae064341765909e4ee8065c/pointofview-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "08d8faeb115b8975e45a83b8015c5d6b", "sha256": "e74c0e9268f083bc75f9eb37da883e743ec9372db911f2eb7e56bc9892526eae" }, "downloads": -1, "filename": "pointofview-0.1.0.tar.gz", "has_sig": false, "md5_digest": "08d8faeb115b8975e45a83b8015c5d6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16279, "upload_time": "2018-03-18T18:41:38", "url": "https://files.pythonhosted.org/packages/99/ac/b5ef4468a439f392d9b362e62350f9f713c861ee8a49cdb426a37da9a548/pointofview-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d9bd44e1ea66147588a46eeb19ec1c69", "sha256": "29d19670e0ac66608d5bf1f554b6081ca5be228cb6edf9f4d983d4f0029d91c1" }, "downloads": -1, "filename": "pointofview-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d9bd44e1ea66147588a46eeb19ec1c69", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15663, "upload_time": "2018-04-07T00:26:15", "url": "https://files.pythonhosted.org/packages/cd/fd/86d81bd3b7ebb01c11efa922eac2519fcd150c4b05b1a7e41d484c850401/pointofview-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0aeb038ee1d8fae80f5a9af7a9103e2", "sha256": "333ebc3daab073acddb955c9b375e33d4b6bda065f9c109342ba5da26532e2d4" }, "downloads": -1, "filename": "pointofview-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b0aeb038ee1d8fae80f5a9af7a9103e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17567, "upload_time": "2018-04-07T00:26:16", "url": "https://files.pythonhosted.org/packages/8d/26/6a54bd559a26ddf892da0215abed6456a0fde0e4629b35785df219bf826b/pointofview-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "966f3c6c7936099a3e5c68131a3a09f6", "sha256": "eab1281e44af82ad2cde0e10685ab6c7770620b80c40227a814287e8b9b58197" }, "downloads": -1, "filename": "pointofview-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "966f3c6c7936099a3e5c68131a3a09f6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15705, "upload_time": "2018-12-02T21:32:35", "url": "https://files.pythonhosted.org/packages/33/75/c8b42e63a07787c891b724b12eceb8b36737d00cbd89e3b3263d96df1abc/pointofview-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac92c52406cd54f1df8a524ac4d6fdbd", "sha256": "fa334891c77d2ec1f54632cab4f3c7d04f477d3ee518f035adde2b8c441dfad9" }, "downloads": -1, "filename": "pointofview-0.3.0.tar.gz", "has_sig": false, "md5_digest": "ac92c52406cd54f1df8a524ac4d6fdbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16390, "upload_time": "2018-12-02T21:32:37", "url": "https://files.pythonhosted.org/packages/ee/1f/54643954e910b50590489af6b56dc40469d8ae60e1e0c30bba985e7bff26/pointofview-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "966f3c6c7936099a3e5c68131a3a09f6", "sha256": "eab1281e44af82ad2cde0e10685ab6c7770620b80c40227a814287e8b9b58197" }, "downloads": -1, "filename": "pointofview-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "966f3c6c7936099a3e5c68131a3a09f6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15705, "upload_time": "2018-12-02T21:32:35", "url": "https://files.pythonhosted.org/packages/33/75/c8b42e63a07787c891b724b12eceb8b36737d00cbd89e3b3263d96df1abc/pointofview-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac92c52406cd54f1df8a524ac4d6fdbd", "sha256": "fa334891c77d2ec1f54632cab4f3c7d04f477d3ee518f035adde2b8c441dfad9" }, "downloads": -1, "filename": "pointofview-0.3.0.tar.gz", "has_sig": false, "md5_digest": "ac92c52406cd54f1df8a524ac4d6fdbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16390, "upload_time": "2018-12-02T21:32:37", "url": "https://files.pythonhosted.org/packages/ee/1f/54643954e910b50590489af6b56dc40469d8ae60e1e0c30bba985e7bff26/pointofview-0.3.0.tar.gz" } ] }