A flexible forms validation and rendering library for Python web development.
Project description
WTForms is a flexible forms validation and rendering library for Python web development. It can work with whatever web framework and template engine you choose. It supports data validation, CSRF protection, internationalization (I18N), and more. There are various community libraries that provide closer integration with popular frameworks.
Installation
Install and update using pip:
pip install -U WTForms
Third-Party Library Integrations
WTForms is designed to work with any web framework and template engine. There are a number of community-provided libraries that make integrating with frameworks even better.
Flask-WTF integrates with the Flask framework. It can automatically load data from the request, uses Flask-Babel to translate based on user-selected locale, provides full-application CSRF, and more.
WTForms-Alchemy provides rich support for generating forms from SQLAlchemy models, including an expanded set of fields and validators.
WTForms-SQLAlchemy provides ORM-backed fields and form generation from SQLAlchemy models.
WTForms-AppEngine provides ORM-backed fields and form generation from AppEnding db/ndb schema
WTForms-AppEngine provides ORM-backed fields and form generation from Django models, as well as integration with Django’s I18N support.
Links
Documentation: https://wtforms.readthedocs.io/
Issue tracker: https://github.com/wtforms/wtforms/issues
Test status: https://travis-ci.org/wtforms/wtforms
Test coverage: https://coveralls.io/github/wtforms/wtforms
Discord Chat: https://discord.gg/F65P7Z9
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for WTForms-2.3.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f19879b2a9b8dfd81d2e4e427ce44d3e5c09dbe08f2af8f4be9586b7dfc33d |
|
MD5 | fe5bc57cb9d8c4bc69dd28907d67dfcd |
|
BLAKE2b-256 | c4560652a1541b7fcf319827f1007f57fca71fec738267a4b49b6a3f30aa5d80 |