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 details)
Built Distribution
File details
Details for the file flask_inputs-1.0.0.tar.gz
.
File metadata
- Download URL: flask_inputs-1.0.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb883ce1528946c147de5e49aa00c5b426e7cfdb581310b5f7fc45009f1385ee |
|
MD5 | 37ba5dd2922366416cb73ea5a064b183 |
|
BLAKE2b-256 | 114758d4db2dab8c9179d96866cfa6e1e14f4ca6cc3f9b5143f2e7029d3233e7 |
File details
Details for the file Flask_Inputs-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: Flask_Inputs-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81897b2ff3dc35ef7f427ce7b02cb8a4e96929cf6aa1c5d63c4a7a89f65a7a3e |
|
MD5 | 02dd752e1a81609552ad044504f3a0c8 |
|
BLAKE2b-256 | 7cfb0c5ec178ea59da73696e0df0a10553c7b3790d8d09a01d26dade6f619ac8 |