Skip to main content

SQLRay is a tool that helps you optimize SQL queries using OpenAI.

Project description

SQL Query Optimizer CLI

This CLI tool leverages the capabilities of SQLRay and OpenAI to analyze and optimize SQL queries. It's designed to improve the performance of your SQL queries by suggesting optimizations based on your database schema and the specifics of your query.

Features

  • Optimize SQL Queries: Submit your SQL query to be optimized based on your actual database schema.
  • Interactive Mode: Enter interactive mode to continuously optimize SQL queries with the ability to load a new schema as needed.
  • OpenAI Integration: Utilizes OpenAI's powerful models to suggest optimizations.

Installation

Before you can run the tool, ensure you have Python installed on your system. This tool has been tested with Python 3.8 and above.

You can install directly from PyPI using pip:

sudo pip install sqlray

You can run directly sqlray from the command line:

sqlray --help

Or using python -m:

python -m sqlray --help

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

sqlray-1.0.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

sqlray-1.0.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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