Skip to main content

Client for codeflash.ai - automatic code performance optimization, powered by AI

Project description

Codeflash

Codeflash is an AI optimization tool that automatically improves the performance of your Python code while maintaining its correctness.

img.png

Features

  • Automatically optimizes your code using AI
  • Maintains code correctness through extensive testing
  • Opens a pull request for each optimization
  • Continuously optimizes your codebase through CI
  • Dynamically optimizes your real workflows through tracing

Installation

To install Codeflash, run:

pip install codeflash

Quick Start

  1. Configure Codeflash for your project:

    codeflash init
    
  2. Optimize a function:

    codeflash --file path/to/your/file.py --function function_name
    
  3. Optimize your entire codebase:

    codeflash --all
    

Getting the Best Results

To get the most out of Codeflash:

  1. Install the Github App and actions workflow
  2. Find optimizations on your whole codebase with codeflash --all
  3. Find and optimize bottlenecks with the Codeflash Tracer
  4. Review the PRs Codeflash opens

Learn More

License

Codeflash is licensed under the BSL-1.1 License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeflash-0.7.6.tar.gz (89.2 kB view details)

Uploaded Source

File details

Details for the file codeflash-0.7.6.tar.gz.

File metadata

  • Download URL: codeflash-0.7.6.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/24.0.0

File hashes

Hashes for codeflash-0.7.6.tar.gz
Algorithm Hash digest
SHA256 b69c8525ab17e12113c3e4e0873e3c8cf3a5cef05ae5305ca7064391045960dd
MD5 7532a621b0c7152328a6c632288c0f3c
BLAKE2b-256 bffcdc2779a35c7ace8ec4196787c5f0b03bbb018233539e6c37fb95130138b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page