{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"}],"enrichment":{"capability":"Apischema handles JSON serialization/deserialization, GraphQL schema generation, and JSON schema generation directly from Python type annotations and dataclasses, with no base class requirement.","skillfed_tags":["json-serialization","graphql","type-annotations"],"use_cases":["Deserialize and validate JSON API responses into typed Python dataclasses with automatic error reporting.","Generate JSON Schema and GraphQL schemas from your existing dataclass definitions for API documentation.","Serialize Python dataclass instances back to JSON for API responses without manual field mapping.","Build GraphQL query resolvers that work directly with your Python type annotations.","Adapt the library to support custom types (ORM models, attrs classes) via its conversion system."],"what_it_does":"Apischema is a Python library for converting between Python objects and JSON, generating GraphQL schemas, and producing JSON schemas\u2014all driven by standard Python type annotations and dataclasses. It works with any type (dataclasses, NewType, generic collections) without requiring a base class, and integrates with your IDE and type checker naturally.\n\nThe library is designed to stay close to Python's standard library (dataclasses, typing) rather than imposing its own object model. It handles validation during deserialization, generates schemas for documentation and API contracts, and supports GraphQL as a first-class concern alongside JSON. It has no runtime dependencies and supports Python 3.9 and later, including PyPy3.","worth_installing":"Yes. Apischema is actively maintained, has no dependencies, supports current Python versions, and solves a real problem (API data handling) without imposing a base class or breaking from standard library conventions. The MIT license is permissive. No known security vulnerabilities. Suitable for production use in API clients and servers."},"id":"apischema","links":{"html":"https://skillfed.io/packages/apischema","md":"https://skillfed.io/packages/apischema.md","pypi":"https://pypi.org/project/apischema/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-10-01","license_spdx":null,"license_treatment":"permissive","name":"apischema","python_support":"supports_current","summary":"JSON (de)serialization, GraphQL and JSON schema generation using Python typing."},"popularity":{"monthly_downloads":158326,"position":10727,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.19.0"}
