SQL to PySpark,
Converted by AI
3XCode CLI is an AI-powered multi-phase conversion engine that turns T-SQL, PL/SQL, PL/pgSQL, MySQL, and Spark SQL into production-ready PySpark, from a single file to an entire codebase.
Quickstart Guide
pip install 3xcode-cli, log in, and convert your first SQL file to PySpark in minutes.
Supported Dialects
T-SQL, PL/SQL, PL/pgSQL, MySQL, ANSI SQL, and Spark SQL / Databricks: auto-detected, no flags needed.
How It Works
A 5-phase pipeline (Discovery, Planning, Conversion, Validation, Auto-Fix) with real gotcha detection at every step.
Multi-Provider & BYOK
Bring your own Anthropic, AWS Bedrock, Google Vertex AI, or Azure AI Foundry key, or use the platform-provided default.
CLI Reference
Every command, every flag: convert, bulk conversion, workspace, session, org, keys, and more.
Web UI
A local, browser-based dashboard for monitoring sessions and running bulk conversions (3xcode ui).
Why 3XCode?
Stop hand-translating stored procedures. 3XCode's multi-phase pipeline understands SQL dialects, detects platform-specific syntax across 10 source platforms, and produces PySpark that a human would actually write, with a validation and auto-fix pass built in.
- Automatic dialect & platform detection
- Multi-phase conversion with validation
- Bulk conversion with resumable sessions
- Your code goes to your LLM provider, never our servers