WTForms
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.
Links
Documentation: https://wtforms.readthedocs.io/
Releases: https://pypi.org/project/WTForms/
Issue tracker: https://github.com/pallets-eco/wtforms/issues
Discord Chat: https://discord.gg/F65P7Z9
Translation: https://hosted.weblate.org/projects/wtforms/wtforms/
Metadata
Release files for WTForms 3.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| wtforms-3.3.0.tar.gz | 172.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wtforms-3.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 343.9 kB
Release files / wtforms-3.3.0.tar.gz
| Download URL | wtforms-3.3.0.tar.gz |
|---|---|
| Size | 172.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efbc626b0b68d3bcb77822e0eceb995f56c5e9d0aeb4220b9dc2fc9f03e7e1ed
|
|
BLAKE2b-256 checksum How to use checksums |
c442db38b45b7d791f608d7f1afbb9176dfef4a0dec415eb435b07cd44eb96cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logRelease files / wtforms-3.3.0-py3-none-any.whl
| Download URL | wtforms-3.3.0-py3-none-any.whl |
|---|---|
| Size | 172.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eaf2f7649bedbee0bad74bb068dca8bfec8b00d04fd44c1735682c1fe33acfa7
|
|
BLAKE2b-256 checksum How to use checksums |
0199e6eef415617529fe9479b4a0ea1a4fa360afece3b3a0c58a6904de3621b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logSecurity for WTForms 3.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for wtforms-3.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.