Skip to content

Installation

Python

pip install hotcoco

Verify the installation:

from hotcoco import COCO
print("hotcoco installed successfully")

numpy

hotcoco requires numpy, which is installed automatically. If you need a specific numpy version, install it first.

Build from source

git clone https://github.com/derekallman/hotcoco.git
cd hotcoco/crates/hotcoco-pyo3
pip install maturin
maturin develop --release
This builds the hotcoco Python module and installs it into your active environment.

CLI

cargo install hotcoco-cli

This installs the coco-eval binary.

Build from source
git clone https://github.com/derekallman/hotcoco.git
cd hotcoco
cargo build --release
# Binary is at target/release/coco-eval

Rust library

cargo add hotcoco

Or add it manually to your Cargo.toml:

[dependencies]
hotcoco = "0.1"

Full API documentation is on docs.rs.