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.37.0
0.36.6
0.36.2
0.36.1
0.36.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

Dec 20, 2025 at 18:53

License

Apache-2.0

Total Downloads

66.6K

Supported Platforms

noarch