Skip to content

Installation

Terminal window
# Basic installation
uv add lumberjack_sdk
# With local development server
uv add 'lumberjack_sdk[local-server]'
# With specific framework support
uv add 'lumberjack_sdk[local-server,flask]'
uv add 'lumberjack_sdk[local-server,fastapi]'
uv add 'lumberjack_sdk[local-server,django]'
Terminal window
# Basic installation
pip install lumberjack_sdk
# With local development server
pip install 'lumberjack_sdk[local-server]'
# With specific framework support
pip install 'lumberjack_sdk[local-server,flask]'
pip install 'lumberjack_sdk[local-server,fastapi]'
pip install 'lumberjack_sdk[local-server,django]'
Terminal window
# Basic installation
poetry add lumberjack_sdk
# With extras
poetry add 'lumberjack_sdk[local-server]'
poetry add 'lumberjack_sdk[local-server,flask]'
ExtraDescriptionDependencies
local-serverLocal development server with web UIFastAPI, Uvicorn, WebSockets
flaskFlask framework integrationFlask instrumentor
fastapiFastAPI framework integrationFastAPI instrumentor
djangoDjango framework integrationDjango instrumentor
  • Python: 3.10 or higher

After installation, verify everything is working:

Terminal window
# Check version
python -c "import lumberjack_sdk; print(lumberjack_sdk.__version__)"
# Test CLI tools (if local-server installed)
uv run lumberjack --help
# or lumberjack --help if installed with pip
# Start local server
uv run lumberjack serve
r lumberjack serve if installed with pip

For local development, install with the local-server extra:

Terminal window
uv add 'lumberjack_sdk[local-server]'

This includes:

  • Local web UI for viewing logs
  • MCP server for Claude/Cursor integration
  • Development utilities

If you get import errors:

Terminal window
# Reinstall with all dependencies
pip install --upgrade --force-reinstall 'lumberjack_sdk[local-server]'

UV manages your venv for you, but if not using uv, consider a venv:

Terminal window
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install lumberjack_sdk

If you have version conflicts with dependencies:

Terminal window
# Check for conflicts
pip check
# Upgrade pip and setuptools
pip install --upgrade pip setuptools
# Then reinstall
pip install --upgrade lumberjack_sdk