{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"}],"enrichment":{"capability":"Dataclass Wizard converts Python dataclasses to and from JSON, YAML, TOML, and environment variables with automatic type coercion and case transformation, using code-generated serialization for performance.","skillfed_tags":["serialization","dataclass","type-coercion"],"use_cases":["Load configuration from JSON or YAML files into typed dataclass schemas with automatic validation and type conversion.","Serialize API request/response dataclasses to JSON with custom key casing (e.g., snake_case to camelCase).","Populate dataclass instances from environment variables or .env files with type coercion.","Convert lists of dictionaries from external APIs into lists of typed dataclass instances.","Build CLI tools that accept JSON input and output typed, validated dataclass objects."],"what_it_does":"Dataclass Wizard is a serialization library that extends Python dataclasses with mixin classes to handle conversion to and from JSON, YAML, TOML, and environment variables. It uses code generation to create fast loaders and dumpers, automatically coercing types (e.g., converting string \"123\" to integer 123) and transforming key casing between formats. The library is pure Python with minimal dependencies and supports modern Python versions (3.9+).\n\nYou use it by subclassing from one of its mixin classes\u2014JSONWizard for JSON, EnvWizard for environment variables, or the base DataclassWizard\u2014which adds methods like from_dict(), to_dict(), from_json(), and to_json(). It handles nested dataclasses, collections, typing generics, and standard types like Enum and datetime. Custom type hooks allow you to extend support for unsupported types without modifying the library itself.","worth_installing":"Yes. Dataclass Wizard is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. It fills a genuine gap for lightweight, type-safe dataclass serialization without the overhead of heavier validation frameworks. Install it if you need JSON/YAML/TOML/environment variable marshalling for dataclasses and want automatic type coercion and case transformation out of the box."},"id":"dataclass-wizard","links":{"html":"https://skillfed.io/packages/dataclass-wizard","md":"https://skillfed.io/packages/dataclass-wizard.md","pypi":"https://pypi.org/project/dataclass-wizard/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-03","license_spdx":null,"license_treatment":"permissive","name":"dataclass-wizard","python_support":"supports_current","summary":"A wizard-like JSON serialization library for Python dataclasses"},"popularity":{"monthly_downloads":4903540,"position":2205,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
