MyGit

pallets-eco/wtforms

Fork: 395 Star: 1506 (更新于 2024-10-21 19:57:05)

license: BSD-3-Clause

Language: Python .

A flexible forms validation and rendering library for Python.

最后发布版本: 3.1.2 ( 2024-01-06 15:53:50)

官方网址 GitHub网址

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:

.. code-block:: text

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-Django_ provides ORM-backed fields and form generation from Django models, as well as integration with Django's I18N support.
  • 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.

.. _Flask-WTF: https://flask-wtf.readthedocs.io/ .. _WTForms-Alchemy: https://wtforms-alchemy.readthedocs.io/ .. _WTForms-SQLAlchemy: https://github.com/pallets-eco/wtforms-sqlalchemy .. _WTForms-AppEngine: https://github.com/pallets-eco/wtforms-appengine .. _WTForms-Django: https://github.com/pallets-eco/wtforms-django .. _WTForms-Bootstrap5: https://github.com/LaunchPlatform/wtforms-bootstrap5 .. _Starlette-WTF: https://github.com/muicss/starlette-wtf .. _Bootstrap-Flask: https://github.com/helloflask/bootstrap-flask

Links

最近版本更新:(数据更新于 2024-10-12 12:20:46)

2024-01-06 15:53:50 3.1.2

2023-11-01 18:26:44 3.1.1

2023-10-11 05:24:28 3.1.0

2021-12-23 18:10:33 3.0.1

2021-11-07 20:24:11 3.0.0

2020-11-23 23:30:52 3.0.0a1

2020-07-31 01:11:53 2.3.3

2020-07-30 20:18:01 2.3.2

2020-04-23 00:39:22 2.3.1

2020-04-22 06:50:32 2.3.0

主题(topics):

forms, html, python, validation, wtforms

pallets-eco/wtforms同语言 Python最近更新仓库

2024-11-05 15:03:24 Cinnamon/kotaemon

2024-11-05 11:00:51 home-assistant/core

2024-11-04 23:11:11 DS4SD/docling

2024-11-04 10:56:18 open-compass/opencompass

2024-11-04 08:51:21 yt-dlp/yt-dlp

2024-11-02 04:45:40 princeton-vl/infinigen