Gloix / flask-inputs

Incoming request data validation

Home Page:https://pythonhosted.org/Flask-Inputs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask-Inputs

Build Status Coverage Status

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.

About

Incoming request data validation

https://pythonhosted.org/Flask-Inputs/


Languages

Language:Python 98.9%Language:Makefile 1.1%