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.0
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.0.tar.gz | 194.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqlsaber_viz-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 213.4 kB
Release files / sqlsaber_viz-0.9.0.tar.gz
| Download URL | sqlsaber_viz-0.9.0.tar.gz |
|---|---|
| Size | 194.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
814870da6608d763ce68de03d203f606cc3538f607d85828450fe92325c1e0fa
|
|
BLAKE2b-256 checksum How to use checksums |
da9363199df2b9dd09a73a5de8d1a353c38fa65b90277a088387fd0821e6e5ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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.0-py3-none-any.whl
| Download URL | sqlsaber_viz-0.9.0-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b1a50d68203722cdc8369bc8d302f6bd9da3a48af13cc5f268fe28b6cc9f8ee
|
|
BLAKE2b-256 checksum How to use checksums |
a0215bd7e50179c50e5f89fcc0a5b404a67fca05d6c1fca3d3eca6d645021ddf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}
|