Installation
Install tracekit-sdk with pip, uv, or a standard Python virtual environment.
TraceKit requires Python 3.12 or newer and has no runtime dependencies.
Install with pip or uv
Choose your preferred tool to add tracekit-sdk to your project:
pip install tracekit-sdkPlain venv without uv
If you are using the built-in venv module without uv, create and activate an environment first:
terminal
python3 -m venv .venvsource .venv/bin/activatepip install tracekit-sdkOn Windows PowerShell, activate the environment with .venv\Scripts\Activate.ps1.
Verify the installation
Run a quick one-liner to check the installed version:
terminal
python -c "import tracekit; print(tracekit.__version__)"Expected output:
output
0.1.0You can also check that the tracekit CLI command is available:
terminal
tracekit --helpExpected output:
output
usage: tracekit [-h] COMMAND ...
TraceKit observability CLI
positional arguments: COMMAND tail Follow a JSONL event file and pretty-print new events in real time. serve Start a local HTTP viewer that accepts events on POST /ingest.
options: -h, --help show this help message and exit