Skip to main content

Form validation and rendering 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-Bootstrap5 provides Bootstrap 5 favor renderer with great customizability.

  • Starlette-WTF integrates with Starlette and the FastAPI framework, based on the features of Flask-WTF.

  • Bootstrap-Flask Bootstrap-Flask is a collection of Jinja macros for Bootstrap 4 & 5 and Flask using Flask-WTF.

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-3.3.0b3.tar.gz (168.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-3.3.0b3-py3-none-any.whl (171.2 kB view details)

Uploaded Python 3

File details

Details for the file wtforms-3.3.0b3.tar.gz.

File metadata

  • Download URL: wtforms-3.3.0b3.tar.gz
  • Upload date:
  • Size: 168.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for wtforms-3.3.0b3.tar.gz
Algorithm Hash digest
SHA256 a11c56a355dba743b345414bf2490fc3fe715026ad90dc591812dab185d9437d
MD5 6b2235ac5b7e317968988abb38df6f62
BLAKE2b-256 1ecbcc93833812d9dda59d3e3a0290a856d038377d694dc2028bba481497408c

See more details on using hashes here.

Provenance

The following attestation bundles were made for wtforms-3.3.0b3.tar.gz:

Publisher: publish.yaml on pallets-eco/wtforms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wtforms-3.3.0b3-py3-none-any.whl.

File metadata

  • Download URL: wtforms-3.3.0b3-py3-none-any.whl
  • Upload date:
  • Size: 171.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for wtforms-3.3.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc5b277cd67a1da04e206f66436852156b41c91bb1543eebb43eb934555fc52
MD5 de469668fcab0438ff6c3ac5b506e3be
BLAKE2b-256 b30be5910c6624212dd86be716947822df95f1b43a287547566831c362d767c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for wtforms-3.3.0b3-py3-none-any.whl:

Publisher: publish.yaml on pallets-eco/wtforms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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