External b-tree in Python