Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

marshmallow

Lightweight library for converting complex datatypes to and from native Python datatypes.

Forms, validation and schemasPYPI

GitHub

1. License

License from PyPI license expression.

github.com/marshmallow-code/marshmallow

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

70 / 100
Gid Score, #376 overall
22.4M
downloads a week, pypi
7,243
GitHub stars
10
agent projects use it
marshmallow: downloads per weekPyPI, marshmallow 22,234,340
marshmallow: GitHub starsmarshmallow-code/marshmallow 7,243

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

7 projects, 0.2%
6 projects, 0.2%

Often used with

In 96.4% of its projects
In 96.4% of its projects
In 95.8% of its projects
In 95.5% of its projects
In 95.5% of its projects
In 94.9% of its projects
In 94.2% of its projects
In 94.0% of its projects

More about marshmallow

Funding
  • Open Collective: https://opencollective.com/marshmallow
  • Tidelift: https://tidelift.com/funding/github/pypi/marshmallow

See all

More in Forms, validation and schemas

Alternatives

marshmallow This page

MITGid 7022.4M/wk

Pydantic

Data validation and parsing library using Python type hints.

MITGid 86292M/wk

fastjsonschema

Fast JSON schema validation for Python with optimized performance.

BSDGid 5730M/wk

cattrs

Structured data serialization for attrs and dataclasses with composition support.

MITGid 508.5M/wk

msgspec

Fast serialization and validation for JSON, MessagePack, YAML, TOML with schemas.

BSD-3-ClauseGid 589.8M/wk

schema

Lightweight Python library for validating data structures against defined schemas.

MITGid 555.3M/wk

Compare marshmallow with another tool

Get started

Install it.

pip install marshmallow

No step-by-step start for marshmallow yet: we have not written its hand-checked card.