CMD + K

dataclass-wizard

Community

Marshal dataclasses to/from JSON. Use field properties with initial values. Construct a dataclass schema with JSON input.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::dataclass-wizard

Usage Tracking

0.39.1
0.39.0
0.38.2
0.38.1
0.38.0
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

The dataclass-wizard library provides a set of simple, yet elegant wizarding tools for interacting with the Python dataclasses module in Python 3.9+.

The primary use is as a fast serialization framework that enables dataclass instances to be converted to/from JSON; this works well in particular with a nested dataclass model.

The dataclass-wizard is pure Python code that relies entirely on stdlib, with the only added dependency being typing-extensions https://pypi.org/project/typing-extensions/ for Python 3.9 and below.

About

Summary

Marshal dataclasses to/from JSON. Use field properties with initial values. Construct a dataclass schema with JSON input.

Last Updated

Jan 6, 2026 at 06:44

License

Apache-2.0

Total Downloads

69.2K

Supported Platforms

noarch