WTForms


NameWTForms JSON
Version 3.1.2 PyPI version JSON
download
home_pageNone
SummaryForm validation and rendering for Python web development.
upload_time2024-01-06 07:52:41
maintainerWTForms
docs_urlNone
authorNone
requires_python>=3.8
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/wtforms/wtforms-sqlalchemy
.. _WTForms-AppEngine: https://github.com/wtforms/wtforms-appengine
.. _WTForms-Django: https://github.com/wtforms/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/wtforms/wtforms
-   Issue tracker: https://github.com/wtforms/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.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/6a/c7/96d10183c3470f1836846f7b9527d6cb0b6c2226ebca40f36fa29f23de60/wtforms-3.1.2.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/wtforms/wtforms-sqlalchemy\n.. _WTForms-AppEngine: https://github.com/wtforms/wtforms-appengine\n.. _WTForms-Django: https://github.com/wtforms/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/wtforms/wtforms\n-   Issue tracker: https://github.com/wtforms/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\n        \n        Redistribution and use in source and binary forms, with or without\n        modification, are permitted provided that the following conditions are\n        met:\n        \n        1.  Redistributions of source code must retain the above copyright\n            notice, this list of conditions and the following disclaimer.\n        \n        2.  Redistributions in binary form must reproduce the above copyright\n            notice, this list of conditions and the following disclaimer in the\n            documentation and/or other materials provided with the distribution.\n        \n        3.  Neither the name of the copyright holder nor the names of its\n            contributors may be used to endorse or promote products derived from\n            this software without specific prior written permission.\n        \n        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n        \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n        LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n        PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n        HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n        SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n        TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n        PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n        LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n        NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n        SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
    "summary": "Form validation and rendering for Python web development.",
    "version": "3.1.2",
    "project_urls": {
        "Changes": "https://wtforms.readthedocs.io/changes",
        "Chat": "https://discord.gg/pallets",
        "Documentation": "https://wtforms.readthedocs.io",
        "Issue Tracker": "https://github.com/wtforms/wtforms/issues",
        "Source Code": "https://github.com/wtforms/wtforms/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1819c3232f35e24dccfad372e9f341c4f3a1166ae7c66e4e1351a9467c921cc1",
                "md5": "b74dcfb42191435779d678e94f06b7d7",
                "sha256": "bf831c042829c8cdbad74c27575098d541d039b1faa74c771545ecac916f2c07"
            },
            "downloads": -1,
            "filename": "wtforms-3.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b74dcfb42191435779d678e94f06b7d7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 145961,
            "upload_time": "2024-01-06T07:52:43",
            "upload_time_iso_8601": "2024-01-06T07:52:43.023519Z",
            "url": "https://files.pythonhosted.org/packages/18/19/c3232f35e24dccfad372e9f341c4f3a1166ae7c66e4e1351a9467c921cc1/wtforms-3.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6ac796d10183c3470f1836846f7b9527d6cb0b6c2226ebca40f36fa29f23de60",
                "md5": "722bf234789979ed2ff06e8e9323fa0f",
                "sha256": "f8d76180d7239c94c6322f7990ae1216dae3659b7aa1cee94b6318bdffb474b9"
            },
            "downloads": -1,
            "filename": "wtforms-3.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "722bf234789979ed2ff06e8e9323fa0f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 134705,
            "upload_time": "2024-01-06T07:52:41",
            "upload_time_iso_8601": "2024-01-06T07:52:41.075496Z",
            "url": "https://files.pythonhosted.org/packages/6a/c7/96d10183c3470f1836846f7b9527d6cb0b6c2226ebca40f36fa29f23de60/wtforms-3.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-06 07:52:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "wtforms",
    "github_project": "wtforms",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "wtforms"
}
        
Elapsed time: 0.16230s