https://codeberg.org/andrewtavis/causeinfer/raw/branch/main/.forgejo/resources/logo/causeinfer_logo_transparent.png

rtd ci_static_analysis ci_pytest pyversions pypi pypistatus license coc colab

Machine learning based causal inference/uplift in Python

Maintenance

This project is maintained at codeberg.org/andrewtavis/causeinfer. Please visit this remote repository for issues and pull requests.

Installation

causeinfer is available for installation via uv (recommended) or pip.

# Using uv (recommended - fast, Rust-based installer):
uv pip install causeinfer

# Or using pip:
pip install causeinfer
# For a development build of the package:
git clone https://codeberg.org/andrewtavis/causeinfer.git
cd causeinfer

# With uv (recommended):
uv sync --all-groups  # install all dependencies
source .venv/bin/activate  # activate venv (macOS/Linux)
# .venv\Scripts\activate  # activate venv (Windows)

# Or with pip:
python -m venv .venv  # create virtual environment
source .venv/bin/activate  # activate venv (macOS/Linux)
# .venv\Scripts\activate  # activate venv (Windows)
pip install -e .
import causeinfer

Contents

Development

Project Indices