Comparison
marshmallow-oneofschema vs marshmallow-polyfield vs marshmallow-union
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
marshmallow multiplexing schema
Maintained. Last release 19 months ago, commits in 8 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install marshmallow-oneofschemaAn unofficial extension to Marshmallow to allow for polymorphic fields
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install marshmallow-polyfieldUnion fields for marshmallow.
Low maintenance activity. Last release over 6 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install marshmallow-unionIn short
- marshmallow-polyfield looks abandoned: avoid it for new projects.
- marshmallow-oneofschema is the most used: 2.7M downloads a month.
- marshmallow-oneofschema also has the best Pythie’s Index (49).
Side by side
| Metric | marshmallow-oneofschema | marshmallow-polyfield | marshmallow-union |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 49 | 18 |