Installation
Prerequisites
Make sure you have Python (version 3.8 or higher) installed.
For efficient package management, we recommend uv — a modern and fast tool for managing Python environments.
Method 1: Install from Source (for Development)
This method is ideal if you want to contribute to the project or modify the code.
Clone the repository:
git clone https://github.com/aborruso/tometo_tomato.gitNavigate to the project directory:
cd tometo_tomatoInstall dependencies:
With
uv(recommended):uv syncThis creates a virtual environment and installs the package in editable mode, so code changes take effect immediately.
With
pip:pip install -e .
If you don’t plan to modify the code, you can omit the
-eflag:pip install .
Method 2: Install as a Global Tool (with uv tool install)
If you just want to use tometo_tomato as a command-line tool without managing source code or virtual environments, uv tool install is the cleanest option.
Make sure you have
uvinstalled.Install the tool:
uv tool install tometo_tomatoThis installs
tometo_tomatoin an isolated environment managed byuvand makes it available on your PATH.
Verify the Installation
After completing any of the installation methods, verify that tometo_tomato is installed correctly:
tometo_tomato --versionYou should see the version number printed on screen.