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.4.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.4-py3-none-any.whl
(79.8 kB
view details)
File details
Details for the file seaql-0.1.4.tar.gz.
File metadata
- Download URL: seaql-0.1.4.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 |
0c1154a0799ad2da7819eb4c36324d063d2d912870e375e7cf5d20667eb49893
|
|
| MD5 |
25257a0ac9366d9c9a19b99cb17b7efe
|
|
| BLAKE2b-256 |
78463b90de27f6a73e20f0b64a21ab961446cce2a650728900d11a0c39e92c1f
|
File details
Details for the file seaql-0.1.4-py3-none-any.whl.
File metadata
- Download URL: seaql-0.1.4-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 |
d2671fdcac9332f40f19139ac17fed944e6a545490fdf0ece9a65932fb9d1341
|
|
| MD5 |
11a83e8b5440dedefea7a4770c445639
|
|
| BLAKE2b-256 |
e3ce6e23b496eca2d37094e41b78f32f0d107b210ebc62c0e89f0ea324d0b101
|