Flask request data validation
Project description
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
Fork the repository, make changes and add a test which shows that the bug was fixed or that the feature works as expected with 100% coverage. Send a pull request.
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-0.3.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for Flask_Inputs-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25925517b04adce482aa2de2310a3d8b41aad8cbbc8b4e68aadf98443ab4a7af |
|
MD5 | d5d61674b8d9e036f9587041f62ee0b6 |
|
BLAKE2b-256 | ff84a825b0aa0090392502309eb9f0efd2c2797ec580a72a69e8f40f23206f14 |