adaptix
An extremely flexible and configurable data model conversion library
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; CPython and PyPy are both supported.
- Low friction: pure Python wheel with only one runtime dependency (exceptiongroup).
- Actively maintained with a recent commit on 2026-07-12 and 612 repository stars.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.
last release 2026-04-04 (132 days) · last repo commit 2026-07-12 · 612 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 141,864 downloads/mo, #11,232 on PyPI
Alternatives
Verify before relying
pip install adaptix==3.0.0b12
from dataclasses import dataclass
from adaptix import Retort
@dataclass
class Book:
title: str
price: int
retort = Retort()
book = retort.load({"title": "Fahrenheit 451", "price": 100}, Book)
data = retort.dump(book)- Actual performance comparison with other data conversion libraries (description claims 'one of the fastest' but provides no benchmarks).
- Scope and maturity of support for the listed model types (attrs, SQLAlchemy, Pydantic, msgspec) under beta versioning.
- Backward compatibility guarantees or migration path between beta releases.
What it is and 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.
You 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
adaptix on PyPI
Before you install
Low friction: pure Python wheel with only one runtime dependency (exceptiongroup). Actively maintained with a recent commit on 2026-07-12 and 612 repository stars. Still in beta (3.0.0b12) but documented as production-ready; version pinning is recommended due to potential backward-incompatible changes.
Requires Python 3.10 or later; CPython and PyPy are both supported.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install adaptix==3.0.0b12
from dataclasses import dataclass
from adaptix import Retort
@dataclass
class Book:
title: str
price: int
retort = Retort()
book = retort.load({"title": "Fahrenheit 451", "price": 100}, Book)
data = retort.dump(book)
Verify before relying
- Actual performance comparison with other data conversion libraries (description claims 'one of the fastest' but provides no benchmarks).
- Scope and maturity of support for the listed model types (attrs, SQLAlchemy, Pydantic, msgspec) under beta versioning.
- Backward compatibility guarantees or migration path between beta releases.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageexceptiongroup |
| Maintenance | Actively maintained 132 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 141,864 / month, #11,232 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: InternetTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: adaptix-3.0.0b12-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “data model conversion library”
- adaptixAdaptix converts between data models, dictionaries, and JSON with…
- arviz-baseProvides converters and base data manipulation functions for the…
- sklearn2pmmlConverts fitted Scikit-Learn pipelines to PMML (Predictive Model…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also dataclass-factory · itemadapter · dataclass-wizard · typed-json-dataclass · datamodel-code-generator · databind · sqlalchemy-serializer · cattrs · dacite · databind.json