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

  • Sub-millisecond discovery. The CLI is a Rust binary. --help and Tab completion read a cached static manifest; Python never boots for non-execute paths.
  • No system-Python dependency. Toolr resolves a per-repo Python venv via uv on first invocation. The host OS doesn't need Python at all to install toolr — it's a single static binary.
  • 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); pass --verify-attestation=skip 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; pass --verify-attestation=skip 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

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-py 0.34.1

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-py 0.34.1
File Size Uploaded Provenance Actions
toolr_py-0.34.1.tar.gz 294.2 kB With provenance Details for toolr_py-0.34.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for toolr-py 0.34.1
File Actions
toolr_py-0.34.1-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for toolr_py-0.34.1-cp311-abi3-win_amd64.whl
toolr_py-0.34.1-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for toolr_py-0.34.1-cp311-abi3-musllinux_1_2_x86_64.whl
toolr_py-0.34.1-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for toolr_py-0.34.1-cp311-abi3-musllinux_1_2_aarch64.whl
toolr_py-0.34.1-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for toolr_py-0.34.1-cp311-abi3-manylinux_2_28_x86_64.whl
toolr_py-0.34.1-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for toolr_py-0.34.1-cp311-abi3-manylinux_2_28_aarch64.whl
toolr_py-0.34.1-cp311-abi3-macosx_11_0_x86_64.whl CPython 3.11 abi3 macOS 11.0+ x86-64 Details for toolr_py-0.34.1-cp311-abi3-macosx_11_0_x86_64.whl
toolr_py-0.34.1-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for toolr_py-0.34.1-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 4.7 MB

Release files / toolr_py-0.34.1.tar.gz

Download URL toolr_py-0.34.1.tar.gz
Size 294.2 kB
Tags Source
SHA-256 checksum
How to use checksums
057cdf6570607e489830831899232bb203fd9b8513dc45d0bea3b9c5c6d19f0a
BLAKE2b-256 checksum
How to use checksums
aec4d2c8c343d74d376e600b95eaddba307ab965be95cc24106c9d20e2ab6226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / toolr_py-0.34.1-cp311-abi3-win_amd64.whl

Download URL toolr_py-0.34.1-cp311-abi3-win_amd64.whl
Size 1.0 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
6ff7ea357f25f91cb11ff13c4a3cd567af069933ec78aeb7bcdd5597bcf3b910
BLAKE2b-256 checksum
How to use checksums
f444fa30cbe435f9a53fcf509585a885e009618f47a12ae0ab956bcbfa576b23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / toolr_py-0.34.1-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL toolr_py-0.34.1-cp311-abi3-musllinux_1_2_x86_64.whl
Size 493.2 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
59f32873d57ea41d9e4fe04c744f9ec997843b8f6622dbd9df1087a43aab7138
BLAKE2b-256 checksum
How to use checksums
a8adfcc77c9ebaa4fadae2e4f2fa7ea91faa65bcc717ca8805469101da16bd43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / toolr_py-0.34.1-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL toolr_py-0.34.1-cp311-abi3-musllinux_1_2_aarch64.whl
Size 465.1 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
cafbf41f51c8053f63195e6da10d0495008132b46c43310504de05f313482f45
BLAKE2b-256 checksum
How to use checksums
f241e993b68f6ec63fdcc0e13aa9fc573c546397ca2b7976d34582e9dc415233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / toolr_py-0.34.1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL toolr_py-0.34.1-cp311-abi3-manylinux_2_28_x86_64.whl
Size 559.4 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
1cf6df637d1d860821483b662b43629ef83cf6a8cacdd46d29ce7ebf4cc94dac
BLAKE2b-256 checksum
How to use checksums
0f0cda2ae4c3260baa01202093375c74c3777284e66ee535f880314cc341fecb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / toolr_py-0.34.1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL toolr_py-0.34.1-cp311-abi3-manylinux_2_28_aarch64.whl
Size 398.3 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
c2a7b2253841322462729bd75c6d5ea0034ec6d22436245445ca319ed3e3d960
BLAKE2b-256 checksum
How to use checksums
c837f2c9b3f4d9bfe8a82d5297d18579de6a09701c1e5e4616dcc6cdcab24821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / toolr_py-0.34.1-cp311-abi3-macosx_11_0_x86_64.whl

Download URL toolr_py-0.34.1-cp311-abi3-macosx_11_0_x86_64.whl
Size 809.5 kB
Tags CPython 3.11 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
bda5600f4d2a8d0a603df1aeb2703b14a5008a4a30f42c4710928b86df8de9c6
BLAKE2b-256 checksum
How to use checksums
2e7e6c8c8c526864d6f928d507bb43b3634c625d011dd3a6a5d945d8c64f5fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / toolr_py-0.34.1-cp311-abi3-macosx_11_0_arm64.whl

Download URL toolr_py-0.34.1-cp311-abi3-macosx_11_0_arm64.whl
Size 690.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9f22209dc08677fd26b8d830cdbe613534ddabe962dda62984ea501dd74a1342
BLAKE2b-256 checksum
How to use checksums
e53ebfdb29a16b270c512d1956cb597b172c1312216759072651f2abccc40736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Security for toolr-py 0.34.1

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_py-0.34.1.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 Oct 9, 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.

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