WTForms


NameWTForms JSON
Version 3.2.1 PyPI version JSON
download
home_pageNone
SummaryForm validation and rendering for Python web development.
upload_time2024-10-21 11:34:00
maintainerWTForms
docs_urlNone
authorNone
requires_python>=3.9
licenseCopyright 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.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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
-----

-   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/

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "WTForms",
    "maintainer": "WTForms",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/01/e4/633d080897e769ed5712dcfad626e55dbd6cf45db0ff4d9884315c6a82da/wtforms-3.2.1.tar.gz",
    "platform": null,
    "description": "WTForms\n=======\n\nWTForms is a flexible forms validation and rendering library for Python\nweb development. It can work with whatever web framework and template\nengine you choose. It supports data validation, CSRF protection,\ninternationalization (I18N), and more. There are various community\nlibraries that provide closer integration with popular frameworks.\n\n\nInstallation\n------------\n\nInstall and update using pip:\n\n.. code-block:: text\n\n    pip install -U WTForms\n\n\nThird-Party Library Integrations\n--------------------------------\n\nWTForms is designed to work with any web framework and template engine.\nThere are a number of community-provided libraries that make integrating\nwith frameworks even better.\n\n-   `Flask-WTF`_ integrates with the Flask framework. It can\n    automatically load data from the request, uses Flask-Babel to\n    translate based on user-selected locale, provides full-application\n    CSRF, and more.\n-   `WTForms-Alchemy`_ provides rich support for generating forms from\n    SQLAlchemy models, including an expanded set of fields and\n    validators.\n-   `WTForms-SQLAlchemy`_ provides ORM-backed fields and form generation\n    from SQLAlchemy models.\n-   `WTForms-AppEngine`_ provides ORM-backed fields and form generation\n    from AppEnding db/ndb schema\n-   `WTForms-Django`_ provides ORM-backed fields and form generation\n    from Django models, as well as integration with Django's I18N\n    support.\n-   `WTForms-Bootstrap5`_ provides Bootstrap 5 favor renderer with\n    great customizability.\n-   `Starlette-WTF`_ integrates with Starlette and the FastAPI\n    framework, based on the features of Flask-WTF.\n-   `Bootstrap-Flask`_ Bootstrap-Flask is a collection of Jinja macros\n    for Bootstrap 4 & 5 and Flask using Flask-WTF.\n\n.. _Flask-WTF: https://flask-wtf.readthedocs.io/\n.. _WTForms-Alchemy: https://wtforms-alchemy.readthedocs.io/\n.. _WTForms-SQLAlchemy: https://github.com/pallets-eco/wtforms-sqlalchemy\n.. _WTForms-AppEngine: https://github.com/pallets-eco/wtforms-appengine\n.. _WTForms-Django: https://github.com/pallets-eco/wtforms-django\n.. _WTForms-Bootstrap5: https://github.com/LaunchPlatform/wtforms-bootstrap5\n.. _Starlette-WTF: https://github.com/muicss/starlette-wtf\n.. _Bootstrap-Flask: https://github.com/helloflask/bootstrap-flask\n\n\nLinks\n-----\n\n-   Documentation: https://wtforms.readthedocs.io/\n-   Releases: https://pypi.org/project/WTForms/\n-   Code: https://github.com/pallets-eco/wtforms\n-   Issue tracker: https://github.com/pallets-eco/wtforms/issues\n-   Discord Chat: https://discord.gg/F65P7Z9\n-   Translation: https://hosted.weblate.org/projects/wtforms/wtforms/\n",
    "bugtrack_url": null,
    "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.",
    "summary": "Form validation and rendering for Python web development.",
    "version": "3.2.1",
    "project_urls": {
        "Changes": "https://wtforms.readthedocs.io/changes",
        "Chat": "https://discord.gg/pallets",
        "Documentation": "https://wtforms.readthedocs.io",
        "Issue Tracker": "https://github.com/pallets-eco/wtforms/issues",
        "Source Code": "https://github.com/pallets-eco/wtforms/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "08c92088fb5645cd289c99ebe0d4cdcc723922a1d8e1beaefb0f6f76dff9b21c",
                "md5": "429782825fab2a98ae7ec009597e7694",
                "sha256": "583bad77ba1dd7286463f21e11aa3043ca4869d03575921d1a1698d0715e0fd4"
            },
            "downloads": -1,
            "filename": "wtforms-3.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "429782825fab2a98ae7ec009597e7694",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 152454,
            "upload_time": "2024-10-21T11:33:58",
            "upload_time_iso_8601": "2024-10-21T11:33:58.440441Z",
            "url": "https://files.pythonhosted.org/packages/08/c9/2088fb5645cd289c99ebe0d4cdcc723922a1d8e1beaefb0f6f76dff9b21c/wtforms-3.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01e4633d080897e769ed5712dcfad626e55dbd6cf45db0ff4d9884315c6a82da",
                "md5": "58a16ec4a96043b429c196bfafa5fd96",
                "sha256": "df3e6b70f3192e92623128123ec8dca3067df9cfadd43d59681e210cfb8d4682"
            },
            "downloads": -1,
            "filename": "wtforms-3.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "58a16ec4a96043b429c196bfafa5fd96",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 137801,
            "upload_time": "2024-10-21T11:34:00",
            "upload_time_iso_8601": "2024-10-21T11:34:00.108770Z",
            "url": "https://files.pythonhosted.org/packages/01/e4/633d080897e769ed5712dcfad626e55dbd6cf45db0ff4d9884315c6a82da/wtforms-3.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-21 11:34:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pallets-eco",
    "github_project": "wtforms",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "wtforms"
}
        
Elapsed time: 0.85922s