WTForms-SQLAlchemy-0.4.2


توضیحات

SQLAlchemy tools for WTForms
ویژگی مقدار
سیستم عامل OS Independent
نام فایل WTForms-SQLAlchemy-0.4.2
نام WTForms-SQLAlchemy
نسخه کتابخانه 0.4.2
نگهدارنده ['WTForms']
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/WTForms-SQLAlchemy/
مجوز Copyright (c) 2020 by Thomas Johansson, James Crasta and others. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * The names of the contributors may not 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 OWNER 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.
WTForms-SQLAlchemy ================== .. image:: https://github.com/wtforms/wtforms-sqlalchemy/actions/workflows/tests.yaml/badge.svg :target: https://github.com/wtforms/wtforms-sqlalchemy/actions/workflows/tests.yaml .. image:: https://readthedocs.org/projects/wtforms-sqlalchemy/badge/?version=latest&style=flat :target: https://wtforms-sqlalchemy.readthedocs.io WTForms-SQLAlchemy is a fork of the ``wtforms.ext.sqlalchemy`` package from WTForms. The package has been renamed to ``wtforms_sqlalchemy`` but otherwise should function the same as ``wtforms.ext.sqlalchemy`` did. to install:: pip install WTForms-SQLAlchemy An example using Flask is included in ``examples/flask``. Features -------- 1. Provide ``SelectField`` integration with SQLAlchemy models - ``wtforms_sqlalchemy.fields.QuerySelectField`` - ``wtforms_sqlalchemy.fields.QuerySelectMultipleField`` 2. Generate forms from SQLAlchemy models using ``wtforms_sqlalchemy.orm.model_form`` Rationale --------- The reasoning for splitting out this package is that WTForms 2.0 has deprecated all its ``wtforms.ext.<library>`` packages and they will not receive any further feature updates. The authors feel that packages for companion libraries work better with their own release schedule and the ability to diverge more from WTForms.


نیازمندی

مقدار نام
- sqlalchemy>=1.4
- wtforms>=3.1


زبان مورد نیاز

مقدار نام
>=3.9 Python


نحوه نصب


نصب پکیج whl WTForms-SQLAlchemy-0.4.2:

    pip install WTForms-SQLAlchemy-0.4.2.whl


نصب پکیج tar.gz WTForms-SQLAlchemy-0.4.2:

    pip install WTForms-SQLAlchemy-0.4.2.tar.gz