Unique repo that migrates data between LangSmith workspaces (cloud or self-hosted) with a modern CLI. This codebase is original; any conceptual inspiration is acknowledged in the license.
python -m venv .venv
# Windows: .\.venv\Scripts\Activate.ps1
source .venv/bin/activate
pip install --upgrade pip
pip install -e .
# Set credentials (env wins over TOML)
export SRC_LANGSMITH_API_KEY=...
export SRC_LANGSMITH_BASE_URL=https://api.langsmith.example
export DST_LANGSMITH_API_KEY=...
export DST_LANGSMITH_BASE_URL=https://target.langsmith.example
# Check connectivity
langporter test -v
# Plan only
langporter run --project myproj --since 2025-01-01 --until 2025-09-30 --dry-run
# Execute (placeholder importer; wire API calls you need)
langporter run --project myproj --batch 500Create langporter.toml:
[langporter]
source_api_key = "env:src"
source_base_url = "https://api.langsmith.example"
target_api_key = "env:dst"
target_base_url = "https://target.langsmith.example"
project = "demo"
batch = 500
dry_run = true- Clear CLI with
typer+rich - Real-world concerns: dry-run, batching, config layering (TOML + env)
- Tests & CI ready
- Not a fork; documented attribution
License: MIT. Attribution: inspired by ideas from community tools in the LangSmith ecosystem.
