Skip to content

Installation

Requirements

  • Python >= 3.10

Install with pip

pip install omnipath-client

Install from source

pip install git+https://github.com/saezlab/omnipath-client.git

Or for development:

git clone https://github.com/saezlab/omnipath-client.git
cd omnipath-client
pip install -e ".[dev,tests]"

Optional dependencies

omnipath-client supports multiple DataFrame backends. The default backend is polars, which must be installed separately:

pip install polars

For other backends:

pip install pandas    # pandas backend
pip install pyarrow   # pyarrow backend (also required for Parquet reading)

For graph conversion to annnet objects:

pip install annnet

Using uv

If you use uv for dependency management:

uv add omnipath-client
uv add polars  # or pandas, pyarrow