skip to navigation
skip to content

wsgiakismet 0.1

Akismet SPAM blocking WSGI middleware.

Validates form submissions against the Akismet service to verify that they are not spam.

Simple usage example:

import cgi
from wsgiakismet import akismet

# Wordpress API Key and website name are required arguments
@akisimet('3489012ab121', '')
def app(env, start_response):
     usersub = cgi.parse(fp=env['wsgi.input'], environ=env)
     start_response('200 OK', [('Content-type', 'text/plain')])
     return ['Comment is %s' % usersub['comment'][0]]
File Type Py Version Uploaded on Size
wsgiakismet-0.1-py2.4.egg (md5) Python Egg 2.4 2006-11-21 10KB
wsgiakismet-0.1-py2.5.egg (md5) Python Egg 2.5 2006-12-11 10KB
wsgiakismet-0.1.tar.bz2 (md5) Source 2006-11-21 8KB
wsgiakismet-0.1.tar.gz (md5) Source 2006-11-21 8KB
wsgiakismet-0.1.win32.exe (md5) MS Windows installer 2.4 2006-11-21 66KB (md5) Source 2006-11-21 11KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 81 downloads in the last week
  • 408 downloads in the last month