L3viathan / sql-mojo

SQL all the things
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

sql-mojo

SQL all the things!

sql-mojo is a REPL that allows you to interact with a number of backends using an SQL-like syntax. The currently available backends are:

Setup

sql-mojo requires Python 3.7+. It can then be installed by cloning this repository and executing

pip install .

inside it (assuming pip points to Python 3.7's pip; you may need to use pip3 or python3.7 -m pip).

Usage

sql-mojo --type=TYPE URL

TYPE can be ommited if sql-mojo can guess the backend from the URL, but it is useful in ambiguos cases.

You should now be in an interactive session with tab completion, auto-correction, history, and many more features (thanks to prompt-toolkit). Press ^D in an empty line to quit the session.