Skip to main content

datasette-vega

PyPI License

A Datasette plugin that provides tools for generating charts using Vega.

Datasette Vega interface

Try it out in your browser using Datasette Lite, which installs the latest release of this plugin and charts fatalities per airline from 2000 to 2014, using FiveThirtyEight's airline safety data.

To add this to your Datasette installation, install the plugin like so:

pip install datasette-vega

The plugin will then add a "Show charting options" button to every Datasette table and SQL query page.

If you are publishing data using the datasette publish command, you can include this plugin like so:

datasette publish cloudrun mydatabase.db --service=my-service --install=datasette-vega

Development

The JavaScript is bundled using esbuild. Install the dependencies and build the plugin's static assets into datasette_vega/static/ like this:

npm install
npm run build

This needs to run before building the Python package, since the bundled assets are not checked into the repository.

To work on the charting interface against the demo page in public/index.html, with automatic rebuilds:

npm run dev

Then open http://localhost:3000/.

To run the Python tests (after npm run build):

uv run pytest

Metadata

Release files for datasette-vega 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasette-vega 0.7
File Size Uploaded Provenance Actions
datasette_vega-0.7.tar.gz 351.8 kB With provenance Details for datasette_vega-0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasette-vega 0.7
File Interpreter ABI Platform Actions
datasette_vega-0.7-py3-none-any.whl Python 3 none any Details for datasette_vega-0.7-py3-none-any.whl

Total release size: 704.2 kB

Release files / datasette_vega-0.7.tar.gz

Download URL datasette_vega-0.7.tar.gz
Size 351.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1efbc4bbac60e4dd6246b555df4e5f109dcb0874588631c8a7c963f15beacbdd
BLAKE2b-256 checksum
How to use checksums
eed70d72b1ff72b2b3a628a9631d3cbb7330c7f4f0c5a97e17e5c86c8170e666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Release files / datasette_vega-0.7-py3-none-any.whl

Download URL datasette_vega-0.7-py3-none-any.whl
Size 352.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7a845a0e0e1719dd01e13236b0279d2207369ca3ea8f9a7d5f67694b15c2072
BLAKE2b-256 checksum
How to use checksums
c10387456a0fcc475c51d0a3a3ecbe0acb0c816be9a3c289fecf96504a7d8d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for datasette-vega 0.7

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for datasette_vega-0.7.tar.gz

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 Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page