Skip to main content

SQL Query Generator (using your table schemas) powered by ChatGPT.

Project description

Ez-Query

SQL Query Generator Powered by ChatGPT

Ez_query allows you to generate sql queries using ChatGPT with the added benefit of retrieving your table schemas for you.

ChatGPT is capable of helping you write SQL queries but only if you provide it your table schemas first. This would mean you have to retrieve them youself manually and enter them into ChatGPT. Doing this multiple times is tedious and time-consuming.

Ez_query makes the process of retrieving your table schemas extremely simple and allows you to do this all in the terminal.

Installation

pip install ez_query

Usage

ez_query -h
ez_query --openai_api_key sk-fake-key --db_host=localhost --db_user=root --db_pass=root --db_name=employees

image

image

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

ez_query-0.0.3.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ez_query-0.0.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ez_query-0.0.3.tar.gz.

File metadata

  • Download URL: ez_query-0.0.3.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ez_query-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2e5ae168b4a19330ddeb6b1c22345ae227d9d761ed1ca87b3a578bcf92ba2a50
MD5 dad1e1abf98f343b9f25f69aa8a8bc8d
BLAKE2b-256 fd13b3bfa0d3badeef087152271431311b9f213f5d3ba84106ed9d181d8aa70a

See more details on using hashes here.

File details

Details for the file ez_query-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ez_query-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ez_query-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 93ef1881910bd888d80826a119921650d846ea1e5e1849c2b08819e7d2dda269
MD5 3c9a463aa14172c3253d4fb1d0e9da30
BLAKE2b-256 82c412cc3d63a59adf8600ba666e751a59ea849af7cda271957b5e870e63ff85

See more details on using hashes here.

Supported by

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