Skip to main content

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.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.1.4.tar.gz (183.2 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.1.4.win-amd64-py3.3.exe (716.8 kB view details)

Uploaded Source

BTrees-4.1.4.win-amd64-py3.2.exe (717.0 kB view details)

Uploaded Source

BTrees-4.1.4.win-amd64-py2.7.exe (717.3 kB view details)

Uploaded Source

BTrees-4.1.4.win-amd64-py2.6.exe (716.6 kB view details)

Uploaded Source

BTrees-4.1.4.win32-py3.3.exe (631.8 kB view details)

Uploaded Source

BTrees-4.1.4.win32-py3.2.exe (632.6 kB view details)

Uploaded Source

BTrees-4.1.4.win32-py2.7.exe (633.0 kB view details)

Uploaded Source

BTrees-4.1.4.win32-py2.6.exe (632.3 kB view details)

Uploaded Source

BTrees-4.1.4-py3.3-win-amd64.egg (653.0 kB view details)

Uploaded Egg

BTrees-4.1.4-py3.3-win32.egg (598.9 kB view details)

Uploaded Egg

BTrees-4.1.4-py3.2-win-amd64.egg (635.6 kB view details)

Uploaded Egg

BTrees-4.1.4-py3.2-win32.egg (579.0 kB view details)

Uploaded Egg

BTrees-4.1.4-py2.7-win-amd64.egg (631.3 kB view details)

Uploaded Egg

BTrees-4.1.4-py2.7-win32.egg (574.4 kB view details)

Uploaded Egg

BTrees-4.1.4-py2.6-win-amd64.egg (631.3 kB view details)

Uploaded Egg

BTrees-4.1.4-py2.6-win32.egg (574.4 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for BTrees-4.1.4.tar.gz
Algorithm Hash digest
SHA256 7ec4ac3ff039282de5232c25586950a92285a6556603c1e1cfe3ee7cda847bab
MD5 ebae1337405c05c243c5c2ccdc536085
BLAKE2b-256 7f906b8ac28b57d8105f99e0a48e3e7f95cd84a6d6ea5b5cae3613fe4b505ccb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 d4c9126086276c2c909aa72eea3fafb724d9e3570a33bd6f6980707717f1450f
MD5 1672053606d086bd376466c37ac74ccc
BLAKE2b-256 60d4bdd8e46a94d3d527c7d2a559e43b780d8d4c221e7e0c2b176186883a0b31

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for BTrees-4.1.4.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 26c890279bb2c96f6dc4cd4188f40e0a15e8089d478e63cc16f47c75491dfd1d
MD5 cb92b063b466efe9159fe004172fe73e
BLAKE2b-256 91f0b942c8cecfdc0a730de749cd9d71bbccfda86eb89de0934b666fe7b094ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 725c63dbf8c35fe4535e26fb2a5df2737fd71cab74617fe26eb6b4cbbc5c53c9
MD5 eca9e9aedff7ca4b32da720068321fde
BLAKE2b-256 eb915366bfd0643fab016a741b86ee58c51c30325b8382ff2684c9c42fe0d775

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for BTrees-4.1.4.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 e4d7133f8438c0a885b2546c7ff9eccc181f5a59e983e6b017b2b20df92bb785
MD5 f5f0b31bc291ecc8ae4819b086e500ae
BLAKE2b-256 0095f5d480b51ea9ea72d43ed6712e95bdad54db5ce981976a97b6d7ea100f77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4.win32-py3.3.exe
Algorithm Hash digest
SHA256 21ee34b82b33fe2c34962a0d9af5b53d5e01ff96835ba0255389fde37e6c2c9d
MD5 ac4dadcea167144264c81442c1215d4a
BLAKE2b-256 7a3f83bf4e9cb0dd127f21005b5bb646ab4b940ee51e6bf227c73d8b0e32e267

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4.win32-py3.2.exe.

File metadata

File hashes

Hashes for BTrees-4.1.4.win32-py3.2.exe
Algorithm Hash digest
SHA256 55d5ff5203bf5b8ac8a74f8f9bb09b60c610004c76775399f38822cf816ee6dd
MD5 9701a8a10346624e59e773645a396952
BLAKE2b-256 a2b07f06b2a9623c5cba65bdf54efcfa832bd1855766455ec108daedcdb52e00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4.win32-py2.7.exe
Algorithm Hash digest
SHA256 c652f836829c161b4bffd5ba60e8d4ebea25b1e1b5384a53b1560d3118901eb9
MD5 16df40fa87532a5c5c3074bd633533db
BLAKE2b-256 d07d6fbda8d074eb92530edae411f698206a093097ebff8adab46dd74894c3e4

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4.win32-py2.6.exe.

File metadata

File hashes

Hashes for BTrees-4.1.4.win32-py2.6.exe
Algorithm Hash digest
SHA256 eef9d49c893e04baf13390d0a64c465ed6527c6a0cf96dbdb0311cdbeaa5b373
MD5 324e4dbc0e7d2cc455ec613646947523
BLAKE2b-256 17e79154cd35d7052da2336c10d331b6987c3c16558e1239642e6f0324ae63b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4-py3.3-win-amd64.egg
Algorithm Hash digest
SHA256 706f348848a7f038360a44385b42b62f32c22b223e190267f64013e274797503
MD5 43cc3d2bd0c3ff51cd2d26bcdff9f803
BLAKE2b-256 87ae94586ab4a9118f80bb2a16dbf3a21c8c1456b60e02a7bcb97c21f41e274b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4-py3.3-win32.egg
Algorithm Hash digest
SHA256 979684fbb2ea1d637aadab4b15b00bc14dfaa337e44e97a44cd192baaec9835d
MD5 9222cf0a361de5dde4150b40c7a6294a
BLAKE2b-256 7f71f581b055e90a54542ab695f1a3aaf3c45e715df3009642c66c11e9ae2680

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4-py3.2-win-amd64.egg.

File metadata

File hashes

Hashes for BTrees-4.1.4-py3.2-win-amd64.egg
Algorithm Hash digest
SHA256 ac34ddd755a49feb7e1bf2e5260aa1a6e2d5845334796567c76c7b661b8d9dce
MD5 5776042bfbd7d1206dee986dae0b9e54
BLAKE2b-256 917fd8bdb95d65f58667bb26db4de1f5db433c51b9bf1c0ee5bb0bdba0f021ea

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4-py3.2-win32.egg.

File metadata

File hashes

Hashes for BTrees-4.1.4-py3.2-win32.egg
Algorithm Hash digest
SHA256 8e95dea626cbc405e3a7d4fd9c9bd2cb4b01801d60ebdf4a5fb36527657185a4
MD5 18e71c5ffa7302f44983df3a69f1d2e8
BLAKE2b-256 e7dcfa8afd6cfbe0e7967b68006ddc331280823088f1d3f07880abc6300d06f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 9cf3327abb474497a718472cd52daed0dbfa9a5832a9292312bc267bf15686e9
MD5 9adb72e8ea2cb2b785c05e199b883025
BLAKE2b-256 f20decaa3e7791b5ab1a04bb34251e1d28d54850feba543f950fe2c55b7d32f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.4-py2.7-win32.egg
Algorithm Hash digest
SHA256 88c3b2e4de0d4f46d1a70ea736ae7e419621691f1f7776d9358c3d864cc8f21c
MD5 fe9342048bd5e216777d9898c8e26d2e
BLAKE2b-256 5a3d615096e4018e2cfb6f9031f2ea56cb600ee1fd79a1738014e014757356e2

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4-py2.6-win-amd64.egg.

File metadata

File hashes

Hashes for BTrees-4.1.4-py2.6-win-amd64.egg
Algorithm Hash digest
SHA256 3b47e9cbfc5a6ebd7df91e3b924fd7d02bfb70b1f4ed7e66aa50bfd582d587f0
MD5 55a658c7412b5c24b1a8783953fce0a8
BLAKE2b-256 38e6b754dbc94e31f4052d96b1600fa8d7585ec5aad225b00bc80f5f18349f19

See more details on using hashes here.

File details

Details for the file BTrees-4.1.4-py2.6-win32.egg.

File metadata

File hashes

Hashes for BTrees-4.1.4-py2.6-win32.egg
Algorithm Hash digest
SHA256 2cc5c15e66c520e55eb9d9ab82332041855ce3e801367bc76cdd9c5be623ff90
MD5 d249f9fdbbb07a6fa05bbf44b2ed65ea
BLAKE2b-256 6054bdc554043a786e687514de69d3896cd25dad87782c0a52f92d382cb7e026

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