Source

tw2.captcha /

Filename Size Date modified Message
tw2
38 B
100 B
1.7 KB
2.0 KB

tw2.captcha

Author: Pierre-Yves Chibon <pingou@pingoured.fr>
Author: Ralph Bean <rbean@redhat.com>

tw2.captcha is a toscawidgets2 (tw2) captcha plugin

Live Demo

Peep the live demonstration.

Description

toscawidgets2 (tw2) aims to be a practical and useful widgets framework that helps people build interactive websites with compelling features, faster and easier. Widgets are re-usable web components that can include a template, server-side code and JavaScripts/CSS resources. The library aims to be: flexible, reliable, documented, performant, and as simple as possible.

This module, tw2.captcha, provides toscawidgets2 (tw2) a captcha widget.

Sampling tw2.captcha in the WidgetBrowser

The best way to scope out tw2.captcha is to load its widgets in the tw2.devtools WidgetBrowser. To see the source code that configures them, check out tw2.captcha/tw2/captcha/samples.py

To give it a try you'll need git, python, and virtualenvwrapper. Run:

$ git clone git://github.com/toscawidgets/tw2.captcha.git
$ cd tw2.captcha
$ mkvirtualenv tw2.captcha
(tw2.captcha) $ pip install tw2.devtools
(tw2.captcha) $ python setup.py develop
(tw2.captcha) $ paster tw2.browser

...and browse to http://localhost:8000/ to check it out.