An open API service indexing awesome lists of open source software.

https://github.com/croketillo/sqlite-explorer

SQLiteExplorer is an application for manipulating SQLite databases from the command line.
https://github.com/croketillo/sqlite-explorer

sql sqlite sqlite-database sqlite3 sqlitedatabase

Last synced: 3 months ago
JSON representation

SQLiteExplorer is an application for manipulating SQLite databases from the command line.

Awesome Lists containing this project

README

        

# SQLiteExplorer

![Pepy Total Downlods](https://img.shields.io/pepy/dt/sqlite-explorer?logo=pypi&logoColor=%23fff) ![PyPI - Downloads](https://img.shields.io/pypi/dm/sqlite-explorer?logo=pypi&logoColor=%23fff) ![GitHub License](https://img.shields.io/github/license/croketillo/sqlite-explorer)

SQLiteExplorer is a command-line application designed for the manipulation of SQLite databases. With SQLiteExplorer, you can easily visualize table schemas, execute SQL queries, manage data within tables, and list tables and columns. It provides a convenient and efficient way to interact with SQLite databases directly from the command line.

## Features
- Visualization of table schemas.
- Execution of SQL queries.
- Data management in tables.
- Listing of tables and columns.
- Export to csv files. (Since version 0.1.2)
- Create generic SQL export file (Since version 0.1.4)

## Quick Start

### Install

```bash
pip install sqlite-explorer
```

### Usage

```bash
sqlexp --help
```

```
Usage: sqlexp [OPTIONS] COMMAND [ARGS]...

Options:
--help Show this message and exit.

Commands:
data Retrieve and print data for a specific table.
exec Execute a SQL statement in the database.
ls-col List columns for a specific table.
ls-tab List all tables in the database.
migrate-file Generates SQL file to export database.
schemas Print schema for all tables in the database.
sqlite-csv Export table to CSV file
table Print schema for a specific table.
```

## License

This project is licensed under the GNU-GPL License. See the LICENSE file for more details.