{ "info": { "author": "Nekmo", "author_email": "contacto@nekmo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": ".. image:: https://img.shields.io/travis/Nekmo/python-akismet.svg?style=flat-square&maxAge=2592000\n :target: https://travis-ci.org/Nekmo/python-akismet\n :alt: Latest Travis CI build status\n\n.. image:: https://img.shields.io/pypi/v/python-akismet.svg?style=flat-square\n :target: https://pypi.python.org/pypi/python-akismet\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/pypi/pyversions/python-akismet.svg?style=flat-square\n :target: https://pypi.python.org/pypi/python-akismet\n :alt: Python versions\n\n.. image:: https://img.shields.io/codeclimate/github/Nekmo/python-akismet.svg?style=flat-square\n :target: https://codeclimate.com/github/Nekmo/python-akismet\n :alt: Code Climate\n\n.. image:: https://img.shields.io/codecov/c/github/Nekmo/python-akismet/master.svg?style=flat-square\n :target: https://codecov.io/github/Nekmo/python-akismet\n :alt: Test coverage\n\n.. image:: https://img.shields.io/requires/github/Nekmo/python-akismet.svg?style=flat-square\n :target: https://requires.io/github/Nekmo/python-akismet/requirements/?branch=master\n :alt: Requirements Status\n\n\nPython-akismet\n##############\n\nPykismet3 fork. Support older versions of Python and improvements.\n\nSupported API\n=============\n\nThe Following Akismet API Calls are currently supported:\n\n- Comment Check\n- Submit Ham\n- Submit Spam\n\nUnsupported API\n===============\n\nThe following Akismet API Calls are not yet supported:\n* Key Verification\n\nInstallation\n============\n\n1. Signup for Akismet and get yourself an API key at http://akismet.com/plans/ (You don't need to pay)\n\n2. Install this library::\n\n pip install python-akismet\n\n3. Make some calls to Akismet (see example below to get started)\n\nExample\n=======\n\nImport and instance Akismet.\n\n.. code-block:: python\n\n from akismet import Akismet\n\n # API KEY (first argument) is required. blog can be defined later.\n akismet = Akismet('1ba29d6f120c', blog=\"http://your.blog/url\",\n application_user_agent=\"My Application Name/0.0.1\")\n\n\nComment Check\n-------------\n\n.. code-block:: python\n\n akismet.check('192.168.1.3', 'Firefox / COMMENT USER AGENT', comment_author='King Arthur',\n comment_author_email='arthur@camelot.co.uk', comment_author_url='http://camelot.co.uk',\n comment_content='The Lady of the Lake, her arm clad in the purest shimmering samite, '\n 'held aloft Excalibur from the bosom of the water, signifying by divine'\n ' providence that I, Arthur, was to carry Excalibur. That is why I '\n 'am your king.', referrer='http://camelot-search/?q=Peasant+Woman')\n\nSubmit Ham\n----------\n\n.. code-block:: python\n\n akismet.submit_ham('192.168.1.12', 'FIREFOX / COMMENT USER AGENT', comment_author='Tim',\n comment_author_email='tim@witch.co.uk',\n comment_author_url='http://witch.co.uk',\n comment_content=\"Look, that rabbit's got a vicious streak a mile wide!\"\n \"It's a killer!\")\n\nSubmit Spam\n-----------\n\n.. code-block:: python\n\n akismet.submit_spam('192.168.1.4', 'FIREFOX / COMMENT USER AGENT', comment_author='Frenchman',\n comment_author_email='frenchman@guy-de-lombard.fr',\n comment_author_url='http://guy-de-lombard.fr',\n comment_content=\"You don't frighten us, English pig-dogs! Go and boil your \"\n \"bottoms, sons of a silly person! I blow my nose at you, \"\n \"so-called Ah-thoor Keeng, you and all your silly English \"\n \"K-n-n-n-n-n-n-n-niggits!\")\n\nDocumentation\n#############\n\nThe examples above show you pretty much everything you need to know.\n\nFor a full list of supported parameters for each API call, see http://akismet.com/development/api/\n\nThe code is only ~100 lines long anyway, so just look at '''akismet''' if you aren't sure about something.\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/Nekmo/python-akismet/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Nekmo/python-akismet", "keywords": "akismet", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-akismet", "package_url": "https://pypi.org/project/python-akismet/", "platform": "linux", "project_url": "https://pypi.org/project/python-akismet/", "project_urls": { "Download": "https://github.com/Nekmo/python-akismet/archive/master.zip", "Homepage": "https://github.com/Nekmo/python-akismet" }, "release_url": "https://pypi.org/project/python-akismet/0.4.1/", "requires_dist": null, "requires_python": "", "summary": "Akismet v1.1 module for Python.\n", "version": "0.4.1" }, "last_serial": 3778798, "releases": { "0.1.0": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e734101dd1081661d276679f2c7421af", "sha256": "2c526912e547a3036f48d768054ed3240d0be033d2d943810df28f823c287be8" }, "downloads": -1, "filename": "python-akismet-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e734101dd1081661d276679f2c7421af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8966, "upload_time": "2016-04-16T15:44:42", "url": "https://files.pythonhosted.org/packages/bd/d6/dca78433a009808f7d4737c664afa211271cf983e1b38a5ebe22c7d597ac/python-akismet-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "43a3c764533b84300ed55abceacfb98d", "sha256": "1c5dd37e258e14f7083d74761b41712279302fb0dae49add38b96ee9aa4fa187" }, "downloads": -1, "filename": "python-akismet-0.2.1.tar.gz", "has_sig": false, "md5_digest": "43a3c764533b84300ed55abceacfb98d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8965, "upload_time": "2016-04-16T15:48:02", "url": "https://files.pythonhosted.org/packages/56/46/36e9c873b409c1b86cdd02fad33d21d0cd4cffe3ff5fd60848da6aaf550d/python-akismet-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "8f556aa1c3184a3af15359fa85422e27", "sha256": "cd10a83fe11a86116100ed4aaca10c835c3ac924b961303df9a8fecbc0e6b189" }, "downloads": -1, "filename": "python-akismet-0.2.2.tar.gz", "has_sig": false, "md5_digest": "8f556aa1c3184a3af15359fa85422e27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9081, "upload_time": "2016-04-16T16:33:29", "url": "https://files.pythonhosted.org/packages/fe/c3/eef4b17ac56b4b571f3a4cda88af2b24cc5545931008ae32dc2df09a63a1/python-akismet-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "efe63c0de97dbc79cac1850c6c1ceee6", "sha256": "a13743e5910f27cd406dbcbb359f32064137497d8462c3c7f74863c49a2ff84a" }, "downloads": -1, "filename": "python-akismet-0.2.3.tar.gz", "has_sig": false, "md5_digest": "efe63c0de97dbc79cac1850c6c1ceee6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9224, "upload_time": "2016-04-16T16:46:31", "url": "https://files.pythonhosted.org/packages/56/6e/a15c08efb8f0849d1b9135a891c368096576d7b385ceb49f2ed487ddf252/python-akismet-0.2.3.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f28d2c52204091deb9b684174c9b2f94", "sha256": "3cdcf91bf9b67cd41d311177cb7870bc6777f2e96e9e0a6892ced7b0c52950bb" }, "downloads": -1, "filename": "python-akismet-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f28d2c52204091deb9b684174c9b2f94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9254, "upload_time": "2017-02-11T00:24:04", "url": "https://files.pythonhosted.org/packages/33/5d/76fc258aad895b08b3f07f615766a31dd01e87c5ef87a131db01671debbe/python-akismet-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "6e1a44d15888b2156917f59fb04a53e2", "sha256": "d7c7f5fe56f5022e906c57a714890e244a789c3f5dbb73332ef8905c3b36375c" }, "downloads": -1, "filename": "python-akismet-0.4.0.tar.gz", "has_sig": false, "md5_digest": "6e1a44d15888b2156917f59fb04a53e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9863, "upload_time": "2018-04-11T18:34:04", "url": "https://files.pythonhosted.org/packages/8b/45/928a261499001f032e877752a2a8737e213d5411cc62cb904346499022f7/python-akismet-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "a7848db1c83ca98df54f156eaa674c3c", "sha256": "25f866a611962fbd54033f254abe6c63fdaca9329ccf650a7a75c7a044005b15" }, "downloads": -1, "filename": "python-akismet-0.4.1.tar.gz", "has_sig": false, "md5_digest": "a7848db1c83ca98df54f156eaa674c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9836, "upload_time": "2018-04-18T22:40:52", "url": "https://files.pythonhosted.org/packages/a8/aa/c81d388d5bc82446cb2a346f3d79b91be8b5703ae65c6e0738cdeab953a1/python-akismet-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7848db1c83ca98df54f156eaa674c3c", "sha256": "25f866a611962fbd54033f254abe6c63fdaca9329ccf650a7a75c7a044005b15" }, "downloads": -1, "filename": "python-akismet-0.4.1.tar.gz", "has_sig": false, "md5_digest": "a7848db1c83ca98df54f156eaa674c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9836, "upload_time": "2018-04-18T22:40:52", "url": "https://files.pythonhosted.org/packages/a8/aa/c81d388d5bc82446cb2a346f3d79b91be8b5703ae65c6e0738cdeab953a1/python-akismet-0.4.1.tar.gz" } ] }