Skip to main content

ToolR - AI Generated Logo

In-project CLI tooling, with a Rust front-end.

Pronounced /ˈtuːlər/ (tool-er)

ToolR is a Python task runner that boots in milliseconds because the front-end is a Rust binary. Python only runs when you invoke a command, inside a per-repo uv-managed venv.

Tool runner -h steady-state First run Second run
toolr 10.4 ms 277.0 ms 21.8 ms
doit 83.4 ms 143.0 ms 88.9 ms
invoke 84.6 ms 101.7 ms 77.4 ms
nox 91.8 ms 395.9 ms 115.3 ms
duty 166.4 ms 188.5 ms 252.4 ms
python-tools-scripts 252.2 ms 340.3 ms 189.0 ms

<tool> -h, 20 runs, steady-state = mean of last 18. Measured on Apple M3 Pro / macOS 26.5 / arm64. Reproduce locally with python3 scripts/bench.py (stdlib-only; emits the table above to stdout).

Why ToolR

  • Fast startup. The CLI is a Rust binary. --help and Tab completion read a cached static manifest and never start Python. All three columns above time toolr -h.
  • No system-Python dependency. Toolr builds a per-repo Python venv with uv when you trust the repo (toolr project trust) or scaffold it (toolr project init), and re-syncs it when it goes out of date. The host OS doesn't need Python at all to install toolr — it's a single static binary. See How toolr finds uv and Python.
  • Write Python, not framework boilerplate. Drop a tools/*.py file with a command_group and a @command decorator. Type hints become CLI arguments; Google-style docstrings become --help text.
  • First-class third-party command packages. Plugins ship a static toolr-manifest.json inside the wheel. Discovery is a glob + JSON parse; no Python import to find them.
  • Signed releases. Every release archive ships with a SLSA build-provenance attestation, and every release from 0.34.0 onward publishes a signed packslip manifest that mise verifies against the ToolR repository's signing identity, remembering the release workflow after the first install. The install scripts verify the attestation by default (requires the gh CLI, 2.56 or later); pass --verify=checksum to bypass, accepting the supply-chain risk.

Two wheels, two roles

Package What it is Where it lives
toolr The Rust CLI binary you run from the shell. On $PATH, installed once.
toolr-py The Python runtime your tools/*.py import. In your tools/pyproject.toml.

Most projects want both: the CLI installed globally, toolr-py declared in the per-repo tools/pyproject.toml so from toolr import Context, command_group works when your commands run.

Install

Five first-class install paths.

mise

mise use packslip:github.com/s0undt3ch/ToolR@latest

# Pin a version
mise use packslip:github.com/s0undt3ch/ToolR@X.Y.Z

# Install machine-wide instead of per-project
mise use -g packslip:github.com/s0undt3ch/ToolR@latest

Installs toolr from its signed packslip manifest via mise's packslip backend — no plugin to register. mise verifies the release against the ToolR repository's signing identity, remembering the release workflow after the first install, and checks the digest and size of the archive for your platform before unpacking it. For projects that already pin tool versions via .mise.toml, toolr's version becomes part of your project's reproducible tool set. Releases before 0.34.0 have no manifest to install from; use mise use aqua:s0undt3ch/ToolR@<version> for those. See docs/installation/mise/.

pip

pip install toolr   # Rust CLI binary

This installs the toolr binary into whatever venv pip is pointing at. Do not pip install toolr-py into that same venv — toolr-py is the Python runtime your tools/*.py files import, and it belongs in the per-repo tools venv that toolr project init scaffolds for you (where it's declared in tools/pyproject.toml and materialised via uv sync). See "Two wheels, two roles" above for the split.

curl | sh (Linux + macOS)

curl -fsSL https://raw.githubusercontent.com/s0undt3ch/ToolR/main/installation/install.sh | sh

Verifies the SLSA attestation by default (requires the gh CLI, 2.56 or later; pass --verify=checksum to bypass). Pin a version with sh -s -- --version X.Y.Z. Custom prefix: sh -s -- --prefix /opt/toolr/bin.

PowerShell (Windows)

irm https://raw.githubusercontent.com/s0undt3ch/ToolR/main/installation/install.ps1 | iex

GitHub release archives

Download toolr-<version>-<target-triple>.tar.gz (or .zip for Windows) from https://github.com/s0undt3ch/ToolR/releases, verify the .sha256 sibling and the SLSA attestation, drop the binary on $PATH. Useful in locked-down environments that audit binaries before allowing them on a machine.

Scaffold your repo

After the binary is on $PATH:

toolr project init                  # writes tools/{pyproject.toml,.gitignore,example.py}
toolr example hello                 # run the generated example
toolr self completion install bash  # or zsh / fish / powershell

In a clone of a repo that already has tools/, the one step is:

toolr project trust                 # trust the repo, then sync its tools venv

The full install matrix (per-OS notes, attestation flags, prefix overrides) lives in docs/installation/.

What you write

# tools/example.py
"""Example commands."""
from toolr import Context, command_group

example = command_group("example", title="Example", description=__doc__)


@example.command
def hello(ctx: Context, name: str = "world") -> None:
    """Say hello to <name>.

    Args:
        name: who to greet.
    """
    ctx.print(f"Hello, {name}!")
$ toolr example hello --name Pedro
Hello, Pedro!

toolr project init writes a richer four-command starter than this two-liner — open it and edit, or delete it and start from scratch.

Where to go next

Project status

ToolR is pre-1.0. The on-disk manifest is versioned (schema_version in tools/.toolr-manifest.json); the binary refuses to load a higher version than it understands. The public Python surface is toolr.__all__; anything not listed there is implementation detail. Backwards-incompatible changes will be explicit in the changelog (generated by git-cliff on release).

Contributing

See CONTRIBUTING.md.

License

Apache-2.0.

Metadata

Release files for toolr 0.37.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for toolr 0.37.0
File Size Uploaded Provenance Actions
toolr-0.37.0.tar.gz 629.6 kB With provenance Details for toolr-0.37.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for toolr 0.37.0
File Actions
toolr-0.37.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for toolr-0.37.0-py3-none-win_amd64.whl
toolr-0.37.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for toolr-0.37.0-py3-none-musllinux_1_2_x86_64.whl
toolr-0.37.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for toolr-0.37.0-py3-none-musllinux_1_2_aarch64.whl
toolr-0.37.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for toolr-0.37.0-py3-none-manylinux_2_28_x86_64.whl
toolr-0.37.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for toolr-0.37.0-py3-none-manylinux_2_28_aarch64.whl
toolr-0.37.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for toolr-0.37.0-py3-none-macosx_11_0_x86_64.whl
toolr-0.37.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for toolr-0.37.0-py3-none-macosx_11_0_arm64.whl

Total release size: 33.2 MB

Release files / toolr-0.37.0.tar.gz

Download URL toolr-0.37.0.tar.gz
Size 629.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d754f80a5be6ffaa73928ef8250b4e26026d9192dc499483d8d12b49b67ab21a
BLAKE2b-256 checksum
How to use checksums
a1115aec817f66e56a6c9e8ec04bf61412aeb8828694c536835f882cb0ebdd10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / toolr-0.37.0-py3-none-win_amd64.whl

Download URL toolr-0.37.0-py3-none-win_amd64.whl
Size 4.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
47778dc4e36e568cb00a4c804df3a3b63275debfd73d02d130321a0aad9c35e6
BLAKE2b-256 checksum
How to use checksums
0c09968a09dbb4c60dfccb56c8aeb97c99f7d257a7bd0854f96442c41dfcd849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / toolr-0.37.0-py3-none-musllinux_1_2_x86_64.whl

Download URL toolr-0.37.0-py3-none-musllinux_1_2_x86_64.whl
Size 4.9 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2c22da5e5496e194ca6d0937411715825033fe0083fb3e6d66accbbb4655f4fb
BLAKE2b-256 checksum
How to use checksums
00c16ff0eb386b8ebbb9e22729a0401a6a5f79dfacb843fb839a33765716d125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / toolr-0.37.0-py3-none-musllinux_1_2_aarch64.whl

Download URL toolr-0.37.0-py3-none-musllinux_1_2_aarch64.whl
Size 4.4 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c51d8dca1ff3972401ec18895a84bbaaf05d8fce20cf650f96dafc38c8a90688
BLAKE2b-256 checksum
How to use checksums
87033d4fb2f5965b131ddd0b4303bb9b1e438be481ed6b6135482e2eafe31454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / toolr-0.37.0-py3-none-manylinux_2_28_x86_64.whl

Download URL toolr-0.37.0-py3-none-manylinux_2_28_x86_64.whl
Size 4.9 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f5f44a3779d684f2f35ca75064a547aa31a3ef02caf44f135293160e1469a682
BLAKE2b-256 checksum
How to use checksums
f656fcc003373b8c05348fb56990d7496ffa39a8be1bbd34cef8e33b3f3dfad8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / toolr-0.37.0-py3-none-manylinux_2_28_aarch64.whl

Download URL toolr-0.37.0-py3-none-manylinux_2_28_aarch64.whl
Size 4.5 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
dd48a70795368d1a752777b0f2d703cf218e0dafc1214f3876206404a90f22ec
BLAKE2b-256 checksum
How to use checksums
a24e72cd9a8557fd834e1931bf2a507f958ffaf5469e1ac3e21e9e73dc649ad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / toolr-0.37.0-py3-none-macosx_11_0_x86_64.whl

Download URL toolr-0.37.0-py3-none-macosx_11_0_x86_64.whl
Size 4.7 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
595ffd290b6ccc60d86c0686595e7dbe74c98b7379b86971aa29ef45652dcf0f
BLAKE2b-256 checksum
How to use checksums
94a4d6280679929d15efd330342e7c5743be8ab606ec879315bc82cc780ec431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / toolr-0.37.0-py3-none-macosx_11_0_arm64.whl

Download URL toolr-0.37.0-py3-none-macosx_11_0_arm64.whl
Size 4.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d5da79fefdd091e2c783585b2731578a8874f45e7b8159f097e0525925179654
BLAKE2b-256 checksum
How to use checksums
3d36b5ced50260c9f68fdb33356124ef9d99ceb7c4dd8dc0d96ca740f7e59283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for toolr 0.37.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for toolr-0.37.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.37.0 This release

8 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page