Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,16 @@ throttle scan .
throttle demo
```

Pin the version so what you install never changes under you.
Pin the version so what you install never changes under you. Throttle needs
**Python 3.11 or newer**. On a Mac, the built-in `python3` is 3.9, and pip
then says `No matching distribution found for throttle-pro`. That means your
Python is too old, not that the package is missing. With
[uv](https://docs.astral.sh/uv/) you can skip installing anything; it fetches
a recent Python on its own:

```sh
uvx --from "throttle-pro==0.8.0" throttle scan .
```

`throttle scan .` reads the code in the current
folder and lists the OpenAI and Anthropic SDK calls it can read: where each
Expand Down
6 changes: 6 additions & 0 deletions src/throttle/console/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ pipx install "throttle-pro==0.8.0"
throttle --version
```

```bash uv
uvx --from "throttle-pro==0.8.0" throttle scan .
```

On a Mac the built-in `python3` is 3.9. There pip says `No matching distribution found for throttle-pro`: your Python is too old, the package is there. `uvx` (from [uv](https://docs.astral.sh/uv/)) fetches a recent Python by itself, so it works without installing one.

That gives you the whole loop (`capture`, `workloads`, `shadow`, `eval`, `report`, `route`, `refresh`, `demo`), `jobs`, `pr-check` and the serving tools such as `check`.

To install straight from the source you can read, use the release tag:
Expand Down
Loading