{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"}],"enrichment":{"capability":"Generates JSON Schema from Python dataclasses and provides serialization, deserialization, and validation against the generated schema.","skillfed_tags":["schema-generation","dataclass-tooling","api-documentation"],"use_cases":["Generate OpenAPI/Swagger documentation automatically from dataclass definitions in Flask or other web frameworks","Validate incoming JSON data against a schema derived from a dataclass structure before processing","Serialize and deserialize dataclass instances to/from JSON with built-in type checking","Create reusable schema definitions for APIs without writing JSON Schema by hand"],"what_it_does":"Dataclasses-jsonschema is a lightweight library that converts Python 3.7+ dataclasses into JSON Schema definitions. It generates schemas compatible with draft-04, draft-06, Swagger 2.0, and OpenAPI 3 formats, and provides methods to serialize dataclass instances to dictionaries, deserialize dictionaries back into dataclass instances, and validate data against the generated schema.\n\nThe library is designed as a lighter-weight alternative to marshmallow and pydantic, requiring only dataclasses, jsonschema, python-dateutil, and typing-extensions as runtime dependencies. It includes optional extras for performance improvements (fastjsonschema for validation, fastuuid for UUID handling, ciso8601 for date parsing) and integrates with apispec for automatic OpenAPI/Swagger documentation generation. However, the project entered maintenance mode and is no longer actively developed, with the repository archived since August 2023.","worth_installing":"Yes, with conditions. The package is stable and has low install friction, but the abandoned maintenance status (last release October 2022, repository archived August 2023) means no active support for emerging Python versions or security issues. Install if your schema generation needs are straightforward and you do not require ongoing maintenance; consider pydantic or marshmallow if you need active development or broader feature coverage."},"id":"dataclasses-jsonschema","links":{"html":"https://skillfed.io/packages/dataclasses-jsonschema","md":"https://skillfed.io/packages/dataclasses-jsonschema.md","pypi":"https://pypi.org/project/dataclasses-jsonschema/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-10-27","license_spdx":null,"license_treatment":"permissive","name":"dataclasses-jsonschema","python_support":"unspecified","summary":"JSON schema generation from dataclasses"},"popularity":{"monthly_downloads":196241,"position":9791,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.16.0"}
