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.2.0.tar.gz
(73.5 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.2.0-py3-none-any.whl
(82.5 kB
view details)
File details
Details for the file seaql-0.2.0.tar.gz.
File metadata
- Download URL: seaql-0.2.0.tar.gz
- Upload date:
- Size: 73.5 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 |
fd4b94519b03b242278ca0105d821a0dbbfe579e2e7d9e1485e91033833edde3
|
|
| MD5 |
0362e45132483d4793bdbabde969a628
|
|
| BLAKE2b-256 |
a3f83e5f87a75e51e1f92bf0734a604ca9076ea1a145d55966d6c9256ffe944b
|
File details
Details for the file seaql-0.2.0-py3-none-any.whl.
File metadata
- Download URL: seaql-0.2.0-py3-none-any.whl
- Upload date:
- Size: 82.5 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 |
10ed7e4a60b962c819238ecfb336204cc66a4f178079c084a1c0744a1413535c
|
|
| MD5 |
539623da802fdd30c43168bfa6ceb2b2
|
|
| BLAKE2b-256 |
a68dd8225b233f99bb7e07dd3dd666031383a9bb3bfda975b186f31bd84d9f54
|