Skip to main content

Akismet SPAM blocking WSGI middleware.

Project description

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]]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wsgiakismet, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size wsgiakismet-0.1-py2.4.egg (11.0 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size wsgiakismet-0.1-py2.5.egg (10.9 kB) File type Egg Python version 2.5 Upload date Hashes View
Filename, size wsgiakismet-0.1.tar.bz2 (8.4 kB) File type Source Python version None Upload date Hashes View
Filename, size wsgiakismet-0.1.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View
Filename, size wsgiakismet-0.1.win32.exe (68.6 kB) File type Windows Installer Python version 2.4 Upload date Hashes View
Filename, size wsgiakismet-0.1.zip (12.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page