Skip to content

Sayali267/LangPorter

Repository files navigation

LangPorter – LangSmith Migrator (Original & Recruiter-Ready)

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.

Install (editable) & Run

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 500

Config file (optional)

Create 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

Why recruiters like this repo

  • 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.

Demo

  • 📽️ See docs/demo/DEMO_SCRIPT.md for a 60-second walkthrough script.
  • Example embedding: Demo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors