Installation

This guide covers how to install zLMDB.

Requirements

zLMDB supports:

  • Python 3.9+

  • CPython and PyPy

  • Linux, macOS, Windows

Installing from PyPI

The recommended way to install zLMDB is from PyPI using pip:

pip install zlmdb

This will install zLMDB with its core dependencies.

Installing with All Features

To install with all optional dependencies:

pip install zlmdb[all]

Installing from Source

To install from source:

git clone https://github.com/crossbario/zlmdb.git
cd zlmdb
pip install -e .

Dependencies

zLMDB depends on:

  • lmdb - The LMDB Python bindings

  • flatbuffers - For serialization

  • txaio - For async framework abstraction

Verifying Installation

To verify zLMDB is installed correctly:

import zlmdb
print(zlmdb.__version__)