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
Metadata
Release files for Flask-Inputs 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_inputs-1.0.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flask_Inputs-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / flask_inputs-1.0.0.tar.gz
| Download URL | flask_inputs-1.0.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb883ce1528946c147de5e49aa00c5b426e7cfdb581310b5f7fc45009f1385ee
|
|
BLAKE2b-256 checksum How to use checksums |
114758d4db2dab8c9179d96866cfa6e1e14f4ca6cc3f9b5143f2e7029d3233e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / Flask_Inputs-1.0.0-py3-none-any.whl
| Download URL | Flask_Inputs-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81897b2ff3dc35ef7f427ce7b02cb8a4e96929cf6aa1c5d63c4a7a89f65a7a3e
|
|
BLAKE2b-256 checksum How to use checksums |
7cfb0c5ec178ea59da73696e0df0a10553c7b3790d8d09a01d26dade6f619ac8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|