databind.core
Databind is a library inspired by jackson-databind to de-/serialize Python dataclasses. Compatible with Python 3.8 and newer. Deprecated, use `databind` package.
Decision gist · record as of 2026-08-14
Yes, if you need flexible dataclass serialization for configuration loading and can tolerate non-optimized performance. The library is actively maintained, permissively licensed, and has low install friction. Note: the package is marked deprecated in favor of the merged 'databind' package; verify whether migration is recommended for new projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction; pure Python wheel.
- Actively maintained with a release 84 days ago.
- Supports Python 3.8 and newer.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
last release 2026-05-22 (84 days) · last repo commit 2026-05-22 · 15 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 246,452 downloads/mo, #8,710 on PyPI
Alternatives
Verify before relying
pip install databind-core
from dataclasses import dataclass
from databind.json import load, dump
@dataclass
class Config:
host: str
port: int
data = {"host": "localhost", "port": 8080}
config = load(data, Config)
result = dump(config, Config)- Whether databind-core is still the recommended entry point or if users should migrate to the merged 'databind' package instead
What it is and what it does
Databind is a dataclass (de)serialization framework designed for flexible configuration loading rather than high-performance scenarios. It understands most native Python types—including Enum, Decimal, UUID, Path, datetime, date, time, and timedelta—as well as dataclasses themselves, and can round-trip them to and from JSON-like nested dictionaries. The library supports generic types, multiple union serialization modes, customized type handlers, and field flattening, with runtime type checking during serialization.
The package is configured through settings applied at three levels: globally per load/dump call, as class-level decorators, or inline via type hints using Annotated. It is not intended for scenarios requiring high throughput; the maintainer explicitly recommends other libraries for performance-critical use cases.
Use it for
- Load application configuration from JSON files into typed dataclass structures with automatic type conversion and validation.
- Serialize dataclass instances back to JSON for storage or API responses with full type awareness.
- Handle complex nested configurations with support for enums, dates, UUIDs, and other non-primitive types.
- Define custom serialization rules per type or field using decorators and Annotated hints.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need flexible dataclass serialization for configuration loading and can tolerate non-optimized performance.
The library is actively maintained, permissively licensed, and has low install friction. Note: the package is marked deprecated in favor of the merged 'databind' package; verify whether migration is recommended for new projects.
Install
databind-core on PyPI
Before you install
Low install friction; pure Python wheel. Actively maintained with a release 84 days ago. Supports Python 3.8 and newer.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install databind-core
from dataclasses import dataclass
from databind.json import load, dump
@dataclass
class Config:
host: str
port: int
data = {"host": "localhost", "port": 8080}
config = load(data, Config)
result = dump(config, Config)
Verify before relying
- Whether databind-core is still the recommended entry point or if users should migrate to the merged 'databind' package instead
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedatabind |
| Maintenance | Actively maintained 84 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 246,452 / month, #8,710 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: databind_core-4.5.5-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 › “json to dataclass mapping”
- databind.coreDeserializes and serializes Python dataclasses and native types to…
- databind.jsonDeserializes and serializes Python dataclasses to and from JSON-like…
- dataclass-wizardDataclass Wizard converts Python dataclasses to and from JSON, YAML,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also databind · databind.json · dataclass-factory · json-strong-typing · dacite · typedload · pyserde · serpyco-rs · dataclass-wizard · jsons