Databind Core is a Python library, currently at version 4.5.4, designed for de-serializing Python dataclasses, drawing inspiration from Java's Jackson Databind. It is compatible with Python 3.8 and newer. This package is now deprecated; users are advised to migrate to the `databind` package, which consolidates `databind-core` and `databind-json`.
pip install databind-coreVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates basic JSON de/serialization using the `databind` package, which is the recommended successor to `databind-core`. It shows how to define dataclasses and use `load` and `dump` for conversion between dictionaries and dataclass instances.
Uninstall `databind-core` (`pip uninstall databind-core`) and install `databind` (`pip install databind`). Update import paths accordingly (e.g., `from databind.json import load, dump`).
Upgrade your Python environment to 3.8 or newer, or pin `databind-core` to a version older than 4.5.0 if Python 3.6/3.7 support is strictly required (not recommended due to deprecation).
Upgrade to `databind-core` version 4.5.4 or later, or migrate to the `databind` package.
Upgrade to `databind-core` version 4.5.3 or later, or migrate to the `databind` package.
Upgrade to `databind-core` version 4.5.3 or later, or migrate to the `databind` package.
Install the `databind` package (`pip install databind`) and ensure your import statement is `from databind.json import load, dump`.
Upgrade `databind-core` to version 4.5.4 or higher, or preferably, migrate to the `databind` package.
Upgrade `databind-core` to version 4.5.3 or higher, or migrate to the `databind` package.