This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

BTree folder with the option to keep an ordering in the items

Project Description

Changes

1.4 (2016-10-24)

  • 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.

1.3.0 (2011-03-15)

  • 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\).

1.2.1 (2011-03-07)

  • Methods objectItems, objectValues, keys, values and items returned values unordered when package was used together with \(Products.BTreeFolder2\) >= 2.13.

1.2.0 (2011-03-03)

  • Updated to run on Zope 2.12+, thus requiring at least this version.

1.1.0 (2009-04-01)

  • Initial packaging as an egg.
  • Code cleanup.

Ordered BTreeFolder

This btree folder class implements the OrderSupport interface from the core Zope2.7+ distribution. It is a subclass of the BTreeFolder2 product from Shane Hathaway. The BTreeFolder2 product needs to be installed alongside this product.

Features

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.

In the ZMI, there is a simple javascript based method to change the order of several objects with one request.

License

This product is licensed under the GPL, read LICENSE.GPL for more info.

Info

For questions regarding this product you can send an email to

core@unioncms.org

Contributions

Thanks to Helge Tesdal for a nice optimization hint.

Release History

Release History

This version
History Node

1.4

History Node

1.3.0

History Node

1.2.1

History Node

1.2.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Products.orderedbtreefolder-1.4.tar.gz (32.5 kB) Copy SHA256 Checksum SHA256 Source Oct 24, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting