SQLsaber visualization plugin
The sqlsaber-viz plugin adds a viz tool. It builds a chart spec from query results and renders ASCII charts in the terminal with plotext.
uv tool install --with sqlsaber-viz sqlsaber
After a query, ask SQLsaber to plot the result. See Plugins.
SDK applications can configure the visualization model on the capability factory:
from functools import partial
from sqlsaber import SQLSaberOptions
from sqlsaber_viz import capability
options = SQLSaberOptions(
capabilities=[
partial(
capability,
model_name="openai:gpt-5-mini",
api_key="application-managed-key",
)
]
)
Omit both arguments to inherit the session model and session API key.
Metadata
Release files for sqlsaber-viz 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sqlsaber_viz-0.9.1.tar.gz | 198.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqlsaber_viz-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 217.4 kB
Release files / sqlsaber_viz-0.9.1.tar.gz
| Download URL | sqlsaber_viz-0.9.1.tar.gz |
|---|---|
| Size | 198.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
805e1f324f2b9672b65eb2d8ba0d10f1b5ae5255933b28dfa71bd4dfe34fc5bb
|
|
BLAKE2b-256 checksum How to use checksums |
b071f957e2005998294be4587a20fd0d0db2a7b1a0f1dfff262eff6ae16ea192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|
Release files / sqlsaber_viz-0.9.1-py3-none-any.whl
| Download URL | sqlsaber_viz-0.9.1-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34cd4cebc32fee82c9ca96cdb3eb90ba3178e8007167fc3578eeb16350992866
|
|
BLAKE2b-256 checksum How to use checksums |
b9cf28d3c29463ff7b34b2620878ccb6e4cacfebe4fa293b5c3b3534ade30587
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|