- Notifications
You must be signed in to change notification settings - Fork398
A flexible forms validation and rendering library for Python.
License
NotificationsYou must be signed in to change notification settings
pallets-eco/wtforms
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
WTForms is a flexible forms validation and rendering library for Pythonweb development. It can work with whatever web framework and templateengine you choose. It supports data validation, CSRF protection,internationalization (I18N), and more. There are various communitylibraries that provide closer integration with popular frameworks.
Install and update using pip:
pip install -U WTForms
WTForms is designed to work with any web framework and template engine.There are a number of community-provided libraries that make integratingwith frameworks even better.
- Flask-WTF integrates with the Flask framework. It canautomatically load data from the request, uses Flask-Babel totranslate based on user-selected locale, provides full-applicationCSRF, and more.
- WTForms-Alchemy provides rich support for generating forms fromSQLAlchemy models, including an expanded set of fields andvalidators.
- WTForms-SQLAlchemy provides ORM-backed fields and form generationfrom SQLAlchemy models.
- WTForms-Bootstrap5 provides Bootstrap 5 favor renderer withgreat customizability.
- Starlette-WTF integrates with Starlette and the FastAPIframework, based on the features of Flask-WTF.
- Bootstrap-Flask Bootstrap-Flask is a collection of Jinja macrosfor Bootstrap 4 & 5 and Flask using Flask-WTF.
- Documentation:https://wtforms.readthedocs.io/
- Releases:https://pypi.org/project/WTForms/
- Code:https://github.com/pallets-eco/wtforms
- Issue tracker:https://github.com/pallets-eco/wtforms/issues
- Discord Chat:https://discord.gg/F65P7Z9
- Translation:https://hosted.weblate.org/projects/wtforms/wtforms/
About
A flexible forms validation and rendering library for Python.