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 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.

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.3.1.tar.gz (162.8 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.1-py2.py3-none-any.whl (169.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: WTForms-2.3.1.tar.gz
  • Upload date:
  • Size: 162.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2

File hashes

Hashes for WTForms-2.3.1.tar.gz
Algorithm Hash digest
SHA256 861a13b3ae521d6700dac3b2771970bd354a63ba7043ecc3a82b5288596a1972
MD5 bff06943e59671581af07f80d14bda5f
BLAKE2b-256 687a4ce1636e03a25585f3e1436179232a66c25e53ef17f01b4384d16ace6d61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: WTForms-2.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 169.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2

File hashes

Hashes for WTForms-2.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ff8635f4caeed9f38641d48cfe019d0d3896f41910ab04494143fc027866e1b
MD5 93334a40b73f8c50bc0525e09b8cfde3
BLAKE2b-256 f01baf089b3d54955e0a3b0045ddd40773c2ef5dc7375ccffd09366ce469b755

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