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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sqlray-1.0.0.tar.gz.

File metadata

  • Download URL: sqlray-1.0.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sqlray-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb4c8ec9005d2f2b16553137816f79351c8909a8cc043a8f07c3bc6c8365aa5e
MD5 2de4be28aef1095966e70f35a56bcabb
BLAKE2b-256 6508cff8b9c9c666c084275aa3ea89eec44dbd3d6ca0fa1930422b828aa47cc3

See more details on using hashes here.

File details

Details for the file sqlray-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sqlray-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sqlray-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e74c0a87cf0c1c560af67d454475771d4d736a062b28c3fba7448aa65b908255
MD5 1ac4b18175fad04b665aee0d6e49d036
BLAKE2b-256 9040354ba6a2130fbe0a0ed69bc2873d5332a1262eb00e2f7ac236e13564b050

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