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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb4c8ec9005d2f2b16553137816f79351c8909a8cc043a8f07c3bc6c8365aa5e |
|
MD5 | 2de4be28aef1095966e70f35a56bcabb |
|
BLAKE2b-256 | 6508cff8b9c9c666c084275aa3ea89eec44dbd3d6ca0fa1930422b828aa47cc3 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e74c0a87cf0c1c560af67d454475771d4d736a062b28c3fba7448aa65b908255 |
|
MD5 | 1ac4b18175fad04b665aee0d6e49d036 |
|
BLAKE2b-256 | 9040354ba6a2130fbe0a0ed69bc2873d5332a1262eb00e2f7ac236e13564b050 |