A BTree-based implementation for Zope's Object Folder (OFS). This product replaces the standard OFS Folder with a scalable, BTree-backed folder that can handle large numbers of objects without performance degradation. Current version 6.0 supports Python >=3.10 and requires Zope 5 / Zope 6 environment. Releases follow Zope release cycle, generally stable.
pip install Products.BTreeFolder2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates both the typical Zope management function and a minimal ZODB-based test setup. Note that BTreeFolder2 is intended to be used within a Zope application server; standalone usage may require additional setup.
Upgrade to Python >=3.10 or use Products.BTreeFolder2<6.0.
Ensure custom ZMI templates handle BTreeFolder2. Use .items() properly; BTreeFolder2 returns items in BTree order (sorted by key).
Update imports to 'from Products.BTreeFolder2.BTreeFolder2 import manage_addBTreeFolder'.
Always create BTreeFolder2 instances within a ZODB transaction context, typically using manage_add* or by wrapping with __of__.
Use 'from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2'.
Pass the id: BTreeFolder2('myfolder')Use manage_addBTreeFolder from the module, or use the ZMI to add a BTreeFolder2 product.