ZODB
ZODB, a Python object-oriented database
Decision gist · record as of 2026-08-14
Yes, if you need transparent object persistence in Python and accept the ZPL-2.1 license. ZODB is actively maintained, has low install friction, supports modern Python versions (3.10–3.14), and carries no known vulnerabilities. Verify license compatibility and review the documentation to confirm it fits your data model and transaction requirements before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or above; does not support Python 3.7–3.9.
- Low install friction with a pure-wheel distribution.
- Actively maintained with recent commits and support for current Python versions (3.10–3.14).
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License 2.1). License treatment is marked unclear in the fact sheet; verify compatibility with your project's license requirements before use.
last release 2026-04-14 (122 days) · last repo commit 2026-04-14 · 759 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 216,689 downloads/mo, #9,373 on PyPI
Alternatives
Verify before relying
pip install zodb
import ZODB
db = ZODB.DB()
connection = db.open()
root = connection.root()
root['key'] = 'value'
import transaction
transaction.commit()- Exact scope and performance characteristics of the seven runtime dependencies and their interaction with ZODB's core functionality.
- Whether ZPL-2.1 is compatible with common proprietary or copyleft licenses used in your codebase.
- Production-readiness and data durability guarantees for specific storage backends (FileStorage, etc.).
What it is and what it does
ZODB is a Python object-oriented database that lets you store and retrieve Python objects as if they were native to your application, with minimal code changes and no separate query language. It implements ACID transactions and runs on Python 3.10 and above, including PyPy. The database operates transparently—objects are persisted directly without an object-relational mapping layer that would partially hide the database abstraction.
The package depends on seven runtime components: persistent (for object state management), BTrees (for efficient indexing), ZConfig (for configuration), transaction (for ACID semantics), zc.lockfile (for concurrency control), zope.interface (for interface definitions), and zodbpickle (for serialization). It is actively maintained, with recent releases adding support for Python 3.14 and new configuration options, and has no known security vulnerabilities.
Use it for
- Store complex Python object hierarchies directly without designing a relational schema or writing SQL.
- Build applications where object state and database state are nearly identical, reducing impedance mismatch.
- Implement ACID-compliant transactions for Python applications that need strong consistency guarantees.
- Develop Zope-based web applications or systems that integrate with the broader Zope ecosystem.
- Create embedded databases for Python applications that need persistence without external database infrastructure.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need transparent object persistence in Python and accept the ZPL-2.1 license.
ZODB is actively maintained, has low install friction, supports modern Python versions (3.10–3.14), and carries no known vulnerabilities. Verify license compatibility and review the documentation to confirm it fits your data model and transaction requirements before committing to production use.
Install
zodb on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with recent commits and support for current Python versions (3.10–3.14). Seven runtime dependencies are all established packages in the Zope ecosystem.
Requires Python 3.10 or above; does not support Python 3.7–3.9.
License in practice
Licensed under ZPL-2.1 (Zope Public License 2.1). License treatment is marked unclear in the fact sheet; verify compatibility with your project's license requirements before use.
Quickstart
pip install zodb
import ZODB
db = ZODB.DB()
connection = db.open()
root = connection.root()
root['key'] = 'value'
import transaction
transaction.commit()
Verify before relying
- Exact scope and performance characteristics of the seven runtime dependencies and their interaction with ZODB's core functionality.
- Whether ZPL-2.1 is compatible with common proprietary or copyleft licenses used in your codebase.
- Production-readiness and data durability guarantees for specific storage backends (FileStorage, etc.).
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagespersistentBTreesZConfigtransactionzc.lockfilezope.interfacezodbpickle |
| Maintenance | Actively maintained 122 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 216,689 / month, #9,373 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Framework :: ZODBIntended Audience :: DevelopersOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: PythonProgramming 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 :: DatabaseTopic :: Software Development :: Libraries :: Python Modules |
Evidence: zodb-6.3-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 › “object-oriented database python”
- ZODBZODB is an object-oriented database for Python that stores and…
- notionUnofficial Python client for Notion.so API v3 that maps Notion…
- tablesPyTables provides an object-oriented interface to HDF5 for storing…
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 persistent · zodbpickle · Zope · lmdb · transaction · BTrees · tinydb · zope.annotation · MultiMapping · sqlitedict