Metadata-Version: 1.1
Name: pyramid_recaptcha
Version: 1.0.2
Summary: A pyramid/deform widget implementing googles recaptcha widget.
Home-page: https://github.com/pretagov/pyramid_recaptcha.git
Author: Jon Pentland, PretaGov Ltd
Author-email: jon.pentland@pretagov.co.uk
License: UNKNOWN
Description: pyramid_recaptcha
        =================
        
        pyramid_recaptcha is a deform widget for Pyramid, implementing the google recaptcha service. See (https://developers.google.com/recaptcha/)
        
        Installation
        ------------
        Get a public and private API key from google. https://developers.google.com/recaptcha/
        
        Add `pyramid_recaptcha` in `install_requires` in your `setup.py`.
        and edit `production.ini` in your Pyramid application to add::
        
            pyramid.includes =
                ...
                pyramid_recaptcha
        
            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',
                                              widget=deferred_recaptcha_widget)
        
        
        Bind the `request` variable when rendering the form::
        
            MyForm().bind(request=self.request)
        
        
        Changelog
        =========
        
        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]
        
Keywords: pyramid deform recaptcha captcha
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Pylons
Classifier: Framework :: Pyramid
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: User Interfaces
