This release is a pre-release and may not be stable for production use.
datasette-agent-charts
Observable Plot charts for Datasette agent.
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-agent-charts
Usage
This plugin adds a render_chart tool to Datasette Agent that can generate charts from SQL query results using Observable Plot.
Try prompts like this one, adapted to your available tables:
Draw a bar chart of downloads over time
Tool definition
The render_chart tool accepts the following parameters:
- database — the database to query
- sql — SQL query whose results become chart data
- chart_type — one of
barX,barY,line,dot,areaY,waffleY - x — column name for the x axis
- y — column name for the y axis
- color — (optional) column name for color encoding
- title — (optional) chart title
- x_label — (optional) x axis label
- y_label — (optional) y axis label
Development
To set up this plugin locally, first checkout the code. You can confirm it is available like this:
cd datasette-agent-charts
# Confirm the plugin is visible
uv run datasette plugins
To run the tests:
uv run pytest
Metadata
Release files for datasette-agent-charts 0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datasette_agent_charts-0.1a2.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datasette_agent_charts-0.1a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / datasette_agent_charts-0.1a2.tar.gz
| Download URL | datasette_agent_charts-0.1a2.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed130eafddab2d6ff54cbfa20e2088e44b4ce4c77c7562b30d99980dff63065a
|
|
BLAKE2b-256 checksum How to use checksums |
cd6835aaf4bf570e57569b712e6bc2e7370c3f4e54a773c46fa767982c59d68b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 21, 2026.
Transparency logRelease files / datasette_agent_charts-0.1a2-py3-none-any.whl
| Download URL | datasette_agent_charts-0.1a2-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c15a55a5695bab7aea77a58a2cf0251905e443d11d2ff8d4d1427c3c94f034d
|
|
BLAKE2b-256 checksum How to use checksums |
6a34ab162a42cbca03ff9365a720b8f9f67e2ed9316712c38390b25f0baf6494
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 21, 2026.
Transparency log