Installation

We recommend installing with uv for fast, reliable dependency resolution.

From PyPI

uv pip install trailed

Or with pip:

pip install trailed

Optional Extras

TRAILED supports optional integrations:

uv pip install trailed[sklearn]      # scikit-learn transformers
uv pip install trailed[dataframe]    # pandas + polars support
uv pip install trailed[all]          # all optional dependencies

For PyTorch neural network use cases, use the upstream aidos-lab/dect package:

pip install dect @ git+https://github.com/aidos-lab/DECT/

Development Installation

For contributing or development:

git clone https://github.com/Krv-Analytics/trailed.git
cd trailed
uv sync --extra dev --extra docs

Editable install with extras:

uv pip install -e .[sklearn]
uv pip install -e .[dataframe]

Requirements

  • Python 3.10, 3.11, or 3.12

  • NumPy (included)

Optional dependencies are installed with the extras above.