Skip to main content

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 is framework agnostic and can work with whatever web framework and template engine you choose. There are various community libraries that provide closer integration with popular frameworks.

To get started using WTForms, we recommend reading the crash course in the docs.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WTForms-2.2.tar.gz (156.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

WTForms-2.2-py2.py3-none-any.whl (166.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file WTForms-2.2.tar.gz.

File metadata

  • Download URL: WTForms-2.2.tar.gz
  • Upload date:
  • Size: 156.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for WTForms-2.2.tar.gz
Algorithm Hash digest
SHA256 49c6dc46a188db98be7582046db35bae3e4701b71a2e8f4212873289cd51553a
MD5 414d0c1c9237bce4960df101674a4879
BLAKE2b-256 3670bae10eb7de058f0810e8651966e2328235c84f60fd0d05183c1b7bf3e9aa

See more details on using hashes here.

File details

Details for the file WTForms-2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for WTForms-2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 88e9c32e37d7eae1bd032fd1771a88f17c7b7e671465705acd217fabdfbb1794
MD5 b74f2dca73b2f84277a66e697d9d5474
BLAKE2b-256 2e2952c746ef18f0d451632bc0e1f164d83d899601cf24d4930f613405335264

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page