ptd-python-cli
PTD boilerplate: Python CLI that transpiles to high-performance Rust. Reference implementation for Polyglot Transpilation Development.
pythonrustcliboilerplateaiptd
Overview
PTD Python CLI is a developer-first framework that lets you write Python code and automatically transpile it to optimized Rust using AI agents, achieving 250x performance gains in startup time and 90% memory reduction. The core stack uses Python for rapid development, OpenCode AI agents for semantic transpilation and Rust for production deployment, making it ideal for building high-performance CLI tools where you can ship fast without manual porting or performance compromise.
Features
python-to-rust-transpilationcli-commandsjson-processingyaml-supportcsv-supportcolored-outputprogress-barstiming-utilitiesatomic-writesbenchmark-suiteversion-commandhello-commandprocess-command
Feature Flags
invoicesblogecommerceteamsOrgsaiclitesting
Recommended Use Cases
building-high-performance-cli-toolspolyglot-developmentrapid-prototyping-with-pythonproduction-deployment-with-rustai-powered-code-generationbatch-processing-applicationsdatabase-operations
Frontend
None
Backend
pythonrust
Auth Providers
None
Deployment Targets
native-binarycli
Payment Providers
None
Quick Facts
Stack
Language
python, rust
Database
sqlite
Testing
pytest
Data Layer
Databases
sqlite
UI Stack
Developer Experience
Docker
No
Tests
Yes
Quickstart
Yes
env.example
No
Pricing
Classification
free
Selected
โ
Notes
MIT licensed open-source project