Installation¶
Requirements¶
OMOPy requires Python 3.14 or later. It does not support older Python versions.
Install from PyPI¶
Or with uv:
Database Backends¶
OMOPy uses Ibis for database access. DuckDB support is included by default. For other databases, install the appropriate extras:
# PostgreSQL
pip install omopy[postgres]
# SQL Server
pip install omopy[mssql]
# Snowflake
pip install omopy[snowflake]
# BigQuery
pip install omopy[bigquery]
# All backends
pip install omopy[all]
Development Install¶
Clone the repository and install with dev dependencies:
git clone https://github.com/darwin-eu/omopy.git
cd omopy
uv sync # installs all deps + dev tools
uv run pytest # run the test suite