{ "info": { "author": "Jason Kraus", "author_email": "zbyte64@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "============\nIntroduction\n============\n\nwtforms-jsonschema converts WTForms into JSON Schema compatibile representations\n\n------------\nRequirements\n------------\n\n* Python 2.6 or later\n* Wtforms\n\n\n=====\nUsage\n=====\n\nTo convert a form to a JSON Schema::\n\n from wtforms_jsonschema.jsonschema import WTFormToJSONSchema\n \n schema_repr = WTFormToJSONSchema().convert_form(MyForm)\n\n\nTODO: To embed a JSON Schema as a form field::\n\n from wtforms_jsonschema.forms import JSONSchemaField\n \n #where schema is a python dictionay like schema_repr in the first exmaple\n \n class MyForm(forms.Form):\n subfield = JSONSchemaField(schema=schema)\n \n form = MyForm(data={'subfield':''})\n form.validate() #will validate the subfield entry against schema\n form['subfield'].as_widget() #will render a textarea widget with a data-schemajson attribute", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/zbyte64/wtforms-jsonschema", "keywords": "wtforms json schema", "license": "New BSD License", "maintainer": null, "maintainer_email": null, "name": "wtforms-jsonschema", "package_url": "https://pypi.org/project/wtforms-jsonschema/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wtforms-jsonschema/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/zbyte64/wtforms-jsonschema" }, "release_url": "https://pypi.org/project/wtforms-jsonschema/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "wtforms-jsonschema converts WTForms into JSON Schema compatibile representations", "version": "0.0.7" }, "last_serial": 929923, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4602dcb496256d47db743e264e8f42e0", "sha256": "64199b55be3752d3bc295324793899682d8e755c12b0dcee345c1b34a229459a" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4602dcb496256d47db743e264e8f42e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2901, "upload_time": "2013-10-15T20:45:05", "url": "https://files.pythonhosted.org/packages/8f/49/4d4972122c60787b45e383de4a8f962b5262f0fc390dd7f7324cad4daa89/wtforms-jsonschema-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "29a83256362024071338ed56ab809946", "sha256": "e9b72de2ac4986b19330a1a51e694c3246534c303505a11a473940c8eae26587" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.2.tar.gz", "has_sig": false, "md5_digest": "29a83256362024071338ed56ab809946", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2927, "upload_time": "2013-10-16T22:17:26", "url": "https://files.pythonhosted.org/packages/3a/13/003eb13d22fd0580433f7072c86629154af4d0b4a043348bdacd5636a8db/wtforms-jsonschema-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c63348f911ee1fb29948d4f24b6d47d7", "sha256": "4c8b5db3d3b20d4c53ce6cbaa564399352b84b11b5a5e49dee111ab157aaea04" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c63348f911ee1fb29948d4f24b6d47d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3087, "upload_time": "2013-10-21T22:05:42", "url": "https://files.pythonhosted.org/packages/43/4e/33f2a9c148f24837e5ecd3119e90822439f24ff6c84383b0225813baef82/wtforms-jsonschema-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "fe0b8df92c5d388147aa2a37f1e6addc", "sha256": "3f9463365aa1699e8af19d77d6ab308554cd7fe4286f19a94fa337b257476e5c" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.4.tar.gz", "has_sig": false, "md5_digest": "fe0b8df92c5d388147aa2a37f1e6addc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2013-11-07T00:17:28", "url": "https://files.pythonhosted.org/packages/a7/65/d3c159830e2f4e9950ef6cf2e17cb4af07e3039a8bf9b690e07cb03ccfa5/wtforms-jsonschema-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "6cdfb32e73b5cf48b9486e1c515d97e1", "sha256": "4ed572fe4c5eefad0bba71f31bbf34e446e99cbd04b980da568b633e8386a077" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.5.tar.gz", "has_sig": false, "md5_digest": "6cdfb32e73b5cf48b9486e1c515d97e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3240, "upload_time": "2013-11-21T01:47:38", "url": "https://files.pythonhosted.org/packages/13/20/c8ece1d339af535b0aec1feb73b11434935421187949b84085b1d9883fae/wtforms-jsonschema-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "a2a1f4f86e6dfd8892e468cbd6264f8b", "sha256": "89a26ed9d5bde9f75c3b005ebafe74734060f39c58c3de4481c5c9f6fc18e9f6" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.6.tar.gz", "has_sig": false, "md5_digest": "a2a1f4f86e6dfd8892e468cbd6264f8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3248, "upload_time": "2013-11-22T21:06:02", "url": "https://files.pythonhosted.org/packages/c6/76/0fb1205ef05b408ac24cfce3750850d59a245e4a94a6f4079a92a8b3a230/wtforms-jsonschema-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "e633445927fc375a2168ae25b81c1d06", "sha256": "62e1191c66ce81907da55c33319b4c1fca496861e4406f61f653e4b26b8a30a9" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.7.tar.gz", "has_sig": false, "md5_digest": "e633445927fc375a2168ae25b81c1d06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3265, "upload_time": "2013-11-26T20:41:26", "url": "https://files.pythonhosted.org/packages/7f/81/b38800a48a919b63b8ed144f2c5f5aa30f666cc699d653a22cafa646dec1/wtforms-jsonschema-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e633445927fc375a2168ae25b81c1d06", "sha256": "62e1191c66ce81907da55c33319b4c1fca496861e4406f61f653e4b26b8a30a9" }, "downloads": -1, "filename": "wtforms-jsonschema-0.0.7.tar.gz", "has_sig": false, "md5_digest": "e633445927fc375a2168ae25b81c1d06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3265, "upload_time": "2013-11-26T20:41:26", "url": "https://files.pythonhosted.org/packages/7f/81/b38800a48a919b63b8ed144f2c5f5aa30f666cc699d653a22cafa646dec1/wtforms-jsonschema-0.0.7.tar.gz" } ] }