Skip to main content

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.

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.1.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.1-py2.py3-none-any.whl (166.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for WTForms-2.2.1.tar.gz
Algorithm Hash digest
SHA256 0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61
MD5 41c0008dbe7bd98892c58f7457a46a4a
BLAKE2b-256 cd1d7221354ebfc32b868740d02e44225c2ce00769b0d3dc370e463e2bc4b446

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for WTForms-2.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e3ee092c827582c50877cdbd49e9ce6d2c5c1f6561f849b3b068c1b8029626f1
MD5 fdf3c62eef21433a4ef0d4c668a12dbc
BLAKE2b-256 9fc8dac5dce9908df1d9d48ec0e26e2a250839fa36ea2c602cc4f85ccfeb5c65

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