Package python-module-zope.bforest: Information
Source package: python-module-zope.bforest
Version: 1.2-alt3.1
Build time: Mar 17, 2016, 04:47 PM in the task #161377
Category: Development/Python
Report package bugHome page: http://pypi.python.org/pypi/zope.bforest/
License: ZPLv2.1
Summary: Mappings based transparently on multiple BTrees; good for rotating caches and logs
Description:
BForests are dictionary-like objects that use multiple BTrees for a backend and support rotation of the composite trees. This supports various implementations of timed member expirations, enabling caches and semi-persistent storage. A useful and simple subclass would be to promote a key-value pair to the first (newest) bucket whenever the key is accessed, for instance. It also is useful with disabling the rotation capability. Like btrees, bforests come in four flavors: Integer-Integer (IIBForest), Integer-Object (IOBForest), Object-Integer (OIBForest), and Object-Object (OOBForest). The examples here will deal with them in the abstract: we will create classes from the imaginary and representative BForest class, and generate keys from KeyGenerator and values from ValueGenerator. From the examples you should be able to extrapolate usage of all four types. First let's instantiate a bforest and look at an empty example. By default, a new bforest creates two composite btree buckets.
List of rpms provided by this srpm:
python-module-zope.bforest (x86_64, i586)
python-module-zope.bforest-tests (x86_64, i586)
python3-module-zope.bforest (x86_64, i586)
python3-module-zope.bforest-tests (x86_64, i586)
python-module-zope.bforest (x86_64, i586)
python-module-zope.bforest-tests (x86_64, i586)
python3-module-zope.bforest (x86_64, i586)
python3-module-zope.bforest-tests (x86_64, i586)
Maintainer: Eugeny A. Rostovtsev
Last changed
March 14, 2016 Ivan Zakharyaschev 1.2-alt3.1
- (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed)
July 25, 2014 Eugeny A. Rostovtsev 1.2-alt3
- Added module for Python 3
Oct. 20, 2011 Vitaly Kuznetsov 1.2-alt2.1
- Rebuild with Python-2.7