Python environment setup

As an alternative to installing the CLI as a tool, create a Python environment in a new project directory.

If uv is not installed, install it on macOS, Linux, or WSL:

curl -LsSf https://astral.sh/uv/install.sh | sh

Restart your shell if uv is not found. In your project directory, run:

uv init --bare --python 3.13
uv add uptimely-core

Run the CLI with uv run uptimely <command>. Install any project code dependencies needed by the workflow into this environment.

If project functions use PyArrow dataframes, install PyArrow as a project dependency:

uv add pyarrow

Register the PyArrow classes in project configuration before building.