Installation
Installation
Section titled “Installation”Package Managers
Section titled “Package Managers”Using uv (Fastest)
Section titled “Using uv (Fastest)”# Basic installationuv add lumberjack_sdk
# With local development serveruv add 'lumberjack_sdk[local-server]'
# With specific framework supportuv add 'lumberjack_sdk[local-server,flask]'uv add 'lumberjack_sdk[local-server,fastapi]'uv add 'lumberjack_sdk[local-server,django]'
Using pip
Section titled “Using pip”# Basic installationpip install lumberjack_sdk
# With local development serverpip install 'lumberjack_sdk[local-server]'
# With specific framework supportpip install 'lumberjack_sdk[local-server,flask]'pip install 'lumberjack_sdk[local-server,fastapi]'pip install 'lumberjack_sdk[local-server,django]'
Using Poetry
Section titled “Using Poetry”# Basic installationpoetry add lumberjack_sdk
# With extraspoetry add 'lumberjack_sdk[local-server]'poetry add 'lumberjack_sdk[local-server,flask]'
Installation Extras
Section titled “Installation Extras”Extra | Description | Dependencies |
---|---|---|
local-server | Local development server with web UI | FastAPI, Uvicorn, WebSockets |
flask | Flask framework integration | Flask instrumentor |
fastapi | FastAPI framework integration | FastAPI instrumentor |
django | Django framework integration | Django instrumentor |
System Requirements
Section titled “System Requirements”- Python: 3.10 or higher
Verifying Installation
Section titled “Verifying Installation”After installation, verify everything is working:
# Check versionpython -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 serveruv run lumberjack server lumberjack serve if installed with pip
Development vs Production
Section titled “Development vs Production”Development Setup
Section titled “Development Setup”For local development, install with the local-server
extra:
uv add 'lumberjack_sdk[local-server]'
This includes:
- Local web UI for viewing logs
- MCP server for Claude/Cursor integration
- Development utilities
Production Setup
Section titled “Production Setup”Troubleshooting
Section titled “Troubleshooting”Import Errors
Section titled “Import Errors”If you get import errors:
# Reinstall with all dependenciespip install --upgrade --force-reinstall 'lumberjack_sdk[local-server]'
Permission Errors
Section titled “Permission Errors”UV manages your venv for you, but if not using uv, consider a venv:
python -m venv venvsource venv/bin/activate # On Windows: venv\Scripts\activatepip install lumberjack_sdk
Version Conflicts
Section titled “Version Conflicts”If you have version conflicts with dependencies:
# Check for conflictspip check
# Upgrade pip and setuptoolspip install --upgrade pip setuptools
# Then reinstallpip install --upgrade lumberjack_sdk
Next Steps
Section titled “Next Steps”- Quick Start - Get up and running quickly
- Configuration - Configure for your environment
- Claude Integration - Set up AI debugging