{"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":"BTrees provides persistent, scalable B-tree data structures optimized for ZODB's optimistic concurrency model, with built-in conflict resolution for concurrent access.","skillfed_tags":["zodb-integration","persistent-storage","concurrent-data-structures"],"use_cases":["Store large, mutable mappings in ZODB that scale better than in-memory dicts for concurrent multi-user applications.","Build conflict-aware data structures in ZODB that automatically resolve concurrent modifications without manual locking.","Implement persistent sets and ordered collections in a ZODB database with efficient range queries and iteration.","Replace standard Python containers in long-lived ZODB transactions where memory efficiency and conflict handling matter."],"what_it_does":"BTrees is a library of persistent container objects built around a modified B-tree data structure, designed to work inside ZODB's optimistic concurrency paradigm. It provides scalable alternatives to standard Python dictionaries and sets that can be stored in a ZODB database, with explicit conflict resolution when concurrent transactions detect conflicts.\n\nThe package includes multiple tree variants (OOBTree for object-to-object mappings, IOBTree for integer keys, etc.) and corresponding set types, all optimized for the transactional semantics of ZODB. It depends on persistent (for the base persistent object protocol) and zope.interface (for interface definitions), and is maintained as part of the Zope Foundation ecosystem.","worth_installing":"Yes, if you are using ZODB and need scalable persistent containers with built-in conflict resolution. The package is mature, actively maintained, and has no known vulnerabilities. Install friction is moderate due to C extension compilation, but wheels are provided for current Python versions. Verify ZPL-2.1 license compatibility before adoption."},"id":"btrees","links":{"html":"https://skillfed.io/packages/btrees","md":"https://skillfed.io/packages/btrees.md","pypi":"https://pypi.org/project/btrees/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-29","license_spdx":"ZPL-2.1","license_treatment":"unclear","name":"BTrees","python_support":"supports_current","summary":"Scalable persistent object containers"},"popularity":{"monthly_downloads":348006,"position":7345,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.4"}
