Unified CLI for MySQL, PostgreSQL, and SQLite databases (seaql).
Project description
seaql
A unified CLI for MySQL, PostgreSQL, and SQLite databases.
Auto-detects the database type from connection URIs, port numbers, or file extensions.
# Connect to PostgreSQL via URI
seaql postgres://user:pass@localhost:5432/mydb
# Connect to MySQL via flags
seaql -u root -p root -h localhost -P 3306 mydb
# Connect to SQLite via file path
seaql path/to/database.db
# Backslash commands work (PostgreSQL)
> \dt
> \l
> \d users
Installation
pip install seaql
Or with uv:
uv tool install seaql
Usage
seaql [OPTIONS] [DBNAME]
Database type is auto-detected from:
- URI scheme:
mysql://,postgres://,postgresql://,sqlite:// - Port numbers:
-P 3306(MySQL),-p 5432(PostgreSQL) - File extensions:
.db,.sqlite,.sqlite3,.db3(SQLite) - Flags:
-u(MySQL),-U(PostgreSQL)
License
BSD-3-Clause
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seaql-0.1.3.tar.gz
(70.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
seaql-0.1.3-py3-none-any.whl
(79.8 kB
view details)
File details
Details for the file seaql-0.1.3.tar.gz.
File metadata
- Download URL: seaql-0.1.3.tar.gz
- Upload date:
- Size: 70.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4290cd4095c93f25dd2421e214e3c63fdb72603e9d33dad068a52a7c89247a6f
|
|
| MD5 |
f384b50deb5abb605ab730a6ca045043
|
|
| BLAKE2b-256 |
70ffc30a29f69e600f25b0257c56921a5f1bde8077c736bd002512c28b062582
|
File details
Details for the file seaql-0.1.3-py3-none-any.whl.
File metadata
- Download URL: seaql-0.1.3-py3-none-any.whl
- Upload date:
- Size: 79.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f53853953b5647023c36f51741af8c8f2e4e8f19c84e8104f40e24d28253f8e6
|
|
| MD5 |
452e9629393920d319effe7791691cc0
|
|
| BLAKE2b-256 |
8c14d179f642c7fc41c165f7b7233c0ca2c25ef4446d8283837a18f94463eee9
|