{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/4"}],"enrichment":{"capability":"Accelerates Marshmallow schema serialization and deserialization by generating optimized code at runtime, achieving 3-5x speedup over vanilla Marshmallow without changing the API.","skillfed_tags":["performance-optimization","serialization"],"use_cases":["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."],"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.\n\nYou 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.","worth_installing":"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."},"id":"deepfriedmarshmallow","links":{"html":"https://skillfed.io/packages/deepfriedmarshmallow","md":"https://skillfed.io/packages/deepfriedmarshmallow.md","pypi":"https://pypi.org/project/deepfriedmarshmallow/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-03","license_spdx":null,"license_treatment":"permissive","name":"DeepFriedMarshmallow","python_support":"supports_current","summary":"A plug-and-play JIT implementation for Marshmallow to speed up data serialization and deserialization"},"popularity":{"monthly_downloads":195561,"position":9813,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.2"}
