Comparison
colander vs schema vs trafaret vs voluptuous
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A simple schema-based serialization and deserialization library
Low maintenance activity. Last release over 3 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install colanderSimple 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 schemaValidation and parsing library
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install trafaretPython data validation library
Maintained. Last release 11 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install voluptuousIn short
- trafaret looks abandoned: avoid it for new projects.
- schema is the most used: 22M downloads a month, 3.6× more than voluptuous.
- voluptuous is better maintained: Pythie’s Index 48 against 29.
Side by side
| Metric | colander | schema | trafaret | voluptuous |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 25 | 29 |