{ "info": { "author": "Keefer Rourke", "author_email": "mail@krourke.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Education", "License :: OSI Approved :: ISC License (ISCL)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Utilities" ], "description": "pyapa\n=====\n\nA Python module for checking APA style in writing.\n\nThis module provides an abstraction class, mostly composed of regular\nexpressions. This project does not aim to cover the entire APA style\nguide, but it does attempt to cover several common errors with style.\n\nTo make errors easier to visually locate, 5 characters of context are\nsometimes given, depending on the detected error.\n\n\nInstallation\n------------\n\nClone this repository and run::\n\n make install\n\nor install from Pypi::\n\n pip3 install pyapa\n\n\nInformation\n-----------\n\nPypi: https://pypi.python.org/pypi/pyapa/\n\nGithub: https://github.com/keeferrourke/pyapa\n\nContact: https://krourke.org/contact\n\nLicense: ISC License\n\n\npyapa.ApaCheck object class\n---------------------------\n\nThis class documents regular expressions to match style errors.\n\nThe `pyapa.ApaCheck.match()` method generates an array of ApaMatch objects\nand stores them in the `ApaCheck.Matches` list for easy access.\n\n\npyapa.ApaMatch object class\n---------------------------\n\nThis class contains the following members:\n\n* `ApaMatch.feedback` a unicode string intended to hold a brief\n explanation of an associated error\n* `ApaMatch.see` a URL string intended to hold an external reference to an APA\n Style guide\n* `ApaMatch.end` the position of the character in a text which marks\n the end of the target character span\n* `ApaMatch.start` the position of the character in a text which marks\n the beginning of the target character span\n* `ApaMatch.target` the matching string that contains an error\n* `ApaMatch.suggestions` a list of suggested replacement strings; at\n this time, the list is only ever one element long\n\nThere are also two helper functions to make printing these objects easy:\n\n* `ApaMatch.print()` prints the object to stdout\n* `ApaMatch.sprint()` builds a string containing information about the object\n\n\nExample usage\n-------------\n\nFrom the interpreter:\n\n>>> from pyapa import pyapa\n>>> a = pyapa.ApaCheck()\n>>> text = u'Papaya are delicious fruit, it was concluded (Author, et al. 2017).'\n>>> a.match(text)\n[]\n>>> len(a.Matches)\n1\n>>> a.Matches[0].print()\nMatch from 46 to 65 for:\nTarget: Author, et al. 2017\nFeedback: Do not put a comma before 'et al.'\nSuggestion: Author et al. 2017\n\n\nCalling the module itself:\n\n::\n\n python3 -m pyapa -i input.txt\n python3 -m pyapa -h\n Usage:\n pyapa [-h] [--version] [-o OUTPUT_FILE] -i INPUT_FILE\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/keeferrourke/pyapa", "keywords": "pyapa apa style-check writing", "license": "ISC", "maintainer": "", "maintainer_email": "", "name": "pyapa", "package_url": "https://pypi.org/project/pyapa/", "platform": "", "project_url": "https://pypi.org/project/pyapa/", "project_urls": { "Homepage": "https://github.com/keeferrourke/pyapa" }, "release_url": "https://pypi.org/project/pyapa/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "A Python module for checking APA style in writing", "version": "0.2.1" }, "last_serial": 3250557, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "1697dfb24e965a84190fc1ddf71f0ed6", "sha256": "5d291378c8314d73c3d85f9e4bf9c1f3ac99a60d95d97b6b6eeaaeb8755085a3" }, "downloads": -1, "filename": "pyapa-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1697dfb24e965a84190fc1ddf71f0ed6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6847, "upload_time": "2017-05-31T18:42:20", "url": "https://files.pythonhosted.org/packages/b2/ed/ac86a1b28c13448adc7cfa8e1d6b0a74bdc0016640a84ff72c72c06af5e7/pyapa-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c4168060399f4a22b0c492ae2f674e3b", "sha256": "23869136a07a8a2afaf28b54577518544c2f6aff169cafc67d04fc03e786daf0" }, "downloads": -1, "filename": "pyapa-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c4168060399f4a22b0c492ae2f674e3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7064, "upload_time": "2017-05-31T19:21:12", "url": "https://files.pythonhosted.org/packages/c2/f8/74bb850caece44bdda32c598b30000f57ec76064f38391e3f4d9c517188c/pyapa-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b955f95af3d49d2b105ff0b6ba407999", "sha256": "bffa48524d618f19660e95f463d4611fed727eabcd6ff61b33c58f6d1cfe5cc8" }, "downloads": -1, "filename": "pyapa-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b955f95af3d49d2b105ff0b6ba407999", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7135, "upload_time": "2017-06-05T19:29:09", "url": "https://files.pythonhosted.org/packages/ec/7f/2d3dbb767916ddbe80b440173f0925c0c596f52d2ca130ca8cfdc869d3b7/pyapa-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0bbb76946523ca086c38c37fcf9504a0", "sha256": "6c77b4b6be40fefa222cd70976ee66031a5663941d578762021b0c013056af1a" }, "downloads": -1, "filename": "pyapa-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0bbb76946523ca086c38c37fcf9504a0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9122, "upload_time": "2017-10-10T14:22:22", "url": "https://files.pythonhosted.org/packages/c6/cb/297d2399d47cbdabf23303675e74b5192b1bcd30a5101ec9da00a0f8507d/pyapa-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3fd544e95402210c96340adde51ead9b", "sha256": "c988e528882004bb2e357bc7f913028e41df912d3f4841ae18d5f3bfc04fd17b" }, "downloads": -1, "filename": "pyapa-0.2.0.tar.gz", "has_sig": true, "md5_digest": "3fd544e95402210c96340adde51ead9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7273, "upload_time": "2017-10-10T14:22:26", "url": "https://files.pythonhosted.org/packages/e8/75/77390f44c67472d4977e7f22024db33b17b66705fe90b1cee6f285e7b267/pyapa-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4c6fd6fae09c9425bf7ea1b332fca387", "sha256": "7aed3b63932a83abb060041ae06185d83365dbf1b0d7d6b894ad327926fe89e3" }, "downloads": -1, "filename": "pyapa-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4c6fd6fae09c9425bf7ea1b332fca387", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9344, "upload_time": "2017-10-14T21:02:47", "url": "https://files.pythonhosted.org/packages/7c/91/9a1ca685979f446e3e3e44e016c3172fc564741ab60c819fedf95736fa9c/pyapa-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d99ff88a421bf62f8dfd61570096b52d", "sha256": "46f9d82953bb38eb185d65f9aac7276edbe00f45e6604efe68ee5a095e45fbec" }, "downloads": -1, "filename": "pyapa-0.2.1.tar.gz", "has_sig": true, "md5_digest": "d99ff88a421bf62f8dfd61570096b52d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7485, "upload_time": "2017-10-14T21:02:49", "url": "https://files.pythonhosted.org/packages/43/5e/848d340ddfc638495bfe51cbbe22d6c721986f7f1b2ad9d65086002f62d6/pyapa-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c6fd6fae09c9425bf7ea1b332fca387", "sha256": "7aed3b63932a83abb060041ae06185d83365dbf1b0d7d6b894ad327926fe89e3" }, "downloads": -1, "filename": "pyapa-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4c6fd6fae09c9425bf7ea1b332fca387", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9344, "upload_time": "2017-10-14T21:02:47", "url": "https://files.pythonhosted.org/packages/7c/91/9a1ca685979f446e3e3e44e016c3172fc564741ab60c819fedf95736fa9c/pyapa-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d99ff88a421bf62f8dfd61570096b52d", "sha256": "46f9d82953bb38eb185d65f9aac7276edbe00f45e6604efe68ee5a095e45fbec" }, "downloads": -1, "filename": "pyapa-0.2.1.tar.gz", "has_sig": true, "md5_digest": "d99ff88a421bf62f8dfd61570096b52d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7485, "upload_time": "2017-10-14T21:02:49", "url": "https://files.pythonhosted.org/packages/43/5e/848d340ddfc638495bfe51cbbe22d6c721986f7f1b2ad9d65086002f62d6/pyapa-0.2.1.tar.gz" } ] }