flask-inputs
flask-inputs copied to clipboard
Incoming request data validation
Flask-Inputs
⚠️ This package is no longer maintained. The Flask-Inputs package on PyPi (version 0.3.0) supports up to Python 3.8. Any further breaking changes will no longer be supported or fixed. Feel free to fork this project and continue improving it.
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 jsonschema:
$ pip install jsonschema
Documentation
Documentation is available at http://pythonhosted.org/Flask-Inputs
Contribute
Feel free to fork this repository and republish it. I will no longer be maintaining this project.
License
MIT