marshmallow-code/marshmallow
A lightweight library for converting complex objects to and from simple Python datatypes. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4679
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
7242 stars · 729 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
marshmallow is a lightweight, framework-agnostic Python library for converting complex objects to and from native Python datatypes using declarative schemas. It supports serialization, deserialization, and input data validation, commonly used to render objects to JSON for HTTP APIs.
Use cases
- validate incoming API request payloads in Python
- serialize ORM objects to JSON for a REST API
- deserialize JSON into typed app-level objects
- define reusable data schemas with nested fields
- sanitize and coerce untrusted input data types
When to choose
- you need framework-agnostic serialization and validation in Python
- you want lightweight schemas without a heavy dependency
- you need nested object serialization to and from JSON-friendly types
When to avoid
- you need high-performance binary serialization like protobuf or msgpack
- you want automatic schema generation from models with no manual field definitions
- you need Rust/C-level serde performance
Facets
library · maturity stable
serialization form-handling developer-tools apis web-development python cross-platform schema deserialization data-validation orm-agnostic data-engineering
2 sources
- readme: https://github.com/marshmallow-code/marshmallow · fetched 2026-08-28 · 0d0ec80906b6
- registry_pypi: https://pypi.org/pypi/marshmallow/json · fetched 2026-08-29 · 4397f5481ee4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marshmallow-code/marshmallow | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="marshmallow-code/marshmallow")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem