WTForms (2.3.3)

Published 2025-08-29 02:22:22 +02:00 by eofredj

Installation

pip install --index-url  WTForms

About this package

A flexible forms validation and rendering library for Python web development.

WTForms

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:

.. code-block:: text

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.

.. _Flask-WTF: https://flask-wtf.readthedocs.io/ .. _WTForms-Alchemy: https://wtforms-alchemy.readthedocs.io/ .. _WTForms-SQLAlchemy: https://github.com/wtforms/wtforms-sqlalchemy .. _WTForms-AppEngine: https://github.com/wtforms/wtforms-appengine .. _WTForms-Django: https://github.com/wtforms/wtforms-django

Details
PyPI
2025-08-29 02:22:22 +02:00
0
BSD-3-Clause
165 KiB
Assets (1)
Versions (2) View all
2.3.3 2025-08-29
3.2.1 2024-12-11