Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

A pyramid/deform widget implementing googles recaptcha widget.

Project Description


pyramid_recaptcha is a deform widget for Pyramid, implementing the google recaptcha service. See (


Get a public and private API key from google.

Add pyramid_recaptcha in install_requires in your and edit production.ini in your Pyramid application to add:

pyramid.includes =

pyramid_recaptcha.public_key = your_public_key
pyramid_recaptcha.private_key = your_private_key

Add the widget to a form:

import colander
from pyramid_recaptcha import deferred_recaptcha_widget

class MyForm(colander.MappingSchema):

    captcha = colander.SchemaNode(colander.String(),
                                  title='Verify you are human',

Bind the request variable when rendering the form:



1.0.2 (2016-12-08)

  • Force relative import, fixes Python 3 [miohtama]

1.0.1 (2016-11-04)

  • Fix adding templates to search path [instification]

1.0 (2016-11-04)

  • Initial version [instification]
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_recaptcha-1.0.2.tar.gz (15.6 kB) Copy SHA256 Checksum SHA256 Source Dec 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting