Skip to main content

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.1.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seaql-0.1.1-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file seaql-0.1.1.tar.gz.

File metadata

  • Download URL: seaql-0.1.1.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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

Hashes for seaql-0.1.1.tar.gz
Algorithm Hash digest
SHA256 15be07206c4ef2d259ab9845dbd5821661e31df2bbf440a856cffce253699355
MD5 b000b6108e752ea34064eb97d0266c7e
BLAKE2b-256 a9802f241e36cbb515cdec1bac21293fd429cc5aa583e93edfc798101bffb053

See more details on using hashes here.

File details

Details for the file seaql-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: seaql-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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

Hashes for seaql-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a8b0537aaadee9e85742e045d8d642c7fda6ed50620f3165054bea3c817521f
MD5 e6500e53f3a25d65fe6e47ceccfd28b9
BLAKE2b-256 51b3750d5ebed56a4629b2cae2581320de33c83347fdb2f49185b9418ce1d4a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page