$npx skillfedfor your agent

desert

Deserialize to objects while staying DRY

With conditionsPyPI UtilitiesReleased Sep 2022130.6K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — desert-2022.9.22-py3-none-any.whl
v2022.9.22 · released 2022-09-23 · Python >=3.6 · 4 runtime deps: marshmallow, attrs, typing-inspect, dataclasses

Yes, if you're working with dataclasses or attrs and need marshmallow serialization without schema duplication—the low install friction and permissive license make it easy to try. However, proceed with caution: the package is abandoned and no longer maintained, so you should verify it works with your current dependency versions and be prepared to fork or migrate if issues arise.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with only 4 runtime dependencies (marshmallow, attrs, typing-inspect, dataclasses).
  • However, the package is abandoned—last commit was 2023-04-27 and no releases since 2022-09-23, so maintenance is no longer active.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use it freely in commercial and private projects without restriction.

last release 2022-09-23 (1421 days) · last repo commit 2023-04-27 · 161 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 130,603 downloads/mo, #11,636 on PyPI

Verify before relying

pip install desert

from dataclasses import dataclass
import desert

@dataclass
class Person:
    name: str
    age: int

schema = desert.schema(Person)
data = {'name': 'Alice', 'age': 21}
person = schema.load(data)
  • Whether the package still works reliably with current versions of marshmallow and attrs despite being abandoned
  • Whether string annotations and forward references limitation affects your use case
Same gist for agents: .md · .json

What it is and what it does

Desert bridges dataclasses and attrs with marshmallow by automatically generating serialization schemas from your class definitions. Instead of writing both a dataclass and a separate marshmallow schema, you define your data structure once and Desert creates the schema for you. It handles nested objects, type-variant generics (Sequence, Mapping, etc.), and optional fields, reducing boilerplate while keeping your code DRY.

The package wraps marshmallow under the hood, so you get all of marshmallow's validation and serialization power without duplicating field definitions. It supports both dataclasses and attrs classes, making it useful for projects that use either or both. However, the project is no longer maintained—the last commit was in 2023 and no updates have been released since 2022, so you should consider whether you're comfortable adopting abandoned software.

Use it for

  • Automatically generate marshmallow schemas for dataclass-based APIs to avoid writing duplicate field definitions
  • Deserialize JSON into nested dataclass instances with automatic type validation and conversion
  • Use type-variant generics (Sequence, Mapping) in dataclasses while still getting proper serialization support
  • Reduce boilerplate when building data pipelines that need both type safety and serialization

Worth the install?

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

With conditions

Yes, if you're working with dataclasses or attrs and need marshmallow serialization without schema duplication—the low install friction and permissive license make it easy to try.

However, proceed with caution: the package is abandoned and no longer maintained, so you should verify it works with your current dependency versions and be prepared to fork or migrate if issues arise.

Install

desert on PyPI

Before you install

Low install friction with only 4 runtime dependencies (marshmallow, attrs, typing-inspect, dataclasses). However, the package is abandoned—last commit was 2023-04-27 and no releases since 2022-09-23, so maintenance is no longer active.

License in practice

Licensed under MIT (permissive), so you can use it freely in commercial and private projects without restriction.

Quickstart

pip install desert

from dataclasses import dataclass
import desert

@dataclass
class Person:
    name: str
    age: int

schema = desert.schema(Person)
data = {'name': 'Alice', 'age': 21}
person = schema.load(data)

Verify before relying

  • Whether the package still works reliably with current versions of marshmallow and attrs despite being abandoned
  • Whether string annotations and forward references limitation affects your use case

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
marshmallowattrstyping-inspectdataclasses
MaintenanceAbandoned 1,421 days since the last release
Last repo commit
First released
Downloads130,603 / month, #11,636 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Utilities

Evidence: desert-2022.9.22-py3-none-any.whl

Tags

Capabilities
dataclass serialization schemaattrs deserializationautomatic marshmallow schemaDRY serializationdataclass to dict conversion
Topics
serializationdataclass-helper

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 › “dataclass serialization schema”

  • desertDesert generates marshmallow serialization schemas automatically from…
  • serpyco-rsSerializes and deserializes Python dataclasses to/from dictionaries,…
  • dataclasses-jsonConverts Python dataclasses to and from JSON with minimal…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also dataclasses-jsonschema · djangorestframework-dataclasses · warchant_dc_schema · attrs · hologram · tinsel · py-avro-schema · dataclasses-avroschema · dataclasses-json · renew