Use py-lmdb master replace() implementation.