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.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.0.tar.gz (181.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.1.0.win-amd64-py3.3.exe (713.6 kB view details)

Uploaded Source

BTrees-4.1.0.win-amd64-py3.2.exe (713.8 kB view details)

Uploaded Source

BTrees-4.1.0.win-amd64-py2.7.exe (714.0 kB view details)

Uploaded Source

BTrees-4.1.0.win-amd64-py2.6.exe (713.5 kB view details)

Uploaded Source

BTrees-4.1.0.win32-py3.3.exe (628.6 kB view details)

Uploaded Source

BTrees-4.1.0.win32-py3.2.exe (629.4 kB view details)

Uploaded Source

BTrees-4.1.0.win32-py2.7.exe (629.8 kB view details)

Uploaded Source

BTrees-4.1.0.win32-py2.6.exe (629.1 kB view details)

Uploaded Source

BTrees-4.1.0-py3.3-win-amd64.egg (648.2 kB view details)

Uploaded Egg

BTrees-4.1.0-py3.3-win32.egg (594.1 kB view details)

Uploaded Egg

BTrees-4.1.0-py3.2-win-amd64.egg (631.4 kB view details)

Uploaded Egg

BTrees-4.1.0-py3.2-win32.egg (574.9 kB view details)

Uploaded Egg

BTrees-4.1.0-py2.7-win-amd64.egg (627.4 kB view details)

Uploaded Egg

BTrees-4.1.0-py2.7-win32.egg (570.5 kB view details)

Uploaded Egg

BTrees-4.1.0-py2.6-win-amd64.egg (627.4 kB view details)

Uploaded Egg

BTrees-4.1.0-py2.6-win32.egg (570.5 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for BTrees-4.1.0.tar.gz
Algorithm Hash digest
SHA256 ae03940045aa3186d1741a5e59f1daebc9fb0e4e8d53bb672fd47f0f5596e368
MD5 b5d0f7a952885564cfb7f5b9e326e72e
BLAKE2b-256 c73f2c4f7a40b9677c07a526f4b989df679aca04fd1dd41053eca1597158fab3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 7a7ed46ff2cbd704c89f166ebacf336229f14286c1834b67c34be0dad01fdf75
MD5 53574790f9dc0a50d5d707b9b9308be1
BLAKE2b-256 93d93de5d2d0c2faa2c0861179f1f6e0f8fda15ab96864f5f30cd497a8f9a2ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 9c913ff235b0fb890be718482670b16fd96e3f78261b75a53aac5d8a9c2df77e
MD5 8bf7795c7da260e15d9158578cccea37
BLAKE2b-256 ff5ee92826d7f5b6efd0f5157ef1c02d0f22deac73a375ac5534e40d64d73b62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 2dedb5a9825e95951edb94613e7be0b8a963929d17abbf4231e14f682326caef
MD5 8338df0f2b44fadccf7bea47206c0e84
BLAKE2b-256 afd3be2683f8ef15b4079edc95bf60ca57bdfdf433b175118bf751e5cb737464

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 1798c2ff98943c629be250e23c83b50bb346080a280257bfc49e4e6c31cf0fea
MD5 930c2774c5ebfeeff8980880418376d9
BLAKE2b-256 0d90f88ff86c1e539c5010214c9f8ae9ff1347853529a4cf00af0773932865bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win32-py3.3.exe
Algorithm Hash digest
SHA256 47749a93049e27a265044ee7bc9b4df7411e8e6345565d5575f2bd4c0d658104
MD5 c2eb1e6aa0a71e3cd101bb9056326c9e
BLAKE2b-256 86779a9cb8ad19d7fc6cdfa0a4d14d56e7c233082d7eecb6f396a5c27e191526

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win32-py3.2.exe
Algorithm Hash digest
SHA256 fdeb4e65ed2048eae85ef2b89f4e9f291e0b192249c94552cd01c2d364b49650
MD5 96f08f4f2e55d01036a6613bb053e8d2
BLAKE2b-256 4e29387f6e1e42c9700fafcecab4dc03e9ce57dc1e9e471535cc9069284d48a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win32-py2.7.exe
Algorithm Hash digest
SHA256 d0c5a2fc97b4a31352ba0433aae5146c8573eddfa02b3343e04ebb78aabc40a2
MD5 16d522a69d73a93dba0505b3c1908867
BLAKE2b-256 208873403eda4659a01017c25dc504e36fc120c3ce259b24bc5c943c5d6d264e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0.win32-py2.6.exe
Algorithm Hash digest
SHA256 43760f74c140045d32243799e0b4a1c7669a48f57447b60e6d076a8b59a03ac4
MD5 c2d7db3662464da208b203dbd2c42980
BLAKE2b-256 e36973813e412482f9eae3eedfaff865a860196479044b386ffce5075eedbaf2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py3.3-win-amd64.egg
Algorithm Hash digest
SHA256 519f7cacc05aef41236a279755538dbde0bb38a780f11b7c6466a40f8b623fda
MD5 933c2e1de6e9120a270d01583b61f1aa
BLAKE2b-256 7a7f50191e830675b4a3ef83bab71c68bd13503dcf4f877510954695b64be5fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py3.3-win32.egg
Algorithm Hash digest
SHA256 40222bb55435f0625f41136897e1b71eefddf49c64d4a4ea5ffe79937a8000e7
MD5 db352ef7f2dba7db56b146a1b507d172
BLAKE2b-256 8190ce60d9b8780d47370b89c7857bd28ce7359a3d1638661f50d2abb5f60ae2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py3.2-win-amd64.egg
Algorithm Hash digest
SHA256 cd8b33d8aa64829be6a0b686845d2e9768d27d72703bc5b36cc6812bfc2907af
MD5 f80bc9a604210a99556aa1b12834a498
BLAKE2b-256 9c35d97b3e2bf629c7ed0dee35cf161817dee52156f43fbe74f9b7b68109002d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py3.2-win32.egg
Algorithm Hash digest
SHA256 d446aa95b68b917f0f7b6c32db88386717df16d81a881dee3b9c29f5b0c6b28b
MD5 cabe20a9868dd192a9e957df042a872a
BLAKE2b-256 841c4ec58d3a3f837cc7f8f1b1c17059d02f1efb02c4b1d7f897b495eb2e8c71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 d2455361cc3421dab8a3d9b029dbf37fff8352f6d177c0119932d010d72efe07
MD5 3959dd3152ae643f200c624cd2075f3d
BLAKE2b-256 dcc64bdde18b30f23a5c7863b9ba04d308620e8ff46149b3e6c19a0341e6528a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py2.7-win32.egg
Algorithm Hash digest
SHA256 d19948c5b1ec1cd154f83eaa39b7a144003fe1aba3d4ab28fcf45088ea132aea
MD5 0dd76d37fb276b92af6f4ab306ae58fe
BLAKE2b-256 27771d73fcb7e34e3d935ccd1cc5d48ec319806087796df23861e7bcd43c3969

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py2.6-win-amd64.egg
Algorithm Hash digest
SHA256 bb9c8c91cb8b9cfb75f3352c8a84716478b20530a9fdb6fb8b8ae249ea8ae417
MD5 20901fafd493cb06e3f7e1772e338a6e
BLAKE2b-256 f4468f91dd5e733e721f6349ba6ecf18eccfbb669a8c095397fbe4b8d1c834df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BTrees-4.1.0-py2.6-win32.egg
Algorithm Hash digest
SHA256 615fade5900953fb707751f5105d7a20d8cb44f1d985f1189f2833d946c8b3f1
MD5 ecc9f51eba9f9a3ec6376bb0c8911612
BLAKE2b-256 e3002d01e5e4c831623626fe159b2920bd8eaa567a7cae55df40628642095771

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