kicad monkey v2026.11.30
On This Page (9)

Installation

kicad-monkey and kicad-cruncher (kcr) target Python 3.11 – 3.14 on Windows, macOS, and Linux, and ship with a standalone Rust workspace (Rust 1.95+, Edition 2024).

Choosing a Channel: Pinned Releases vs Bleeding Edge

kicad-monkey and kicad-cruncher use dated CalVer releases (YYYY.MM.DD, tagged as vYYYY.MM.DD). Choose your source depending on whether you need reproducibility or the latest unreleased fixes:

ChannelBest ForReproducible?Tradeoff
Pinned PyPI release (==2026.11.30)Production hardware pipelines, CI, shared reposYesUpgrade explicitly when ready
Latest PyPI releaseEveryday local CLI & library useLockfile-pinnedTracks published releases only
Git release tag or commit SHA (@v2026.11.30 / @<sha>)Testing a specific unreleased fix reproduciblyYesRequires Git + uv (or pip)
Git main (@main)Trying bleeding-edge changes before the next PyPI releaseNo (moves with main)May include in-progress changes
tip

When installing kicad-cruncher from Git (main or a commit SHA), always pass --with pointing kicad-monkey at the same ref so the CLI and core library stay in lockstep instead of pulling an older kicad-monkey wheel from PyPI.

Python Library (kicad-monkey)

sh
# Latest published release
uv add kicad-monkey

# Pin an exact dated release (recommended for CI / hardware release repos)
uv add "kicad-monkey==2026.11.30"

# Or with pip
pip install "kicad-monkey==2026.11.30"

From GitHub (Tag, Commit SHA, or Bleeding-Edge main)

sh
# Track bleeding-edge main
uv add "kicad-monkey @ git+https://github.com/wavenumber-eng/kicad_monkey.git@main"

# Pin a specific commit SHA (reproducible pre-release)
uv add "kicad-monkey @ git+https://github.com/wavenumber-eng/kicad_monkey.git@<commit-sha>"

# Pin a tagged release directly from GitHub
uv add "kicad-monkey @ git+https://github.com/wavenumber-eng/kicad_monkey.git@v2026.11.30"

CLI (kicad-cruncher / kcr) as a uv tool

From PyPI (Stable Releases)

sh
# Install latest PyPI release globally as a uv tool
uv tool install kicad-cruncher
kcr --version

# Pin an exact PyPI release
uv tool install --force "kicad-cruncher==2026.11.30"

# Upgrade later to the newest PyPI release
uv tool upgrade kicad-cruncher

To add kicad-cruncher inside a specific Python project instead of globally:

sh
uv add kicad-cruncher
uv run kcr --version

From GitHub Repo (main or Commit SHA)

Because kicad-cruncher lives in packages/kicad_cruncher inside the monorepo, use #subdirectory=packages/kicad_cruncher together with --with for the matching kicad-monkey commit:

sh
# Install bleeding-edge main as your global kcr tool
uv tool install --force \
  --from "git+https://github.com/wavenumber-eng/kicad_monkey.git@main#subdirectory=packages/kicad_cruncher" \
  --with "git+https://github.com/wavenumber-eng/kicad_monkey.git@main" \
  kicad-cruncher

# Or pin a specific commit SHA (replace <commit-sha> with a 7–40 char git hash)
uv tool install --force \
  --from "git+https://github.com/wavenumber-eng/kicad_monkey.git@<commit-sha>#subdirectory=packages/kicad_cruncher" \
  --with "git+https://github.com/wavenumber-eng/kicad_monkey.git@<commit-sha>" \
  kicad-cruncher

kcr --version

One-Off Trial Without Replacing Your Installed kcr (uvx)

sh
# Run kcr from GitHub main in an ephemeral uv environment
uvx \
  --from "git+https://github.com/wavenumber-eng/kicad_monkey.git@main#subdirectory=packages/kicad_cruncher" \
  --with "git+https://github.com/wavenumber-eng/kicad_monkey.git@main" \
  kcr --version

To switch your global kcr tool back to the latest PyPI release at any time:

sh
uv tool install --force kicad-cruncher

Rust Crates

The Rust crates are developed in the repository workspace and consumed directly via git or path dependencies (they are not published to crates.io):

toml
[dependencies]
# Recommended: pin to a dated release tag
kicad-monkey-core = { git = "https://github.com/wavenumber-eng/kicad_monkey.git", tag = "v2026.11.30" }
kicad-monkey-fab = { git = "https://github.com/wavenumber-eng/kicad_monkey.git", tag = "v2026.11.30" }
kicad-monkey-svg = { git = "https://github.com/wavenumber-eng/kicad_monkey.git", tag = "v2026.11.30" }

# Bleeding edge: replace `tag = "..."` with `branch = "main"` or a pinned `rev = "<commit-sha>"`

Verify your toolchain (Rust 1.95+, Edition 2024) from a checkout with:

sh
cargo test --workspace
cargo doc --no-deps --workspace --open
kicad-monkey v2026.11.30·Docs updated 2026.12.01 15:43 UTC (fd9b75b)