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 | 508 |
| wsgiakismet-0.1.tar.bz2 (md5) | Source | 2006-11-21 21:42:39 | 8KB | 318 | |
| wsgiakismet-0.1.win32.exe (md5) | MS Windows installer | 2.4 | 2006-11-21 21:42:57 | 66KB | 288 |
| wsgiakismet-0.1-py2.4.egg (md5) | Python Egg | 2.4 | 2006-11-21 21:40:14 | 10KB | 521 |
| wsgiakismet-0.1.zip (md5) | Source | 2006-11-21 21:43:07 | 11KB | 227 | |
| wsgiakismet-0.1.tar.gz (md5) | Source | 2006-11-21 21:42:47 | 8KB | 241 | |
- Author: L. C. Rees <lcrees at gmail com>
- Keywords: WSGI comment spam blocking blog middleware web HTTP
- License: BSD
- Categories
- Package Index Owner: lcrees
- DOAP record: wsgiakismet-0.1.xml
Log in to rate this package.
