Metadata-Version: 2.1
Name: sqimple
Version: 0.0.7
Summary: Simple SQL Web Interface
Author: Zach Gulde
Author-email: zachgulde@gmail.com
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: Flask==1.1
Requires-Dist: waitress==2.0

# 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.

## 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

