Skip to the content.

Installation Guide

Requirements

Install from PyPI

The easiest way to install Metripy is via pip:

pip install metripy

Verify Installation

metripy --version

You should see the version number (e.g., 0.2.8).

Install from Source

If you want to install the latest development version:

# Clone the repository
git clone https://github.com/zimmer-yan/metripy.git
cd metripy

# Install in development mode
pip install -e .

Development Installation

For development work, install with dev dependencies:

pip install -e ".[dev]"

This includes testing and linting tools:

Upgrade

To upgrade to the latest version:

pip install --upgrade metripy

Dependencies

Metripy automatically installs the following dependencies:

Core Dependencies

Platform Support

Metripy is tested and supported on:

Python Version Issues

Check your Python version:

python --version

If you have multiple Python versions, use python3.11 or python3.12 explicitly:

python3.11 -m pip install metripy

Git Not Found

Git analysis requires Git to be installed and in PATH:

# macOS
brew install git

# Ubuntu/Debian
sudo apt-get install git

# Fedora
sudo dnf install git

Docker (Alternative)

If you prefer using Docker:

# Coming soon...
# docker pull metripy/metripy:latest

Next Steps

Uninstall

To uninstall Metripy:

pip uninstall metripy