{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/5"}],"enrichment":{"capability":"Adaptix converts between data models, dictionaries, and JSON with flexible, configurable rules\u2014loading dicts into dataclasses, TypedDict, attrs, SQLAlchemy, Pydantic, or msgspec objects, and dumping them back.","skillfed_tags":["data-serialization","type-conversion","validation"],"use_cases":["Validate and transform received data in REST APIs before passing to business logic.","Convert between SQLAlchemy ORM models and data transfer objects (DTOs) for API responses.","Load configuration files (YAML, JSON) into typed dataclass or attrs objects with validation.","Parse JSON stored in a database and represent it as a strongly-typed model in application code.","Build API clients that convert local models to JSON for transmission to remote servers.","Implement a lightweight ORM or object-to-cache mapping for persistence layers."],"what_it_does":"Adaptix is a data model conversion library that transforms dictionaries and JSON into typed Python objects (dataclasses, TypedDict, attrs, SQLAlchemy, Pydantic, msgspec) and back again. It separates model definition from conversion rules, allowing the same model to have different representations without coupling. The library handles dozens of types, supports self-referential structures, provides machine-readable error messages with paths, and offers a predicate system for fine-grained control over conversion behavior.\n\nYou create a Retort instance (typically once, as a global or module constant) and call load() to parse incoming data or dump() to serialize objects. It works with no configuration for simple cases but allows extensive customization through predicates and codec options. The library does not auto-cast by default, requiring explicit type matches, which reduces silent errors in data validation pipelines.","worth_installing":"Yes, with version pinning. Adaptix is actively maintained, has low install friction, and solves a real problem in data-heavy applications. The Apache-2.0 license is permissive. The beta status (3.0.0b12) means you must pin the version to avoid breaking changes, but the maintainers explicitly state it is production-ready. Install it if you need flexible, configurable model conversion without the overhead of larger frameworks."},"id":"adaptix","links":{"html":"https://skillfed.io/packages/adaptix","md":"https://skillfed.io/packages/adaptix.md","pypi":"https://pypi.org/project/adaptix/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-04","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"adaptix","python_support":"supports_current","summary":"An extremely flexible and configurable data model conversion library"},"popularity":{"monthly_downloads":141864,"position":11232,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.0b12"}
