{ "info": { "author": "Artem Gluvchynsky", "author_email": "excieve@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=================\nWTForms-reCaptcha\n=================\n\nOverview\n--------\nWTForms-reCaptcha is a convenient field for `WTForms `_ that transparently handles\nreCaptcha display and validation via corresponding widget and validator classes.\n\nreCaptcha\n---------\n| To get an idea about reCaptcha see the `docs `_.\n| To start working with it, first get reCaptcha keys `here `_.\n\n\nInstallation\n------------\nGet the distribution::\n\n pip install wtforms-recaptcha\n\nor if you want the latest::\n\n pip install hg+http://bitbucket.org/excieve/wtforms-recaptcha#egg=wtforms-recaptcha\n\nor get hg clone of the source code::\n\n hg clone http://bitbucket.org/excieve/wtforms-recaptcha\n cd wtforms-recaptcha\n python setup.py install\n\n\nUsage\n-----\nIt is mostly the usual WTForms field that needs some extra data and parameters.\nHere's a simple example::\n\n from wtforms.form import Form\n from wtfrecaptcha.fields import RecaptchaField\n\n\n class CaptchaForm(Form):\n captcha = RecaptchaField(public_key=RECAPTCHA_PUB_KEY, private_key=RECAPTCHA_PRIV_KEY, secure=True)\n\n\n form = CaptchaForm(request.POST, captcha={'ip_address': request.META['REMOTE_ADDR']})\n if form.validate():\n print \"Captcha response is correct\"\n else:\n print form.errors['captcha']\n\n\nSome description of field's parameters:\n\n:public_key:\n Public key generated by reCaptcha service\n:private_key:\n Private key generated by reCaptcha service\n:secure:\n True if it should be served via HTTPS, False otherwise. Default: *False*.\n:http_proxy:\n URL of HTTP proxy for API calls\n\nWhen form with RecaptchaField is instantiated with bound fields, it must include\n*captcha* keyword parameter with dict that has 'ip_address' element.\n\n\nOther details\n-------------\nAccessing field as a string will get the widget code with URLs that depend on\n*secure* parameter passed to the field.\n\nHTTP errors and errors that are indepentent of user input are logged.\nOthers are handled as validation errors.\n\n\nLicense\n-------\n| WTForms-reCaptcha is released under BSD license.\n| Copyright (c) 2010-2012 Artem Gluvchynsky and contributors.\n\nSee LICENSE for full licensing information.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/excieve/wtforms-recaptcha", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "wtforms-recaptcha", "package_url": "https://pypi.org/project/wtforms-recaptcha/", "platform": "any", "project_url": "https://pypi.org/project/wtforms-recaptcha/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/excieve/wtforms-recaptcha" }, "release_url": "https://pypi.org/project/wtforms-recaptcha/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Custom WTForms field that handles reCaptcha display and validation", "version": "0.3.2" }, "last_serial": 1125564, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ff9c7c6b21b91440885700cc57c68271", "sha256": "cf5ea36403402383ba4fd1a38a8b876c11d1f4525d1fa3fd03d195b400b35046" }, "downloads": -1, "filename": "wtforms-recaptcha-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ff9c7c6b21b91440885700cc57c68271", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5950, "upload_time": "2010-10-25T03:39:12", "url": "https://files.pythonhosted.org/packages/f4/8a/b5effddee2228aa0c15d66ad161c9721f4f7dfe280ca569c20ccf80cde00/wtforms-recaptcha-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b7fb42388479d0aafe2a4b222ecedd35", "sha256": "2fbc1d5d0af836f3c34b97ee4689f9abd49114c808e50caf6869cad8a51f32e9" }, "downloads": -1, "filename": "wtforms-recaptcha-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b7fb42388479d0aafe2a4b222ecedd35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6130, "upload_time": "2012-02-04T23:11:01", "url": "https://files.pythonhosted.org/packages/60/1e/01bdbe052047e5e56655961486ea50d68a3778d1d81be47a07b260a3a501/wtforms-recaptcha-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d2ccf718a84b2042760382419daa896f", "sha256": "955d5a880be4847ca42d577b800f9d5df175378879bbad54c58401c47b834a67" }, "downloads": -1, "filename": "wtforms-recaptcha-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d2ccf718a84b2042760382419daa896f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6222, "upload_time": "2013-12-19T23:12:45", "url": "https://files.pythonhosted.org/packages/9b/02/3ca83cad2997b9579361fd526f429c9bdd8a7a4a700f5a87f896fbdff1d8/wtforms-recaptcha-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "02ddf2e7b4286bf8383e7d3fdcce9ac9", "sha256": "97ce4f157e8d31340b6735f348fed6967615c8c686a4f49dac0507a577122ca5" }, "downloads": -1, "filename": "wtforms_recaptcha-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "02ddf2e7b4286bf8383e7d3fdcce9ac9", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 7478, "upload_time": "2014-02-13T21:52:15", "url": "https://files.pythonhosted.org/packages/d8/0a/686d8717f0240cf4618e4b16b615f0c5d5754b8aa47f575aaaf16b5bbb71/wtforms_recaptcha-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d21aecadbb1e1affa3316e824bd9966", "sha256": "1e32e8d7135134739a557d2d7956a95fbf903f7afea44b7ccd169365f4368a55" }, "downloads": -1, "filename": "wtforms-recaptcha-0.3.1.tar.gz", "has_sig": false, "md5_digest": "6d21aecadbb1e1affa3316e824bd9966", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6288, "upload_time": "2014-02-13T21:45:12", "url": "https://files.pythonhosted.org/packages/ce/c9/090e3137707c0e7bc2439b425590b27809514423c4d8b6ea0b8024b9265d/wtforms-recaptcha-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "8bac14d9baf1dc7224f962914a502910", "sha256": "a9ace04fd1a939325276794f1816a97ddd84ef1b11f3f328670f7341e4450cb3" }, "downloads": -1, "filename": "wtforms_recaptcha-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8bac14d9baf1dc7224f962914a502910", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7513, "upload_time": "2014-06-15T15:50:04", "url": "https://files.pythonhosted.org/packages/5c/b0/42021ab061b768e3e5f430466219468c2afec99fe706e4340792d7a6fab4/wtforms_recaptcha-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3d7d1d02d0ecdb50d653c4e46ba75b1", "sha256": "b566bffea417b05beb3424ca777e8618beb25770ac237c37c0bf8dd1db0e8496" }, "downloads": -1, "filename": "wtforms-recaptcha-0.3.2.tar.gz", "has_sig": false, "md5_digest": "c3d7d1d02d0ecdb50d653c4e46ba75b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6339, "upload_time": "2014-06-15T15:50:01", "url": "https://files.pythonhosted.org/packages/20/ae/90bf651b4fb0fbbaa2851bfd2298d011f8b6110e4b6778b8d72ca308a1a9/wtforms-recaptcha-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8bac14d9baf1dc7224f962914a502910", "sha256": "a9ace04fd1a939325276794f1816a97ddd84ef1b11f3f328670f7341e4450cb3" }, "downloads": -1, "filename": "wtforms_recaptcha-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8bac14d9baf1dc7224f962914a502910", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7513, "upload_time": "2014-06-15T15:50:04", "url": "https://files.pythonhosted.org/packages/5c/b0/42021ab061b768e3e5f430466219468c2afec99fe706e4340792d7a6fab4/wtforms_recaptcha-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3d7d1d02d0ecdb50d653c4e46ba75b1", "sha256": "b566bffea417b05beb3424ca777e8618beb25770ac237c37c0bf8dd1db0e8496" }, "downloads": -1, "filename": "wtforms-recaptcha-0.3.2.tar.gz", "has_sig": false, "md5_digest": "c3d7d1d02d0ecdb50d653c4e46ba75b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6339, "upload_time": "2014-06-15T15:50:01", "url": "https://files.pythonhosted.org/packages/20/ae/90bf651b4fb0fbbaa2851bfd2298d011f8b6110e4b6778b8d72ca308a1a9/wtforms-recaptcha-0.3.2.tar.gz" } ] }