Skip to main content

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.

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.3.2.tar.gz (148.4 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.3.2-py2.py3-none-any.whl (118.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: WTForms-2.3.2.tar.gz
  • Upload date:
  • Size: 148.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for WTForms-2.3.2.tar.gz
Algorithm Hash digest
SHA256 715ebd303f47384bf6468fd9dfff52c6acc400e71204df8acfa6ef7bf40e1c27
MD5 ba98078537d10dc1b1a58625b525762f
BLAKE2b-256 1eb428a8efe84eb29325997a0f28437c3bed02ca6bec676319a2715a763da0bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: WTForms-2.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 118.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for WTForms-2.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 43f19879b2a9b8dfd81d2e4e427ce44d3e5c09dbe08f2af8f4be9586b7dfc33d
MD5 fe5bc57cb9d8c4bc69dd28907d67dfcd
BLAKE2b-256 c4560652a1541b7fcf319827f1007f57fca71fec738267a4b49b6a3f30aa5d80

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