marshmallow
Lightweight library for converting complex datatypes to and from native Python datatypes.
2. Maintained
github.com/marshmallow-code/marshmallow3. Used by agents' projects
Dependency in 10 public GitHub projects set up for AI coding agents that we scanned (0.2%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What marshmallow does
Lightweight library for converting complex datatypes to and from native Python datatypes.
marshmallow popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How marshmallow is used
- marshmallow is a dependency in 10 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 553 projects, and what it is used with below comes from all of them.
- The most used alternative in our scan is Pydantic (538 projects).
- Projects that use it most often also use NumPy (96.4%), Pydantic (96.4%), charset-normalizer (95.8%).
By coding agent
Often used with
More about marshmallow
Funding
- Open Collective: https://opencollective.com/marshmallow
- Tidelift: https://tidelift.com/funding/github/pypi/marshmallow
More in Forms, validation and schemas
Alternatives
marshmallow This page
Data validation and parsing library using Python type hints.
Fast JSON schema validation for Python with optimized performance.
Structured data serialization for attrs and dataclasses with composition support.
Fast serialization and validation for JSON, MessagePack, YAML, TOML with schemas.
Lightweight Python library for validating data structures against defined schemas.
Get started
Install it.
pip install marshmallowNo step-by-step start for marshmallow yet: we have not written its hand-checked card.