$npx skillfedfor your agent

DeepFriedMarshmallow

A plug-and-play JIT implementation for Marshmallow to speed up data serialization and deserialization

With conditionsPyPI Application FrameworksReleased Sep 2025195.6K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — deepfriedmarshmallow-1.1.2-py3-none-any.whl
v1.1.2 · released 2025-09-03 · Python <4.0.0,>=3.11 · 3 runtime deps: attrs, marshmallow, six

Yes, with conditions. Install if you have a Marshmallow-based codebase where serialization is a measured bottleneck and you can test the speedup on your actual schemas. The low install friction and permissive license make adoption easy. However, the aging maintenance status (10 stars, last commit 2025-09-03) and modest adoption signal mean you should verify compatibility with your Marshmallow version and monitor the project for future updates before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; Marshmallow version 3.13 or newer.
  • Low install friction with three lightweight runtime dependencies (attrs, marshmallow, six).
  • Maintenance status is aging—last commit was 2025-09-03 and the project has 10 stars, so adoption is modest and forward momentum unclear.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.

last release 2025-09-03 (345 days) · last repo commit 2025-09-03 · 10 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 195,561 downloads/mo, #9,813 on PyPI

Verify before relying

pip install DeepFriedMarshmallow

from marshmallow import fields
from deepfriedmarshmallow import JitSchema

class ArtistSchema(JitSchema):
    name = fields.Str()

schema = ArtistSchema()
result = schema.dump({"name": "Artist Name"})
  • Whether the 3-5x speedup claim is reproducible across real-world schemas and workloads beyond the benchmark shown.
  • Current stability and compatibility with Marshmallow versions released after the package's last update.
  • Whether the plugin system is actively used or documented in production deployments.
Same gist for agents: .md · .json

What it is and what it does

Deep-Fried Marshmallow is a JIT compiler layer for Marshmallow that generates optimized serialization and deserialization code at runtime. Instead of relying on Marshmallow's reflection-heavy approach, it introspects your schema once and produces fast, specialized code paths for dump and load operations. The package is a maintained fork of the abandoned Toasted Marshmallow project, updated to work with modern Marshmallow versions (3.13+) without requiring modifications to Marshmallow itself.

You enable it by either inheriting from JitSchema instead of Schema, calling deep_fry_marshmallow() globally to patch all schemas, or using the JitSchemaMixin for custom base classes. It also supports a plugin system for custom field inliners and JIT behaviors. The generated code optimistically assumes valid input and falls back to standard Marshmallow behavior on errors, so it's designed to be a drop-in replacement with no API changes.

Use it for

  • High-throughput REST APIs where serializing thousands of objects per second matters for latency and throughput.
  • Data pipelines that repeatedly dump and load the same schema structures, where JIT compilation amortizes well.
  • Microservices with strict latency budgets that need faster JSON serialization without rewriting validation logic.
  • Replacing Toasted Marshmallow in existing projects that need ongoing maintenance and compatibility with recent Marshmallow releases.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you have a Marshmallow-based codebase where serialization is a measured bottleneck and you can test the speedup on your actual schemas. The low install friction and permissive license make adoption easy. However, the aging maintenance status (10 stars, last commit 2025-09-03) and modest adoption signal mean you should verify compatibility with your Marshmallow version and monitor the project for future updates before relying on it in production.

Install

deepfriedmarshmallow on PyPI

Before you install

Low install friction with three lightweight runtime dependencies (attrs, marshmallow, six). Maintenance status is aging—last commit was 2025-09-03 and the project has 10 stars, so adoption is modest and forward momentum unclear.

Requires Python 3.11 or later; Marshmallow version 3.13 or newer.

License in practice

Licensed under Apache-2.0 (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.

Quickstart

pip install DeepFriedMarshmallow

from marshmallow import fields
from deepfriedmarshmallow import JitSchema

class ArtistSchema(JitSchema):
    name = fields.Str()

schema = ArtistSchema()
result = schema.dump({"name": "Artist Name"})

Verify before relying

  • Whether the 3-5x speedup claim is reproducible across real-world schemas and workloads beyond the benchmark shown.
  • Current stability and compatibility with Marshmallow versions released after the package's last update.
  • Whether the plugin system is actively used or documented in production deployments.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0.0,>=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
attrsmarshmallowsix
MaintenanceAging 345 days since the last release
Last repo commit
First released
Downloads195,561 / month, #9,813 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: deepfriedmarshmallow-1.1.2-py3-none-any.whl

Tags

Capabilities
marshmallow performance optimizationfaster json serializationjit schema compilationmarshmallow speedupdata serialization accelerationschema jit compilermarshmallow dump load faster
Topics
performance-optimizationserialization
PyPI keywords
serializationrestjsonapimarshalmarshallingdeserializationvalidationschema

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “marshmallow performance optimization”

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also marshmallow · marshmallow-fastoneofschema · marshmallow-oneofschema · marshmallow-union · marshmallow-jsonapi · marshmallow-mongoengine · marshmallow-polyfield · marshmallow-enum · marshmallow-jsonschema · flask-marshmallow