Flask request data validation
Project description
Introduction
WTForms is awesome for validating POST data. What about other request data?
The Flask-Inputs extension adds support for WTForms to validate request data from args to headers to json.
Installation
To install Flask-Inputs, simply:
$ pip install Flask-Inputs
JSON validation requires the optional jsonschema package
e-mail validation requires email_validator package
$ pip install Flask-Inputs jsonschema email_validator
Contributing
make clean install test build
Documentation
Documentation is available at http://pythonhosted.org/Flask-Inputs
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask_inputs-1.0.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Inputs-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81897b2ff3dc35ef7f427ce7b02cb8a4e96929cf6aa1c5d63c4a7a89f65a7a3e |
|
MD5 | 02dd752e1a81609552ad044504f3a0c8 |
|
BLAKE2b-256 | 7cfb0c5ec178ea59da73696e0df0a10553c7b3790d8d09a01d26dade6f619ac8 |