{ "info": { "author": "Oliver Cope", "author_email": "oliver@redgecko.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Formalize: form processing and validation\n=========================================\n\nFormalize is designed to process and validate web form data cleanly and easily.\n\nA FormValidator object looks like this::\n\n\t>>> v = FormValidator(\n\t... \tfirstname=Unicode(),\n\t... \tsurname=Unicode(required=\"Please enter your surname\"),\n\t... \tage=Int(greaterthan(18, \"You must be at least 18 to proceed\"), required=False),\n\t... )\n\nAnd can be applied to any data held in a dictionary-like object::\n\n >>> input_data = {\n ... 'firstname': u'Fred',\n ... 'surname': u'Jones',\n ... 'age': u'21',\n ... }\n >>> v.process(input_data)\n {'age': 21, 'firstname': u'Fred', 'surname': u'Jones'}\n\nWhen validation fails, a ``ValidationError`` is raised. This contains error\nmessages for all the failing validation tests::\n\n >>> input_data = {\n ... 'firstname': u'Fred',\n ... 'age': u'16',\n ... }\n >>> v.process(input_data)\n Traceback (most recent call last):\n ...\n\tValidationError: ValidationError([('surname', 'Please enter your\n\tsurname'), ('age', 'You must be at least 18 to proceed')])\n\nDocumentation and download\n---------------------------\n\n* `Documentation for the latest version `_.\n\n* Download the python egg from the `Python Package Index `_\n\n* View the source code on `patch-tag.com `_\n\nLicensing\n----------\n\nFormalize is available under the terms of the `new BSD licence `_.\n\n\nChanges\n=========\n\nVersion 0.1.4\n\n* Bugfix for default format argument to Date validator\n\nVersion 0.1.3\n\n* Allowed multiple, independent validators to be applied for the same source field.\n\nVersion 0.1.2\n\n* Support for tracking validation context in ListValidators\n\n* Support for multiple When objects in a MappingValidator\n\n* Bugfixes for DateValidator \n\nVersion 0.1.1\n\n* Bugfix for ListValidator error reporting\n\nVersion 0.1.0\n\n* Initial public release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://ollycope.com/software/formalize/", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "formalize", "package_url": "https://pypi.org/project/formalize/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/formalize/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://ollycope.com/software/formalize/" }, "release_url": "https://pypi.org/project/formalize/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Form processing and validation", "version": "0.1.4" }, "last_serial": 2952302, "releases": { "0": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "334e6948e211ad940b8ed44936b72144", "sha256": "a7ef39ab41555b742d0ae730b0d5bb01c08214a7b039c0891050f7696d9cd4bb" }, "downloads": -1, "filename": "formalize-0.1.0.tar.gz", "has_sig": false, "md5_digest": "334e6948e211ad940b8ed44936b72144", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25062, "upload_time": "2010-09-28T10:32:52", "url": "https://files.pythonhosted.org/packages/7d/2b/f0ce2e3861eb99c32ecd8a8ad8aa80cb8aff003b7dfa93f3502e65384aae/formalize-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f4b7feceaa953900a64124122a874898", "sha256": "c2ab243afbdafd3c0f768a4d1a03a4298d29886a85a5f132ed7b34e97a48eac0" }, "downloads": -1, "filename": "formalize-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f4b7feceaa953900a64124122a874898", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24060, "upload_time": "2010-11-10T16:40:17", "url": "https://files.pythonhosted.org/packages/8a/18/bab5f76ced1f5ced9dca2755fc228244591e28b40898b38a5c0aee61475f/formalize-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8053ba1dd017cb60641fdaf26c51496e", "sha256": "d32acf7cd45b2b299a656c2036e95051e6a67b2cd9c43f20366fe28f54ec6a72" }, "downloads": -1, "filename": "formalize-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8053ba1dd017cb60641fdaf26c51496e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24367, "upload_time": "2011-03-09T19:41:35", "url": "https://files.pythonhosted.org/packages/fd/81/9c5f76539c6b5726f67c013a3c92dfe6f4a8f53ce7c4e1944518ced04878/formalize-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1cc511a2b747e71e881ee143e7083772", "sha256": "e5e01c4fd75354abb1167f063aa9d90dff9396ec7ad7cf3a918fa26c8492b3e7" }, "downloads": -1, "filename": "formalize-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1cc511a2b747e71e881ee143e7083772", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25880, "upload_time": "2011-06-02T17:12:51", "url": "https://files.pythonhosted.org/packages/9c/9d/d76721a62f138a7eaada5301a1bc9991239d0c5b4acf40442c132edf264c/formalize-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "c22bb527476ac4150a4f652e289f0745", "sha256": "08583c90eb43efd90c965f36d326c18906ec139b57ab61e1a2ac7e0a860cb405" }, "downloads": -1, "filename": "formalize-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c22bb527476ac4150a4f652e289f0745", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24918, "upload_time": "2012-11-20T10:06:17", "url": "https://files.pythonhosted.org/packages/42/d8/a4bf94ea2ad7d27fffb105615acb5aae9f7e6031d2d69849e8f7b3ee1e5a/formalize-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c22bb527476ac4150a4f652e289f0745", "sha256": "08583c90eb43efd90c965f36d326c18906ec139b57ab61e1a2ac7e0a860cb405" }, "downloads": -1, "filename": "formalize-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c22bb527476ac4150a4f652e289f0745", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24918, "upload_time": "2012-11-20T10:06:17", "url": "https://files.pythonhosted.org/packages/42/d8/a4bf94ea2ad7d27fffb105615acb5aae9f7e6031d2d69849e8f7b3ee1e5a/formalize-0.1.4.tar.gz" } ] }