WTForms-Alchemy
Generates WTForms forms from SQLAlchemy models.
Decision gist · record as of 2026-08-14
Yes, if you use SQLAlchemy and WTForms together. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a genuine pain point—manual form-model synchronization. The BSD license poses no restrictions. Install it when you find yourself writing form classes that duplicate your model structure.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with four well-established runtime dependencies.
- Actively maintained with last commit on 2026-05-14 and latest release on 2025-08-11.
License · maintenance · safety
BSD (permissive) — BSD license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2025-08-11 (368 days) · last repo commit 2026-05-14 · 247 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 89,011 downloads/mo, #13,684 on PyPI
Alternatives
Verify before relying
pip install wtforms-alchemy
from wtforms_alchemy import ModelForm
class UserForm(ModelForm):
class Meta:
model = User- Whether the package supports the latest SQLAlchemy 2.x API or is limited to 1.x patterns
- Degree of customization available for auto-generated field types and validation rules
- Performance characteristics when generating forms from large or deeply nested models
What it is and what it does
WTForms-Alchemy bridges SQLAlchemy models and WTForms by introspecting your database schema and automatically creating corresponding form fields. Instead of manually defining form classes that duplicate your model structure, you inherit from ModelForm, specify your SQLAlchemy model in the Meta class, and the library generates appropriate field types, validators, and relationships for you.
The package depends on SQLAlchemy, WTForms, WTForms-Components, and SQLAlchemy-Utils to handle the model inspection and form generation. It's designed for web developers building CRUD interfaces where forms closely mirror database tables, reducing boilerplate and keeping form definitions in sync with schema changes.
Use it for
- Quickly scaffold admin forms for CRUD operations on existing SQLAlchemy models without manual field duplication.
- Generate user registration or profile edit forms that automatically validate against your database constraints.
- Build data entry forms for multi-table applications where form structure mirrors your ORM model hierarchy.
- Reduce maintenance burden when database schema changes by auto-updating form fields instead of manual edits.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use SQLAlchemy and WTForms together.
The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a genuine pain point—manual form-model synchronization. The BSD license poses no restrictions. Install it when you find yourself writing form classes that duplicate your model structure.
Install
wtforms-alchemy on PyPI
Before you install
Low friction install with four well-established runtime dependencies. Actively maintained with last commit on 2026-05-14 and latest release on 2025-08-11.
License in practice
BSD license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install wtforms-alchemy
from wtforms_alchemy import ModelForm
class UserForm(ModelForm):
class Meta:
model = User
Verify before relying
- Whether the package supports the latest SQLAlchemy 2.x API or is limited to 1.x patterns
- Degree of customization available for auto-generated field types and validation rules
- Performance characteristics when generating forms from large or deeply nested models
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesSQLAlchemyWTFormsWTForms-ComponentsSQLAlchemy-Utils |
| Maintenance | Actively maintained 368 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 89,011 / month, #13,684 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: wtforms_alchemy-0.19.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “wtforms from sqlalchemy models”
- WTForms-AlchemyAutomatically generates WTForms form classes from SQLAlchemy model…
- WTForms-SQLAlchemyGenerates WTForms forms from SQLAlchemy models and provides form…
- flask-mongoengineFlask-MongoEngine integrates MongoEngine document models with Flask,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also WTForms-SQLAlchemy · WTForms-Components · WTForms · flask-mongoengine · Flask-WTF · Bootstrap-Flask · SQLAlchemy-Utils · sqlacodegen · sqladmin · WTForms-JSON