Skip to content

wtdcode/mdbx-py

Repository files navigation

Python bindings for libmdbx

Python bindings for libmdbx.

Try it with

pip install libmdbx

Contributions and feedbacks are highly welcome.

Usage

A quick sample to read all values from the default database:

with Env(...) as env:
    with env.ro_transaction() as txn:
        with txn.cursor() as cur:
            for k, v in cur.iter():
                ...

Manual build

Clone the repo

git clone https://github.com/wtdcode/mdbx-py
git submodule update --init --recursive

Install via poetry

poetry install

That's it!

Credits

Forked from libmdbx