Skip to main content

Scalable persistent object containers

Project description

BTrees: scalable persistent components

https://travis-ci.org/zopefoundation/BTrees.svg?branch=master https://ci.appveyor.com/api/projects/status/github/zopefoundation/BTrees?branch=master&svg=true

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)

4.1.2 (2015-04-07)

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

Download files

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

Source Distribution

BTrees-4.3.1.tar.gz (189.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

BTrees-4.3.1.win-amd64-py3.4.exe (721.4 kB view details)

Uploaded Source

BTrees-4.3.1.win-amd64-py3.3.exe (722.3 kB view details)

Uploaded Source

BTrees-4.3.1.win-amd64-py2.7.exe (718.7 kB view details)

Uploaded Source

BTrees-4.3.1.win32-py3.4.exe (638.1 kB view details)

Uploaded Source

BTrees-4.3.1.win32-py3.3.exe (638.3 kB view details)

Uploaded Source

BTrees-4.3.1.win32-py2.7.exe (635.0 kB view details)

Uploaded Source

BTrees-4.3.1-py3.5-win-amd64.egg (511.6 kB view details)

Uploaded Egg

BTrees-4.3.1-py3.5-win32.egg (444.4 kB view details)

Uploaded Egg

BTrees-4.3.1-py3.4-win-amd64.egg (492.0 kB view details)

Uploaded Egg

BTrees-4.3.1-py3.4-win32.egg (598.9 kB view details)

Uploaded Egg

BTrees-4.3.1-py3.3-win-amd64.egg (492.8 kB view details)

Uploaded Egg

BTrees-4.3.1-py3.3-win32.egg (440.1 kB view details)

Uploaded Egg

BTrees-4.3.1-py2.7-win-amd64.egg (487.7 kB view details)

Uploaded Egg

BTrees-4.3.1-py2.7-win32.egg (431.6 kB view details)

Uploaded Egg

BTrees-4.3.1-cp35-cp35m-win_amd64.whl (514.8 kB view details)

Uploaded CPython 3.5mWindows x86-64

BTrees-4.3.1-cp35-cp35m-win32.whl (447.7 kB view details)

Uploaded CPython 3.5mWindows x86

BTrees-4.3.1-cp35-cp35m-macosx_10_9_x86_64.whl (493.8 kB view details)

Uploaded CPython 3.5mmacOS 10.9+ x86-64

BTrees-4.3.1-cp34-cp34m-win_amd64.whl (495.4 kB view details)

Uploaded CPython 3.4mWindows x86-64

BTrees-4.3.1-cp34-cp34m-win32.whl (443.3 kB view details)

Uploaded CPython 3.4mWindows x86

BTrees-4.3.1-cp33-none-win_amd64.whl (496.2 kB view details)

Uploaded CPython 3.3Windows x86-64

BTrees-4.3.1-cp33-none-win32.whl (443.5 kB view details)

Uploaded CPython 3.3Windows x86

BTrees-4.3.1-cp27-cp27m-win_amd64.whl (491.1 kB view details)

Uploaded CPython 2.7mWindows x86-64

BTrees-4.3.1-cp27-cp27m-win32.whl (435.0 kB view details)

Uploaded CPython 2.7mWindows x86

BTrees-4.3.1-cp27-cp27m-macosx_10_9_x86_64.whl (491.3 kB view details)

Uploaded CPython 2.7mmacOS 10.9+ x86-64

File details

Details for the file BTrees-4.3.1.tar.gz.

File metadata

  • Download URL: BTrees-4.3.1.tar.gz
  • Upload date:
  • Size: 189.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BTrees-4.3.1.tar.gz
Algorithm Hash digest
SHA256 2565b7d35260dfc6b1e2934470fd0a2f9326c58c535a2b4cb396289d1c195a95
MD5 cf6a994b54df253de2a74e05904534c9
BLAKE2b-256 2476cd6f225f2180c22af5cdb6656f51aec5fca45e45bdc4fa75c0a32f161a61

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1.win-amd64-py3.4.exe.

File metadata

File hashes

Hashes for BTrees-4.3.1.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 3cb6678f02e04e5a6d6e432921e1d79add76554b0c8acfdd8343acb31967b5ee
MD5 7fc6c77cd9a031cc568006ba9fddc04f
BLAKE2b-256 509f8a929f940dae476835bd198f322cb4a76edee4916df686c513814be872ee

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for BTrees-4.3.1.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 26663d2b1f611e6ee79ac95cfc7eec22d48f416ee04dee3af94f1fce14ccd082
MD5 cc264183b376c05d7cb6c84a451ceddb
BLAKE2b-256 2bcc80f5970958a140e2f7d8c5b8e181b6e6695d7e09a69b53ae0892179be0a6

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for BTrees-4.3.1.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 8feaa32e6b834f002330a0c39b2fd6b1eac39a61582764c1ff87ddc817f71252
MD5 f14ad8b02f9a1fe266473143d3c9bd24
BLAKE2b-256 f43c773b09ecb5bb87042e04ffa1dd564163e153d04baf9ff5e39972111199fb

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1.win32-py3.4.exe.

File metadata

File hashes

Hashes for BTrees-4.3.1.win32-py3.4.exe
Algorithm Hash digest
SHA256 85d83bba06081434967d3d4488aa564ba1f51642307b655b96093ead49724bf7
MD5 f9a5e6a08cfa33a767b87eb12cd34364
BLAKE2b-256 6f443a5a2e16fda55d7c011291f315ed6d4ea16bff108b05e85467b48f53adda

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1.win32-py3.3.exe.

File metadata

File hashes

Hashes for BTrees-4.3.1.win32-py3.3.exe
Algorithm Hash digest
SHA256 2816068dc3c2ccb86ef704869def8802f230c2f85ceb1310940613b6969df7e9
MD5 d9b69cd200e36b577fa2b4b1cde3c418
BLAKE2b-256 e8db32bcba5533b690c3c55f36cf2fba39e9b0a85c347e10f0ab2224926961d4

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1.win32-py2.7.exe.

File metadata

File hashes

Hashes for BTrees-4.3.1.win32-py2.7.exe
Algorithm Hash digest
SHA256 af7b4424c616c73de5ff6fc440aead355d625d8068cfaa3746ee63ccb27e88ea
MD5 7f0470a37557a1dff371635690f9ba49
BLAKE2b-256 024797636e541d3d183543097bfc8fc70f067ba625095adfc3f42b77393fb231

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py3.5-win-amd64.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py3.5-win-amd64.egg
Algorithm Hash digest
SHA256 0a8aded188a162cf3e9521dc3d7036d923616d3b4a980ed00e1bb647e277a162
MD5 e45122d98831f9fcf67b722b78728bb6
BLAKE2b-256 28164596dee610823f58a5f6bb2168eb3d34e0862412c7f2e97f32d1aa034caa

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py3.5-win32.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py3.5-win32.egg
Algorithm Hash digest
SHA256 1bff7261f771b2f203cd0104024e3f4a718b291f71426ffe1cd10719ff155b3a
MD5 c3fa344ca1158808dbf2fe91d9f85ce1
BLAKE2b-256 5da401402876222ec69499157140001c64c83907d767c4332b298d60e59db758

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py3.4-win-amd64.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py3.4-win-amd64.egg
Algorithm Hash digest
SHA256 f60b8001f144b8e6dcec3ce22bede00396dfbcb795e7f0c5373cab6e04aed99c
MD5 f219889ec1241c7d31810618315e8101
BLAKE2b-256 9c1d97563b555e31b1f77e524b98bb3118d7409baa71e76b1209075365b51342

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py3.4-win32.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py3.4-win32.egg
Algorithm Hash digest
SHA256 b153115ef1665ed4aa221028ea9dbf4937685bb52093678f892806bfd36def10
MD5 95b9deb9edd9e9c07c16df8ac528574b
BLAKE2b-256 ee25d6333d3cbbcd3a0811387cda1e3b62f7021f29df2248260ea533bcb9c0ad

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py3.3-win-amd64.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py3.3-win-amd64.egg
Algorithm Hash digest
SHA256 049c3f70a585114b52fa0dfcc72ec104783a9f36abc18433e4dc3a9455923606
MD5 2d2dd7071a91839e5fba63e9300bac8f
BLAKE2b-256 389260674ee4c415a73c1d6949575714e94cc29676efee2b6bfd7fcf29017eec

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py3.3-win32.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py3.3-win32.egg
Algorithm Hash digest
SHA256 4346215875cbf5d8dcd0c181b5ad84723c7bf55eb046a7b7a82d306b8ac49c97
MD5 71493d4cbf84fa6fb224dbefb32fa9c4
BLAKE2b-256 ea4ee69888271f9ab9559747913ebc40fce0ce7461633d9cc9cbae15d14026e2

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py2.7-win-amd64.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 4e5f291ad1b3aa31744c7673b41e91bb55b51d940edb08741472d329c172b508
MD5 76895ee69395e99d8427dbf9c4fc8916
BLAKE2b-256 01c417412a6f628f754d8d9bde3498a0cfabac40d45658607111cb3c7f74b379

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-py2.7-win32.egg.

File metadata

File hashes

Hashes for BTrees-4.3.1-py2.7-win32.egg
Algorithm Hash digest
SHA256 6581917741fac16ce3a8abdc360ee8b073d8d05906d4126ef2baae0410cb307a
MD5 b025ab4fb09efd84e446be4c231f42c0
BLAKE2b-256 87e14ba5b8139054240bb78638d2fc21a2c799f6b929e2ec8d29b439832fbaf7

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b206a5c9cb9a1806657efb8a1553eda86d12648340e54da63b9c8c425ed96636
MD5 670c7749798483433851615ba24e0e9c
BLAKE2b-256 5b0ea05159718936675832d22aec0e5d92a07caf017c4e22b0b6652dcdc0f026

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 07ab5e2a5ce2f0cd04e5e875f2cbaa6b0dae6e1e840f22420c12ee8bcc7611ef
MD5 aef29638c117493f345c10975548571f
BLAKE2b-256 7a041617ebf94fadd200bb07362d07b8c4807f4086bb29ff598bc88b70189465

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp35-cp35m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1c0828266455dd2b30a66627be92af6a6317593874029fbc8ebed35d891858fa
MD5 f29341a80efba7768f74ae668a742a9d
BLAKE2b-256 b4f41c38a6a8a2ade08435f50a80d85e3ad59ff9a3bff66693ad933a463fd8d2

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 6392ba9f25e0868c0002ed26eb59e73558b4f900ee5d795c53f59e0d347c9397
MD5 db63690613f598a86750804777b1cd0d
BLAKE2b-256 765c9f01bdc37c14d97bed02333ff1d5796658f39ae7ff35b999e47f27be251e

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 0f65c5112b02a83e10b1fd5c77cf80dce974112b732feb1e13dc1bb8dc898d38
MD5 6d93a7a1a9dfb94db566e5c53c52cef1
BLAKE2b-256 427cdbb261825ac707afb572bd71d9ab2d850bad2e07f0b7df6310933958f3b7

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 76a7910243e07bda532abbda515b73183bb05137bcd2d402494428edd5e0e8da
MD5 13877b80b2b88ef355c68e63309727cc
BLAKE2b-256 70a490e5215da6c7fcd0f0c999b9bcef86d4cb0f6ae664fafcf1642d45424762

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp33-none-win32.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp33-none-win32.whl
Algorithm Hash digest
SHA256 5b8a00c7889777ebf0fa467357673dcdbe6ee11c95218a944a82a77c00e160f4
MD5 f959be6f5dc3af49011a653892c54b83
BLAKE2b-256 4cfb8d5c1ecd583e15de6b87437640035a40d2e8cad065b92ee7bcd0a35d2cd3

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 6a26aa99fcc18101ac12c5429a59720a461d7a6c18f47f3f492a09910f788df6
MD5 b3c97052b5986d6c9812ac18c9be7873
BLAKE2b-256 00f8a1f11c1391b125edc1606a445f553301b2eb9a6cc28059751fefa6b6b45f

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 59633df53550e289be15611c1813c065e61d4756efa712a7ecf456095a9f611c
MD5 c2732886b6426a59032d743a853036cb
BLAKE2b-256 10413bd4831a8f41aa52a828c2efcf8476a7e7fb98398a2dac1f6fa6e170c649

See more details on using hashes here.

File details

Details for the file BTrees-4.3.1-cp27-cp27m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for BTrees-4.3.1-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b3a1de495017d52b1f3d09dac4741a6654c4aca47a81a877620e7a85c0b13da1
MD5 ceab5fd5f3ad23d51d37fcf2da7e2946
BLAKE2b-256 3f2e6149632a6b8866ddcc09efdbc1c9f9dac7beada4f1ecaa1091f9d2231d52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page