Install Turnkey
Turnkey 0.1.0 is published on PyPI.
Recommended: install from PyPI
Section titled “Recommended: install from PyPI”Prerequisites: Python 3.10 or newer.
pip install turnkeyturnkey --helpExpected result: the CLI prints its available commands without importing a
model server or downloading a dataset. Scaffold a runnable project with
turnkey init my-detector.
From source (development and the full config library)
Section titled “From source (development and the full config library)”Prerequisites: Git and uv.
git clone https://github.com/lijrjyan/turnkey.gitcd turnkeyuv sync --extra devuv run turnkey run --config configs/runs/smoke.yamlThe repository checkout also ships the configs/ library used throughout this
documentation and the one-click Dockerfile (CPU core target and GPU full
target).
Verify the checkout
Section titled “Verify the checkout”uv run pytest -quv run ruff check .The full suite includes optional and integration-aware paths, so a documented skip can be valid; an unexplained failure is not. Continue to the five-minute run.