Skip to main content

Prerequisites

  • Python >=3.13,<3.14
  • uv — the only supported package manager (never bare pip)
  • An Infisical token for secrets injection (optional for read-only exploration)

Get started

1

Clone

git clone git@github.com:elviskahoro/gtm-sdk.git
cd gtm-sdk
2

Install dependencies

uv sync
3

Run the CLI

The package installs a gtm entrypoint:
uv run gtm --help
4

Inject secrets (optional)

Commands that touch external services expect secrets injected via Infisical:
set -a && source .env.local && set +a
infisical run --projectId "$INFISICAL_PROJECT_ID" --token "$INFISICAL_TOKEN" --env=dev -- uv run gtm <command>

Quality gates

trunk check --all   # lint + type check
uv run pytest       # tests
Last modified on July 13, 2026