$npx skillfedfor your agent

persistent

Translucent persistent objects

With conditionsPyPI Python ModulesReleased May 2026350.2K downloads / moZPL-2.1Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — persistent-6.7-cp310-cp310-macosx_10_9_x86_64.whl · persistent-6.7-cp310-cp310-macosx_11_0_arm64.whl · persistent-6.7-cp310-cp310-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl
v6.7 · released 2026-05-26 · Python >=3.10 · 3 runtime deps: zope.deferredimport, zope.interface, cffi

Yes, if you are using ZODB or a compatible persistence framework. The package is mature, actively maintained, has no known vulnerabilities, and provides broad Python version and platform support. Install friction is moderate due to C extensions, but pre-built wheels are available for common platforms. Not recommended as a standalone persistence solution outside the ZODB ecosystem.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; C extensions require a C compiler or pre-built wheels for your platform.
  • Medium install friction due to C extensions and cffi dependency, but well-maintained with recent releases and broad platform support (macOS, Linux, Windows, ARM64).
  • Active upstream development with no known security issues.

License · maintenance · safety

ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License 2.1), a permissive open-source license with no notable restrictions for most use cases.

last release 2026-05-26 (80 days) · last repo commit 2026-08-14 · 47 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 350,204 downloads/mo, #7,332 on PyPI

Verify before relying

pip install persistent

from persistent import Persistent

class MyObject(Persistent):
    def __init__(self):
        self.data = []

obj = MyObject()
obj.data.append('value')
# Object state is now tracked for persistence
  • Specific performance characteristics or memory overhead compared to standard Python objects.
  • Compatibility with non-ZODB persistence backends or whether it is ZODB-specific.
  • Whether the package works with free-threaded Python 3.14+ in production or only with experimental support.
Same gist for agents: .md · .json

What it is and what it does

Persistent is a core protocol library that makes Python objects interact transparently with databases, primarily ZODB. It implements automatic state tracking and serialization so that objects can be modified in memory and have those changes persisted to disk without explicit save calls. The package provides base classes like Persistent, PersistentList, and PersistentMapping that handle the bookkeeping of object changes, allowing developers to work with objects as if they were in-memory while the database layer handles durability.

The library uses C extensions for performance-critical operations and falls back to pure Python implementations when needed. It has three runtime dependencies: zope.deferredimport for lazy imports, zope.interface for interface definitions, and cffi for C bindings. Recent versions add support for free-threaded Python 3.14 and 3.15, though the package is primarily designed for ZODB integration and is not recommended with ZODB versions earlier than 3.11.

Use it for

  • Building applications with ZODB that need automatic object persistence without manual serialization.
  • Creating long-lived in-memory object caches that can be transparently synced to a persistent store.
  • Implementing complex data structures (lists, mappings) that track their own modifications for database updates.
  • Developing multi-threaded applications requiring thread-safe object state management and change tracking.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are using ZODB or a compatible persistence framework.

The package is mature, actively maintained, has no known vulnerabilities, and provides broad Python version and platform support. Install friction is moderate due to C extensions, but pre-built wheels are available for common platforms. Not recommended as a standalone persistence solution outside the ZODB ecosystem.

Install

persistent on PyPI

Before you install

Medium install friction due to C extensions and cffi dependency, but well-maintained with recent releases and broad platform support (macOS, Linux, Windows, ARM64). Active upstream development with no known security issues.

Requires Python 3.10 or later; C extensions require a C compiler or pre-built wheels for your platform.

License in practice

Licensed under ZPL-2.1 (Zope Public License 2.1), a permissive open-source license with no notable restrictions for most use cases.

Quickstart

pip install persistent

from persistent import Persistent

class MyObject(Persistent):
    def __init__(self):
        self.data = []

obj = MyObject()
obj.data.append('value')
# Object state is now tracked for persistence

Verify before relying

  • Specific performance characteristics or memory overhead compared to standard Python objects.
  • Compatibility with non-ZODB persistence backends or whether it is ZODB-specific.
  • Whether the package works with free-threaded Python 3.14+ in production or only with experimental support.

Package facts

LicenseZPL-2.1 unclear
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
3 packages
zope.deferredimportzope.interfacecffi
MaintenanceActively maintained 80 days since the last release
Last repo commit
First released
Downloads350,204 / month, #7,332 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 6 - MatureFramework :: ZODBIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming 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: persistent-6.7-cp310-cp310-macosx_10_9_x86_64.whl; persistent-6.7-cp310-cp310-macosx_11_0_arm64.whl; persistent-6.7-cp310-cp310-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl; persistent-6.7-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; persistent-6.7-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; persistent-6.7-cp310-cp310-win_amd64.whl; persistent-6.7-cp311-cp311-macosx_10_9_x86_64.whl; persistent-6.7-cp311-cp311-macosx_11_0_arm64.whl; persistent-6.7-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl; persistent-6.7-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; persistent-6.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; persistent-6.7-cp311-cp311-win_amd64.whl; persistent-6.7-cp311-cp311-win_arm64.whl; persistent-6.7-cp312-cp312-macosx_10_9_x86_64.whl; persistent-6.7-cp312-cp312-macosx_11_0_arm64.whl; persistent-6.7-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl; persistent-6.7-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl; persistent-6.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; persistent-6.7-cp312-cp312-win_amd64.whl; persistent-6.7-cp312-cp312-win_arm64.whl

Tags

Capabilities
persistent object storageautomatic object persistenceZODB integrationtransparent database persistencePython object cachingpersistent data structuresobject state management
Topics
zodbobject-persistencedatabase-abstraction

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 › “automatic object persistence”

  • persistentProvides transparent persistence for Python objects, allowing them to…
  • datafilesDatafiles is a file-based ORM that automatically synchronizes Python…
  • YORMYORM maps Python object attributes bidirectionally to YAML files,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also ZODB · BTrees · Persistence · zodbpickle · zope.annotation · transaction · zope.container · seba-sqlite · Zope · ripser