JediRhymeTrix/PyCrust
PyCrust is a CLI tool that converts Python code to Rust using OpenAI's GPT-3.5 language model for code generation. It provides an easy-to-use interface for converting Python code to Rust code, making it easier for Python developers to leverage Rust's performance benefits.
This tool helps Python developers convert existing Python code into Rust code. You provide a Python script, and it generates a corresponding Rust file, aiming to replace Python libraries with Rust equivalents. It's designed for Python developers looking to migrate parts of their codebase to Rust for performance or other benefits.
No commits in the last 6 months.
Use this if you are a Python developer seeking an automated starting point to translate your Python scripts into Rust.
Not ideal if you need production-ready Rust code directly, as the generated code may require further manual refinement and debugging.
Stars
39
Forks
3
Language
Python
License
—
Category
Last pushed
Apr 21, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/JediRhymeTrix/PyCrust"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
shcherbak-ai/contextgem
ContextGem: Effortless LLM extraction from documents
mufeedvh/code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt...
ShahzaibAhmad05/gitree
An upgrade from "ls" for developers. An open-source tool to analyze folder structures and to...
nicepkg/ctxport
Copy AI conversations as clean Markdown Context Bundles — one click from ChatGPT, Claude,...
nikolay-e/treemapper
Export your entire codebase to ChatGPT/Claude in one command. Structure + contents in YAML/JSON...