BTree folder with the option to keep an ordering in the items
Pin to setuptools < 52 to work around and incompatibility with zc.buildout in that version.
Add support for Python 3.9.
Require “view management screens” permission for the following methods (#20224):
Drop support for Python 2.
Add support for Python 3.8.
When moving an element behind the end of the list this no longer reverses the whole list. (#18264)
Drop support for Zope 2.
Support Zope 4.
Add support for Python 3.6 and 3.7.
Remove dependency on Globals (Zope 4 forward compatibility).
Fix moveObjectsByDelta() to be usable with unicode ids.
getObjectPosition() now raises a LookupError if object is not found.
Move source code to new directory ‘src’.
Update bootstrap.py, so it accepts a pinned version of setuptools.
Use py.test as the one and only testrunner.
Updated package to use Products.BTreeFolder2 >= 2.13.3, so most compatibility code added in version 1.2.1 could be removed, thus requiring at least Products.BTreeFolder2 version 2.13.3.
Removed not needed dependency on Products.CMFCore.
Methods objectItems, objectValues, keys, values and items returned values unordered when package was used together with Products.BTreeFolder2 >= 2.13.
Updated to run on Zope 2.12+, thus requiring at least this version.
Initial packaging as an egg.
This btree folder class implements the OrderSupport interface from the core Zope distribution. It is a subclass of the BTreeFolder2 product from Shane Hathaway. The BTreeFolder2 product needs to be installed alongside this product.
This folder has the advantages of a normal BTreefolder. Object listing and access to single objects, does not load unused objects into memory.
With the ordering support one can use this folder as a base class for other more application oriented containers.
Every OBTreeFolder has the property insertmodus which defines where in the ordering new objects should be added. Default is at the beginning of the ordered list.
This product is licensed under the GPL, read LICENSE.GPL for more info.
For questions regarding this product you can send an email to
Thanks to Helge Tesdal for a nice optimization hint.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for Products.orderedbtreefolder-3.1.tar.gz
Hashes for Products.orderedbtreefolder-3.1-py3-none-any.whl