{ "info": { "author": "Alisue", "author_email": "lambdalisue@hashnote.net", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "Django's genetic spam inspector library via Akismet\n\n\nInstall\n===========================================\n\n\tsudo pip install django-spaminspector\n\nor\n\n sudo pip install git+git://github.com/lambdalisue/django-spaminspector.git#egg=django-spaminspector\n\n\nHow to Use\n==========================================\n\n1.\tFirst, you need to specified ``SPAMINSPECTOR_AKISMET_KEY`` on ``settings.py``\n2. Add ``spaminspector`` to ``INSTALLED_APPS`` on ``settings.py``\n3. Add ``spaminspector.middleware.SpamInspectionMiddleware`` to ``MIDDLEWARE_CLASSES`` on ``settings.py``\n4. Add view which you want to inspect to ``SPAMINSPECTOR_VIEWS``\n The code below is a profile for django's comment framework::\n\n SPAMINSPECTOR_VIEWS = (\n ('django.contrib.comments.views.comments.post_comment', {\n 'comment_type': 'comment',\n 'comment_author': lambda request: request.POST.get('name', \"\"),\n 'comment_author_email': lambda request: request.POST.get('email', \"\"),\n 'comment_author_url': lambda request: request.POST.get('url', \"\"),\n 'comment_contents': lambda request: request.POST.get('comment', \"\"),\n }),\n )\n\nSettings\n=========================================\n``SPAMINSPECTOR_VIEWS``\n the list of view and inspection_profile. default settings is for django comment framework.\n\n``SPAMINSPECTOR_AKISMET_KEY``\n the api key of Akismet of your url.\n\n``SPAMINSPECTOR_SPAM_TEMPLATE``\n an template uri. this template is used to show when comment is detected as spam. (optional)", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/lambdalisue/django-spaminspector/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lambdalisue/django-spaminspector", "keywords": "django generic spam inspector filtering akismet", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-spaminspector", "package_url": "https://pypi.org/project/django-spaminspector/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-spaminspector/", "project_urls": { "Download": "https://github.com/lambdalisue/django-spaminspector/tarball/master", "Homepage": "https://github.com/lambdalisue/django-spaminspector" }, "release_url": "https://pypi.org/project/django-spaminspector/0.1rc4/", "requires_dist": null, "requires_python": null, "summary": "django-spaminspector is a generic spam inspector of Django via Akismet", "version": "0.1rc4" }, "last_serial": 790711, "releases": { "0.1rc3": [ { "comment_text": "built for Darwin-11.0.0", "digests": { "md5": "bf4b6d37d881447d3a16a52ff5d9dd19", "sha256": "ad118eb38b3ed76824583ed24760159f387e8be4b392e94df37eb5c4e3aa00b1" }, "downloads": -1, "filename": "django-spaminspector-0.1rc3.macosx-10.7-intel.tar.gz", "has_sig": false, "md5_digest": "bf4b6d37d881447d3a16a52ff5d9dd19", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 4764, "upload_time": "2011-07-22T16:43:32", "url": "https://files.pythonhosted.org/packages/80/10/0fd2880041ad173a8334fe9d4958d1948f5b324fdd839843e4dbbe898d01/django-spaminspector-0.1rc3.macosx-10.7-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "dc44d337b676640ae21a719253847a6a", "sha256": "820b72e2cc791cea056eb9bc7873729975c8079c62d0fb78cd44f3be63e9546a" }, "downloads": -1, "filename": "django_spaminspector-0.1rc3-py2.7.egg", "has_sig": false, "md5_digest": "dc44d337b676640ae21a719253847a6a", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6744, "upload_time": "2011-07-22T16:43:34", "url": "https://files.pythonhosted.org/packages/7f/69/3a9fbe1675b5d8a3aa98a4e8a58f8d303e32435691facf800a7eb6c16027/django_spaminspector-0.1rc3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a3a441a27e761912a69de295188b3ba9", "sha256": "3ae65608ab81703907332b8620de0495ca11b0c8a3d5b136db7c162e91baa564" }, "downloads": -1, "filename": "django-spaminspector-0.1rc3.tar.gz", "has_sig": false, "md5_digest": "a3a441a27e761912a69de295188b3ba9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3383, "upload_time": "2011-07-22T16:43:31", "url": "https://files.pythonhosted.org/packages/0a/b8/5839378d81c05a47da7e73f8085c8ef105363fe157d000785e33905b2bc6/django-spaminspector-0.1rc3.tar.gz" } ], "0.1rc4": [ { "comment_text": "", "digests": { "md5": "2826677fda28c5b9086c74c8bf371cd4", "sha256": "11e91c26dc8d28706281a370b71c7c59c664b1f8e5738bc9fc04e9170cb46f06" }, "downloads": -1, "filename": "django_spaminspector-0.1rc4-py2.7.egg", "has_sig": false, "md5_digest": "2826677fda28c5b9086c74c8bf371cd4", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6860, "upload_time": "2011-07-22T17:02:34", "url": "https://files.pythonhosted.org/packages/b4/b5/bc31f273e4d065d49f0994dfcd24fa45191ee9aa7975cae4d54f17b995b6/django_spaminspector-0.1rc4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c78afcc4337093168695b195312db9d2", "sha256": "81b10550e95335de3f4083d359afa18c1e684b5130e78920bb165f0b2cc394f2" }, "downloads": -1, "filename": "django-spaminspector-0.1rc4.tar.gz", "has_sig": false, "md5_digest": "c78afcc4337093168695b195312db9d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7601, "upload_time": "2011-07-22T17:02:30", "url": "https://files.pythonhosted.org/packages/42/44/c2dcd3e6291f9465bee46a03715072e4a2e080f64622382b6dba25f365a1/django-spaminspector-0.1rc4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2826677fda28c5b9086c74c8bf371cd4", "sha256": "11e91c26dc8d28706281a370b71c7c59c664b1f8e5738bc9fc04e9170cb46f06" }, "downloads": -1, "filename": "django_spaminspector-0.1rc4-py2.7.egg", "has_sig": false, "md5_digest": "2826677fda28c5b9086c74c8bf371cd4", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6860, "upload_time": "2011-07-22T17:02:34", "url": "https://files.pythonhosted.org/packages/b4/b5/bc31f273e4d065d49f0994dfcd24fa45191ee9aa7975cae4d54f17b995b6/django_spaminspector-0.1rc4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c78afcc4337093168695b195312db9d2", "sha256": "81b10550e95335de3f4083d359afa18c1e684b5130e78920bb165f0b2cc394f2" }, "downloads": -1, "filename": "django-spaminspector-0.1rc4.tar.gz", "has_sig": false, "md5_digest": "c78afcc4337093168695b195312db9d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7601, "upload_time": "2011-07-22T17:02:30", "url": "https://files.pythonhosted.org/packages/42/44/c2dcd3e6291f9465bee46a03715072e4a2e080f64622382b6dba25f365a1/django-spaminspector-0.1rc4.tar.gz" } ] }