Comparison
FormEncode vs marshmallow vs schema vs WTForms
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
"HTML form validation, generation, and conversion package"
Low maintenance activity. Last release 22 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install formencodeA lightweight library for converting complex datatypes to and from native Python datatypes.
Actively maintained. Last release 4 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install marshmallowSimple data validation library
Low maintenance activity. Last release 14 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install schemaForm validation and rendering for Python web development.
Actively maintained. Last release 4 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install wtformsIn short
- marshmallow is the most used: 93M downloads a month, 4.2× more than schema.
- marshmallow also has the best Pythie’s Index (92).
- schema is growing fastest: downloads +10% over the last month.
- Safe default for a new project: marshmallow.
Side by side
| Metric | FormEncode | marshmallow | schema | WTForms |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 30 | Pythie’s Index: 92 | Pythie’s Index: 29 | Pythie’s Index: 73 |
| Verdict | Low maintenance activity | Actively maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 97.9K | 93M | 22.3M | 11.1M |
| Downloads, month over month | +6% | +3% | +10% | +6% |
| GitHub stars | 116 | 7.2K | 2.9K | 1.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 25 | 644 | 404 | 246 |
| Last release | Jan 31, 2025 | Nov 4, 2026 | Oct 11, 2025 | Nov 1, 2026 |
| Releases, 12 months | 0 | 11 | 0 | 8 |
| Weeks with commits | 0 / 26 | 21 / 26 | 2 / 26 | 7 / 26 |
| Recent contributors | 12 | 12 | 20 | 6 |
| First release | Aug 2005 | Nov 2013 | Aug 2012 | Oct 2009 |
| Python versions | 3.7 – 3.13 | 3.11 – 3.15 | 3.6 – 3.11 | – |
| License | MIT | MIT | MIT | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.