skip to navigation
skip to content

Not Logged In

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', 'http://blog.example.com/')
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 # downloads
wsgiakismet-0.1-py2.5.egg (md5) Python Egg 2.5 2006-12-11 01:16:09 10KB 464
wsgiakismet-0.1.tar.bz2 (md5) Source 2006-11-21 21:42:39 8KB 279
wsgiakismet-0.1.win32.exe (md5) MS Windows installer 2.4 2006-11-21 21:42:57 66KB 271
wsgiakismet-0.1-py2.4.egg (md5) Python Egg 2.4 2006-11-21 21:40:14 10KB 470
wsgiakismet-0.1.zip (md5) Source 2006-11-21 21:43:07 11KB 190
wsgiakismet-0.1.tar.gz (md5) Source 2006-11-21 21:42:47 8KB 213