{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Database","url":"https://skillfed.io/packages/category/database/3"}],"enrichment":{"capability":"Provides transparent persistence for Python objects, allowing them to be automatically saved to and loaded from a database like ZODB without explicit serialization code.","skillfed_tags":["zodb","object-persistence","database-abstraction"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"persistent","links":{"html":"https://skillfed.io/packages/persistent","md":"https://skillfed.io/packages/persistent.md","pypi":"https://pypi.org/project/persistent/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-26","license_spdx":"ZPL-2.1","license_treatment":"unclear","name":"persistent","python_support":"supports_current","summary":"Translucent persistent objects"},"popularity":{"monthly_downloads":350204,"position":7332,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.7"}
