ctypes-based LMDB bindings