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.3.tar.gz (162.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.3.3-py2.py3-none-any.whl (169.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: WTForms-2.3.3.tar.gz
  • Upload date:
  • Size: 162.9 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.4.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.5

File hashes

Hashes for WTForms-2.3.3.tar.gz
Algorithm Hash digest
SHA256 81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c
MD5 2b6ea167a71c6becf20f0934417fd06c
BLAKE2b-256 dd3ff25d26b1c66896e2876124a12cd8be8f606abf4e1890a20f3ca04e4a1555

See more details on using hashes here.

File details

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

File metadata

  • Download URL: WTForms-2.3.3-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.4.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.5

File hashes

Hashes for WTForms-2.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7b504fc724d0d1d4d5d5c114e778ec88c37ea53144683e084215eed5155ada4c
MD5 680e6f954c49d1b3ff5e0ae2675c4103
BLAKE2b-256 e031614fc7dc7d76005b0acb8c0c8920d962b83d7422b4ba912886dfb63f86ff

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