Scalable persistent object containers
Project description
BTrees: scalable persistent components
This package contains a set of persistent object containers built around a modified BTree data structure. The trees are optimized for use inside ZODB’s “optimistic concurrency” paradigm, and include explicit resolution of conflicts detected by that mechannism.
Please see the Sphinx documentation (docs/index.rst) for further information.
BTrees Changelog
4.3.1 (2016-05-16)
Packaging: fix password used to automate wheel creation on Travis.
4.3.0 (2016-05-10)
Fix unexpected OverflowError when passing 64bit values to long keys / values on Win64. See: https://github.com/zopefoundation/BTrees/issues/32
When testing PURE_PYTHON environments under tox, avoid poisoning the user’s global wheel cache.
Ensure that he pure-Python implementation, used on PyPy and when a C compiler isn’t available for CPython, pickles identically to the C version. Unpickling will choose the best available implementation. This change prevents interoperability problems and database corruption if both implementations are in use. While it is no longer possible to pickle a Python implementation and have it unpickle to the Python implementation if the C implementation is available, existing Python pickles will still unpickle to the Python implementation (until pickled again). See: https://github.com/zopefoundation/BTrees/issues/19
Avoid creating invalid objects when unpickling empty BTrees in a pure-Python environment.
Drop support for Python 2.6 and 3.2.
4.2.0 (2015-11-13)
Add support for Python 3.5.
4.1.4 (2015-06-02)
Ensure that pure-Python Bucket and Set objects have a human readable __repr__ like the C versions.
4.1.3 (2015-05-19)
Fix _p_changed when removing items from small pure-Python BTrees/TreeSets and when adding items to small pure-Python Sets. See: https://github.com/zopefoundation/BTrees/issues/13
4.1.2 (2015-04-07)
Suppress testing 64-bit values in OLBTrees on 32 bit machines. See: https://github.com/zopefoundation/BTrees/issues/9
Fix _p_changed when adding items to small pure-Python BTrees/TreeSets. See: https://github.com/zopefoundation/BTrees/issues/11
4.1.1 (2014-12-27)
Accomodate long values in pure-Python OLBTrees.
4.1.0 (2014-12-26)
Add support for PyPy and PyPy3.
Add support for Python 3.4.
BTree subclasses can define max_leaf_size or max_internal_size to control maximum sizes for Bucket/Set and BTree/TreeSet nodes.
Detect integer overflow on 32-bit machines correctly under Python 3.
Update pure-Python and C trees / sets to accept explicit None to indicate max / min value for minKey, maxKey. (PR #3)
Update pure-Python trees / sets to accept explicit None to indicate open ranges for keys, values, items. (PR #3)
4.0.8 (2013-05-25)
Fix value-based comparison for objects under Py3k: addresses invalid merges of [OLI]OBTrees/OBuckets.
Ensure that pure-Python implementation of OOBTree.byValue matches semantics (reversed-sort) of C implementation.
4.0.7 (2013-05-22)
Issue #2: compilation error on 32-bit mode of OS/X.
Test PURE_PYTHON environment variable support: if set, the C extensions will not be built, imported, or tested.
4.0.6 (2013-05-14)
Changed the ZODB extra to require only the real ZODB package, rather than the ZODB3 metapackage: depending on the version used, the metapackage could pull in stale versions of this package and persistent.
Fixed Python version check in setup.py.
4.0.5 (2013-01-15)
Fit the repr of bucket objects, which could contain garbage characters.
4.0.4 (2013-01-12)
Emulate the (private) iterators used by the C extension modules from pure Python. This change is “cosmetic” only: it prevents the ZCML zope.app.security:permission.zcml from failing. The emulated classes are not functional, and should be considered implementation details.
Accomodate buildout to the fact that we no longer bundle a copy of ‘persistent.h’.
Fix test failures on Windows: no longer rely on overflows from sys.maxint.
4.0.3 (2013-01-04)
Added setup_requires==['persistent'].
4.0.2 (2013-01-03)
Updated Trove classifiers.
Added explicit support for Python 3.2, Python 3.3, and PyPy. Note that the C extensions are not (yet) available on PyPy.
Python reference implementations now tested separately from the C verions on all platforms.
100% unit test coverage.
4.0.1 (2012-10-21)
Provide local fallback for persistent C header inclusion if the persistent distribution isn’t installed. This makes the winbot happy.
4.0.0 (2012-10-20)
Platform Changes
Dropped support for Python < 2.6.
Factored BTrees as a separate distribution.
Testing Changes
All covered platforms tested under tox.
Added support for continuous integration using tox and jenkins.
Added setup.py dev alias (installs nose and coverage).
Dropped dependency on zope.testing / zope.testrunner: tests now run with setup.py test.
Documentation Changes
Added API reference, generated via Spinx’ autodoc.
Added Sphinx documentation based on ZODB Guide (snippets are exercised via ‘tox’).
Added setup.py docs alias (installs Sphinx and repoze.sphinx.autointerface).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for BTrees-4.3.1.win-amd64-py3.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb6678f02e04e5a6d6e432921e1d79add76554b0c8acfdd8343acb31967b5ee |
|
MD5 | 7fc6c77cd9a031cc568006ba9fddc04f |
|
BLAKE2b-256 | 509f8a929f940dae476835bd198f322cb4a76edee4916df686c513814be872ee |
Hashes for BTrees-4.3.1.win-amd64-py3.3.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26663d2b1f611e6ee79ac95cfc7eec22d48f416ee04dee3af94f1fce14ccd082 |
|
MD5 | cc264183b376c05d7cb6c84a451ceddb |
|
BLAKE2b-256 | 2bcc80f5970958a140e2f7d8c5b8e181b6e6695d7e09a69b53ae0892179be0a6 |
Hashes for BTrees-4.3.1.win-amd64-py2.7.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8feaa32e6b834f002330a0c39b2fd6b1eac39a61582764c1ff87ddc817f71252 |
|
MD5 | f14ad8b02f9a1fe266473143d3c9bd24 |
|
BLAKE2b-256 | f43c773b09ecb5bb87042e04ffa1dd564163e153d04baf9ff5e39972111199fb |
Hashes for BTrees-4.3.1-py3.5-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8aded188a162cf3e9521dc3d7036d923616d3b4a980ed00e1bb647e277a162 |
|
MD5 | e45122d98831f9fcf67b722b78728bb6 |
|
BLAKE2b-256 | 28164596dee610823f58a5f6bb2168eb3d34e0862412c7f2e97f32d1aa034caa |
Hashes for BTrees-4.3.1-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f60b8001f144b8e6dcec3ce22bede00396dfbcb795e7f0c5373cab6e04aed99c |
|
MD5 | f219889ec1241c7d31810618315e8101 |
|
BLAKE2b-256 | 9c1d97563b555e31b1f77e524b98bb3118d7409baa71e76b1209075365b51342 |
Hashes for BTrees-4.3.1-py3.3-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 049c3f70a585114b52fa0dfcc72ec104783a9f36abc18433e4dc3a9455923606 |
|
MD5 | 2d2dd7071a91839e5fba63e9300bac8f |
|
BLAKE2b-256 | 389260674ee4c415a73c1d6949575714e94cc29676efee2b6bfd7fcf29017eec |
Hashes for BTrees-4.3.1-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5f291ad1b3aa31744c7673b41e91bb55b51d940edb08741472d329c172b508 |
|
MD5 | 76895ee69395e99d8427dbf9c4fc8916 |
|
BLAKE2b-256 | 01c417412a6f628f754d8d9bde3498a0cfabac40d45658607111cb3c7f74b379 |
Hashes for BTrees-4.3.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b206a5c9cb9a1806657efb8a1553eda86d12648340e54da63b9c8c425ed96636 |
|
MD5 | 670c7749798483433851615ba24e0e9c |
|
BLAKE2b-256 | 5b0ea05159718936675832d22aec0e5d92a07caf017c4e22b0b6652dcdc0f026 |
Hashes for BTrees-4.3.1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ab5e2a5ce2f0cd04e5e875f2cbaa6b0dae6e1e840f22420c12ee8bcc7611ef |
|
MD5 | aef29638c117493f345c10975548571f |
|
BLAKE2b-256 | 7a041617ebf94fadd200bb07362d07b8c4807f4086bb29ff598bc88b70189465 |
Hashes for BTrees-4.3.1-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c0828266455dd2b30a66627be92af6a6317593874029fbc8ebed35d891858fa |
|
MD5 | f29341a80efba7768f74ae668a742a9d |
|
BLAKE2b-256 | b4f41c38a6a8a2ade08435f50a80d85e3ad59ff9a3bff66693ad933a463fd8d2 |
Hashes for BTrees-4.3.1-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6392ba9f25e0868c0002ed26eb59e73558b4f900ee5d795c53f59e0d347c9397 |
|
MD5 | db63690613f598a86750804777b1cd0d |
|
BLAKE2b-256 | 765c9f01bdc37c14d97bed02333ff1d5796658f39ae7ff35b999e47f27be251e |
Hashes for BTrees-4.3.1-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f65c5112b02a83e10b1fd5c77cf80dce974112b732feb1e13dc1bb8dc898d38 |
|
MD5 | 6d93a7a1a9dfb94db566e5c53c52cef1 |
|
BLAKE2b-256 | 427cdbb261825ac707afb572bd71d9ab2d850bad2e07f0b7df6310933958f3b7 |
Hashes for BTrees-4.3.1-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76a7910243e07bda532abbda515b73183bb05137bcd2d402494428edd5e0e8da |
|
MD5 | 13877b80b2b88ef355c68e63309727cc |
|
BLAKE2b-256 | 70a490e5215da6c7fcd0f0c999b9bcef86d4cb0f6ae664fafcf1642d45424762 |
Hashes for BTrees-4.3.1-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b8a00c7889777ebf0fa467357673dcdbe6ee11c95218a944a82a77c00e160f4 |
|
MD5 | f959be6f5dc3af49011a653892c54b83 |
|
BLAKE2b-256 | 4cfb8d5c1ecd583e15de6b87437640035a40d2e8cad065b92ee7bcd0a35d2cd3 |
Hashes for BTrees-4.3.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a26aa99fcc18101ac12c5429a59720a461d7a6c18f47f3f492a09910f788df6 |
|
MD5 | b3c97052b5986d6c9812ac18c9be7873 |
|
BLAKE2b-256 | 00f8a1f11c1391b125edc1606a445f553301b2eb9a6cc28059751fefa6b6b45f |
Hashes for BTrees-4.3.1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59633df53550e289be15611c1813c065e61d4756efa712a7ecf456095a9f611c |
|
MD5 | c2732886b6426a59032d743a853036cb |
|
BLAKE2b-256 | 10413bd4831a8f41aa52a828c2efcf8476a7e7fb98398a2dac1f6fa6e170c649 |
Hashes for BTrees-4.3.1-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a1de495017d52b1f3d09dac4741a6654c4aca47a81a877620e7a85c0b13da1 |
|
MD5 | ceab5fd5f3ad23d51d37fcf2da7e2946 |
|
BLAKE2b-256 | 3f2e6149632a6b8866ddcc09efdbc1c9f9dac7beada4f1ecaa1091f9d2231d52 |