Metadata-Version: 2.4
Name: 3xcode-cli
Version: 0.1.0
Summary: AI-powered code conversion CLI — transform SQL to PySpark and beyond
Author-email: 3XDE <developer@genaiprotos.com>
License-Expression: LicenseRef-Proprietary
Project-URL: Homepage, https://3xde.com
Project-URL: Documentation, https://docs.3xde.com
Project-URL: Changelog, https://github.com/GenAi-Protos/3XCodeConvertor/blob/main/CHANGELOG.md
Keywords: sql,pyspark,code-conversion,ai,cli,llm
Classifier: Environment :: Console
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Code Generators
Classifier: Intended Audience :: Developers
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: pydantic>=2.10.0
Requires-Dist: pydantic-settings>=2.7.0
Requires-Dist: structlog>=24.4.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: typer>=0.12.0
Requires-Dist: rich>=13.0.0
Requires-Dist: InquirerPy>=0.3.4
Requires-Dist: prompt_toolkit>=3.0.40
Requires-Dist: tomli-w>=1.0.0
Requires-Dist: keyring>=25.0.0
Requires-Dist: claude-agent-sdk>=0.1.49
Requires-Dist: httpx>=0.28.0
Requires-Dist: starlette>=0.40.0
Requires-Dist: uvicorn>=0.30.0
Requires-Dist: websockets>=16.0
Provides-Extra: spark
Requires-Dist: pyspark>=3.5.0; extra == "spark"
Provides-Extra: dev
Requires-Dist: pytest>=8.3.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.25.0; extra == "dev"
Requires-Dist: pytest-cov>=6.0.0; extra == "dev"
Requires-Dist: pytest-html>=4.1.0; extra == "dev"
Requires-Dist: ruff>=0.9.0; extra == "dev"
Requires-Dist: mypy>=1.14.0; extra == "dev"
Requires-Dist: pre-commit>=4.0.0; extra == "dev"
Requires-Dist: build>=1.0.0; extra == "dev"
Requires-Dist: twine>=5.0.0; extra == "dev"

# 3XCode CLI

AI-powered code conversion tool. Transform SQL to PySpark and beyond with intelligent multi-phase conversion agents.

## Installation

```bash
pip install 3xcode-cli
```

Or with uv:
```bash
uv add 3xcode-cli
```

## Quick Start

```bash
# Sign up or log in
3xcode login --signup --email you@company.com --password *** --name "Your Name"

# Convert a SQL file to PySpark
3xcode pyspark convert your_file.sql

# Bulk conversion
3xcode pyspark convert --dir ./sql/ --session "my-migration"

# Interactive shell
3xcode
```

## Features

- **Multi-phase conversion** -- Analysis, conversion, validation, and audit in one pipeline
- **Multi-provider support** -- Anthropic (direct), AWS Bedrock, Google Vertex AI, Azure AI Foundry
- **Bring Your Own Key** -- Use your own API keys for direct provider access
- **Bulk conversion** -- Process hundreds of files with parallel workers and resumable sessions
- **Workspace management** -- Organize conversions into projects with session tracking
- **Interactive shell** -- Tab completion, syntax highlighting, and command history
- **Web UI** -- Browser-based workspace and session management

## Supported Conversions

| From | To | Status |
|------|----|--------|
| SQL | PySpark | Available |
| More coming soon | | |

## System Requirements

- Python 3.12 or 3.13
- macOS, Linux, or Windows
- Internet connection (for authentication and LLM API calls)

## Pricing

| Plan | Conversions/Month |
|------|-------------------|
| Free | 5 |
| Pro | 200 |
| Team | 1,000 |
| Enterprise | Unlimited |

## Documentation

Full documentation at [docs.3xde.com](https://docs.3xde.com)

## License

Proprietary. See LICENSE file for details.
