--- id: marshmallow version: "4.3.1" license: MIT license_treatment: permissive maintenance: active --- # marshmallow — A lightweight library for converting complex datatypes to and from native Python datatypes. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install marshmallow uv add marshmallow poetry add marshmallow ## Description ******************************************** marshmallow: simplified object serialization ******************************************** |pypi| |build-status| |pre-commit| |docs| .. |pypi| image:: https://badgen.net/pypi/v/marshmallow :target: https://pypi.org/project/marshmallow/ :alt: Latest version .. |build-status| image:: https://github.com/marshmallow-code/marshmallow/actions/workflows/build-release.yml/badge.svg :target: https://github.com/marshmallow-code/marshmallow/actions/workflows/build-release.yml :alt: Build status .. |pre-commit| image:: https://results.pre-commit.ci/badge/github/marshmallow-code/marshmallow/dev.svg :target: https://results.pre-commit.ci/latest/github/marshmallow-code/marshmallow/dev :alt: pre-commit.ci status .. |docs| image:: https://readthedocs.org/projects/marshmallow/badge/ :target: https://marshmallow.readthedocs.io/ :alt: Documentation .. start elevator-pitch **marshmallow** is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes. .. code-block:: python from datetime import date from pprint import pprint from marshmallow... ## AI interpretation — verify before relying marshmallow converts complex Python objects to and from native Python datatypes, enabling validation, deserialization, and serialization for APIs and data interchange. Verdict: marshmallow is a mature, well-maintained serialization library with no known vulnerabilities, permissive licensing, and minimal dependencies. It is production-ready and widely adopted for data validation and API integration. [View on SkillFed](https://skillfed.io/packages/marshmallow) · [View on PyPI](https://pypi.org/project/marshmallow/)