wtforms

A flexible forms validation and rendering library for Python.

https://github.com/pallets-eco/wtforms

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.2%) to scientific vocabulary

Keywords

forms html python validation wtforms

Keywords from Contributors

systems optimizing-compiler tensors unit-testing systemd services init computational-chemistry qt5 open-science
Last synced: 6 months ago · JSON representation

Repository

A flexible forms validation and rendering library for Python.

Basic Info
Statistics
  • Stars: 1,556
  • Watchers: 47
  • Forks: 402
  • Open Issues: 72
  • Releases: 12
Topics
forms html python validation wtforms
Created over 12 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License

README.rst

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-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-Bootstrap5: https://github.com/LaunchPlatform/wtforms-bootstrap5
.. _Starlette-WTF: https://github.com/muicss/starlette-wtf
.. _Bootstrap-Flask: https://github.com/helloflask/bootstrap-flask


Links
-----

-   Documentation: https://wtforms.readthedocs.io/
-   Releases: https://pypi.org/project/WTForms/
-   Code: https://github.com/pallets-eco/wtforms
-   Issue tracker: https://github.com/pallets-eco/wtforms/issues
-   Discord Chat: https://discord.gg/F65P7Z9
-   Translation: https://hosted.weblate.org/projects/wtforms/wtforms/

Owner

  • Name: Pallets Ecosystem
  • Login: pallets-eco
  • Kind: organization
  • Email: contact@palletsprojects.com

Community maintained extensions to Pallets projects.

GitHub Events

Total
  • Create event: 5
  • Issues event: 18
  • Release event: 2
  • Watch event: 44
  • Delete event: 2
  • Issue comment event: 36
  • Push event: 15
  • Pull request event: 12
  • Pull request review event: 1
  • Fork event: 10
Last Year
  • Create event: 5
  • Issues event: 18
  • Release event: 2
  • Watch event: 44
  • Delete event: 2
  • Issue comment event: 36
  • Push event: 15
  • Pull request event: 12
  • Pull request review event: 1
  • Fork event: 10

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 1,444
  • Total Committers: 167
  • Avg Commits per committer: 8.647
  • Development Distribution Score (DDS): 0.636
Past Year
  • Commits: 28
  • Committers: 4
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.179
Top Committers
Name Email Commits
James Crasta w****s@j****m 526
Éloi Rivard e****d@a****r 239
Thomas Johansson p****r@p****k 196
David Lord d****m@g****m 76
James Crasta j****s@c****m 46
Fraser May f****y@g****m 20
Rodrigo Moraes r****s@g****m 13
Alan Hamlett a****t@g****m 10
Grey Li w****i@g****m 10
Vinay Sajip v****p@y****k 9
James Crasta j****a@u****m 9
Gianfranco Polinesi g****i@g****m 7
sohalt s****t@s****t 7
Mats Blomdahl m****l@g****m 6
Jiri Vrany j****y@t****z 6
jean-philippe serafin s****p@g****m 5
Vladyslav Krylasov v****v@g****m 5
Pander p****r@u****t 5
Emil Ivanov e****v@g****m 5
Chris Mayo a****x@g****m 4
Anthony Plunkett a****y@t****g 4
Andy McCurdy a****y@a****m 4
Andreas Madsack a****s@m****e 4
eduardo s****m 4
ss1978 d****l@l****t 4
Clemens Kaposi c****s@k****e 4
yusuke furukawa l****p@g****m 4
mr.Shu mr@s****o 4
Melih Uçar m****r@g****m 4
Hsiaoming Yang me@l****m 4
and 137 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 71
  • Total pull requests: 59
  • Average time to close issues: 7 months
  • Average time to close pull requests: 27 days
  • Total issue authors: 61
  • Total pull request authors: 45
  • Average comments per issue: 2.23
  • Average comments per pull request: 1.31
  • Merged pull requests: 27
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 10
  • Pull requests: 17
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 16 days
  • Issue authors: 10
  • Pull request authors: 7
  • Average comments per issue: 1.4
  • Average comments per pull request: 0.47
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • malthe (3)
  • kvesteri (2)
  • peterdemin (2)
  • miketheman (2)
  • potiuk (2)
  • fweep (2)
  • cybertoast (2)
  • Bolik (2)
  • crast (2)
  • ThiefMaster (2)
  • lipis (2)
  • rsyring (1)
  • williamjmorenor (1)
  • jwag956 (1)
  • igungor (1)
Pull Request Authors
  • azmeuk (18)
  • jeffdico (2)
  • Lukas0907 (2)
  • malthe (2)
  • joaoLouceiro (2)
  • artempronevskiy (2)
  • davidism (2)
  • jb2170 (2)
  • typehorror (2)
  • lepture (2)
  • playpianolikewoah (1)
  • jkittner (1)
  • puentesarrin (1)
  • xlevus (1)
  • kageurufu (1)
Top Labels
Issue Labels
bug (9) wontfix (8) enhancement (7) question (4) onhold (2)
Pull Request Labels
wontfix (5) enhancement (3) bug (2) tests (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 12,138,053 last-month
  • Total docker downloads: 87,819,784
  • Total dependent packages: 103
  • Total dependent repositories: 7,591
  • Total versions: 30
  • Total maintainers: 2
pypi.org: wtforms

Form validation and rendering for Python web development.

  • Documentation: https://wtforms.readthedocs.io
  • License: Copyright 2008 WTForms Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Latest release: 3.2.1
    published over 1 year ago
  • Versions: 30
  • Dependent Packages: 103
  • Dependent Repositories: 7,591
  • Downloads: 12,138,053 Last month
  • Docker Downloads: 87,819,784
Rankings
Dependent repos count: 0.1%
Downloads: 0.1%
Dependent packages count: 0.2%
Docker downloads count: 0.6%
Average: 0.9%
Stargazers count: 1.8%
Forks count: 2.7%
Maintainers (2)
Last synced: 6 months ago

Dependencies

docs/requirements.txt pypi
  • Pallets-Sphinx-Themes *
  • Sphinx *
  • python-dateutil *
  • sphinx-issues *
  • sphinxcontrib-log-cabinet *
.github/workflows/tests.yaml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
pyproject.toml pypi