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.0b2.tar.gz (166.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-3.3.0b2-py3-none-any.whl (170.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wtforms-3.3.0b2.tar.gz
  • Upload date:
  • Size: 166.8 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.0b2.tar.gz
Algorithm Hash digest
SHA256 38120ebe4896e60c3ba72f214fd83b361450489cdda3e6751f5d6ac66ada86d5
MD5 59e66ef14f5cceb8530550dfc89f1820
BLAKE2b-256 c2c6091a614d6c3ad452dfd68255d98f49a7cb41c543aa3322239a9687a1b0ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for wtforms-3.3.0b2.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.0b2-py3-none-any.whl.

File metadata

  • Download URL: wtforms-3.3.0b2-py3-none-any.whl
  • Upload date:
  • Size: 170.5 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.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 d86888e79de6325635629498997f02fa6bb9ff09bd979b5ac12ccd5179229a9b
MD5 1444dcdd07ffb6020f5b6f090003aeb8
BLAKE2b-256 d3facf6a7949e2a092cd8bf9a349d076d1d16aae7d6c7b48dcdcb367d4503333

See more details on using hashes here.

Provenance

The following attestation bundles were made for wtforms-3.3.0b2-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