Comparison
dataclass-wizard vs FormEncode vs marshmallow vs mashumaro
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A wizard-like JSON serialization library for Python dataclasses
Maintained. Last release 5 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install dataclass-wizard"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 marshmallowFast and well tested serialization library
Actively maintained. Last release 2 months ago, commits in 13 of the last 26 weeks. A safe choice.
pip install mashumaroIn short
- marshmallow is the most used: 91.3M downloads a month, 3.2× more than mashumaro.
- Maintenance is comparable: marshmallow 92, mashumaro 84, dataclass-wizard 52, FormEncode 30 on Pythie’s Index.
- Safe default for a new project: marshmallow.
Side by side
| Metric | dataclass-wizard | FormEncode | marshmallow | mashumaro |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 52 | 30 |