zgulde / sqimple

Simple SQL Web Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sqimple

Simple SQL Web Interface for sqlite, mysql, and postgres databases.

Intended to be a step between the DBMS' interactive command line interface and a fully-featured SQL GUI client.

Usage

python -m pip install sqimple

One of:

  • sqlite

    sqimple sqlite mydb.sqlite
    
  • mysql

    sqimple mysql -u someusername -p mypassword --host db.example.com some_database
    
  • postgres

    sqimple pg -U username -d database
    

and then visit http://localhost:5000 in your browser.

See the help or subcommand help for more options:

sqimple --help
sqimple mysql --help

Notes

  • no state is persisted between query executions
  • for postgres passwords, use a ~/.pgpass file
  • when saving the query to a file, if the specified filename already exists it will be overridden
  • relies on sqlite3, mysql, or psql commands being installed

About

Simple SQL Web Interface

License:MIT License


Languages

Language:CSS 61.0%Language:Python 23.4%Language:JavaScript 10.0%Language:HTML 5.6%