Download Python Files (tar.gz) Download Python Files (zip)
The Are You a Human Python library allows you to easily add a PlayThru; CAPTCHA alternative to forms on your website.
The AYAH Python Integration Library is compatible with Python 2.x and 3.x. (It was built and tested on versions 2.7.x and 3.2.x.) Python 3.x requires an extra installation step as described below.
Python 2.x Installation:
python setup.py install
Python 3.x Installation:
2to3 -wn ./ayah
python3 setup.py install
The AYAH Python Integration Library is compatible with all web application frameworks.
import ayah
ayah.configure(<your-publisher-key>, <your-scoring-key>)
html = ayah.get_publisher_html()
passed = ayah.score_result(<session-secret>)
ifrequest.method == 'POST': form = LoginForm(request.POST) ifform.is_valid(): secret = form.cleaned_data['session_secret'] passed = ayah.score_result(secret) # Redirect...
Congratulations, your application detects humans without requiring CAPTCHA!
If PlayThru isn't loading for you, please check the following:
If you need further support, head on over to our Support Center. We'd be more than happy to help you out!
If you run into any issues during your installation process please use our support forums. We appreciate all feedback and are ready to help! Follow us on Twitter and Facebook for PlayThru™ updates.
Copyright © 2011 AYAH LLC http://www.areyouahuman.com
BY USING THIS SOFTWARE YOU AGREE TO THE TERMS AND CONDITIONS FOUND AT: terms_of_service.