Codeflash is an AI-powered tool that automatically optimizes Python code for performance. It analyzes code, runs test suites, and generates performance improvements with minimal user intervention. Current version: 0.20.5, active development with weekly releases.
pip install codeflashVerified import paths — ran on the pinned version, not inferred.
Initialize Codeflash with API key and optimize a function.
Update imports to `from codeflash import run_codeflash`.
Set `CODEFLASH_API_KEY` in your environment or pass `api_key` parameter.
Remove `verbose` parameter and configure Python logging: `logging.basicConfig(level=logging.INFO)`.
Ensure Python >=3.9 is used.
No dependency data recorded yet.