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.
- Host: GitHub
- URL: https://github.com/croketillo/sqlite-explorer
- Owner: croketillo
- License: gpl-3.0
- Created: 2023-12-14T16:05:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-18T06:00:25.000Z (over 1 year ago)
- Last Synced: 2025-02-22T01:46:59.129Z (4 months ago)
- Topics: sql, sqlite, sqlite-database, sqlite3, sqlitedatabase
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SQLiteExplorer
  
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.