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.2.tar.gz
(33.2 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.2-py3-none-any.whl
(39.2 kB
view details)
File details
Details for the file seaql-0.1.2.tar.gz.
File metadata
- Download URL: seaql-0.1.2.tar.gz
- Upload date:
- Size: 33.2 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 |
d349e2fe6fc22cd5c106a6f1b4244f68f87d5f0879c95e755f820d7ab2b07dbf
|
|
| MD5 |
916b8b5502d8c7b88a601580f7e3a4bb
|
|
| BLAKE2b-256 |
fd49033be3f8c17577d61040d39d217c4fa32b9a4c2103d9e5d4595572ddf2dc
|
File details
Details for the file seaql-0.1.2-py3-none-any.whl.
File metadata
- Download URL: seaql-0.1.2-py3-none-any.whl
- Upload date:
- Size: 39.2 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 |
f6adad0ca05f3414c69cce0b4cc8be93640051ddd0a593e33987e291642fdecb
|
|
| MD5 |
6e7375ff68e61551d5be30df20c031d0
|
|
| BLAKE2b-256 |
621a4bcb81a14ac524cbe1d213ec42308c8c4c09747b36a783ab9aedc40dd253
|