Did I find the right examples for you? yes no

All Samples(7)  |  Call(0)  |  Derive(0)  |  Import(7)
Bplustree mapping fixed length strings (byte sequences) to longs (seek positions in file indexed).
"Next leaf pointer" is not used since it increases the chance of file corruption on failure.
All modifications are "shadowed" until a flush of all modifications succeeds.  Modifications are
"hardened" when the header record is rewritten with a new root.  This design trades a few "unneeded"
buffer writes for lower likelihood of file corruption.

src/b/p/BplusPy-1.0/BplusPy/xBplusTreeBytes.py   BplusPy(Download)
 
import types, string, BufferFile, BplusTreeBytes, BplusTreeLong
from BplusTreeLong import BplusTreeException, BplusTreeBadKeyValue, BplusTreeKeyMissing, ENCODER, DECODER
 
def Initialize(treefilename, blockfilename, KeyLength,

src/b/p/BplusPy-1.0/BplusPy/xBplusTree.py   BplusPy(Download)
 
"""
BPlus tree implementation mapping strings to bytes (non-unicode python strings) with fixed key length
"""
import types, BplusTreeLong, BplusTreeBytes, xBplusTreeBytes

src/b/p/BplusPy-1.0/BplusPy/hBplusTreeBytes.py   BplusPy(Download)
 
"""
BPlus tree implementation mapping strings to bytes (non-unicode python strings) with fixed key length
"""
import types, BplusTreeLong, BplusTreeBytes, xBplusTreeBytes, string

src/b/p/BplusPy-1.0/BplusPy/hBplusTree.py   BplusPy(Download)
 
"""
BPlus tree implementation mapping strings to bytes (non-unicode python strings) with fixed key length
"""
import types, BplusTreeLong, BplusTreeBytes, xBplusTreeBytes, hBplusTreeBytes

src/b/p/BplusPy-1.0/BplusPy/BplusTreeBytes.py   BplusPy(Download)
 
"""
BPlus tree implementation mapping strings to bytes (non-unicode python strings) with fixed key length
"""
import BplusTreeLong, LinkedFile, types, os

src/b/p/BplusPy-1.0/BplusPy/BplusTree.py   BplusPy(Download)
 
"""
BPlus tree implementation mapping strings to bytes (non-unicode python strings) with fixed key length
"""
import types, BplusTreeLong, BplusTreeBytes

src/b/p/BplusPy-1.0/BplusPy/testing.py   BplusPy(Download)
keylength = 20
 
import BufferFile, StringIO, LinkedFile, os, BplusTreeLong, sys, BplusTree, string, xBplusTree, hBplusTree
from BplusTree import ENCODER, DECODER