FormEncode
"HTML form validation, generation, and conversion package"
Decision gist · record as of 2026-08-14
Yes, if you need form validation and generation in a stable, dependency-free package and can work with dormant maintenance. The lack of recent updates is acceptable for mature, well-tested code with no known vulnerabilities, but unsuitable if you expect active support or compatibility fixes for emerging Python ecosystem changes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Dormant maintenance status (560 days since last release) means no active development, though the package is marked Production/Stable and supports current Python versions through 3.13.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.
last release 2025-01-31 (560 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 295,796 downloads/mo, #7,914 on PyPI
Alternatives
Verify before relying
pip install FormEncode
from formencode import validators
schema = validators.String(not_empty=True)
result = schema.to_python('example')- Whether the package's form generation output remains compatible with modern HTML/CSS frameworks and practices.
- Whether dormant status means security issues would be addressed if discovered.
What it is and what it does
FormEncode is a validation and form generation library that has been in production use since 2005. It decouples validation logic from HTTP or other input mechanisms, allowing you to validate nested, compound data structures independently. The validation engine can be used on its own without the form generation features, making it flexible for different architectural needs.
The package supports current Python versions (3.7 through 3.13) and runs on both CPython and PyPy. It has no external runtime dependencies, making installation straightforward. However, the project is dormant—no active development for 560 days—so while it is stable and marked Production/Stable, new features and fixes are not being added.
Use it for
- Validate form submissions in web frameworks by applying schema rules to nested request data independently of HTTP handling.
- Build HTML form markup programmatically with validation rules embedded, then reuse the same rules for server-side validation.
- Validate complex nested data structures (lists, dicts) in configuration files or API payloads without coupling to a web framework.
- Implement custom validation pipelines for compound data where standard validators need to be composed and nested.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need form validation and generation in a stable, dependency-free package and can work with dormant maintenance.
The lack of recent updates is acceptable for mature, well-tested code with no known vulnerabilities, but unsuitable if you expect active support or compatibility fixes for emerging Python ecosystem changes.
Install
formencode on PyPI
Before you install
Low install friction with no runtime dependencies. Dormant maintenance status (560 days since last release) means no active development, though the package is marked Production/Stable and supports current Python versions through 3.13.
License in practice
MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.
Quickstart
pip install FormEncode
from formencode import validators
schema = validators.String(not_empty=True)
result = schema.to_python('example')
Verify before relying
- Whether the package's form generation output remains compatible with modern HTML/CSS frameworks and practices.
- Whether dormant status means security issues would be addressed if discovered.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 560 days since the last release |
| First released | |
| Downloads | 295,796 / month, #7,914 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules |
Evidence: FormEncode-2.1.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 › “form validation library”
- FormEncodeFormEncode validates and generates HTML forms, with validation logic…
- WTFormsWTForms provides form validation, rendering, and CSRF protection for…
- trafaretTrafaret validates and transforms foreign data (JSON, configs, user…
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 django-formtools · email-validator · google-i18n-address · django-enumfields · nestedtext · essential-generators · WTForms · htbuilder · django-nested-inline · jsoncompat