Skip to main content

Create interactive visualizations using natural language and LLMs

Project description

Vibe Widget

Vibe Widget

Make analysis interactive.

Python Version License Provider PyPI - Version PyPI - Downloads

Vibe Widget generates interactive notebook interfaces from plain English. Explore data with sliders, linked views, filters, and custom controls without building a front end.

Checkout the docs!

What you can do

  • Create widgets from a prompt
    Describe the interface you want and get a working widget immediately.

  • Iterate safely
    Revise in plain language, use built-in audits, and (optionally) require approval before any generated code runs.

  • Share reusable widgets
    Save widgets as .vw bundles and load them elsewhere—with review + audit on load by default.

  • Run where your data lives
    Works in Jupyter/JupyterLab, Colab, VS Code notebooks, marimo, and more (via AnyWidget + React).

Quickstart

pip install vibe-widget
export OPENROUTER_API_KEY="your-key"
import pandas as pd
import vibe_widget as vw

df = pd.read_csv("sales.csv")

widget = vw.create("scatter plot with brush selection and a linked histogram", df)
widget()

Acknowledgements

This repo was originally created at the Sundai Weird Data Hack. We thank Angela for her feedback and suggestions on early versions!

Special thanks to Trevor Manz and the Anywidget project for providing the specification and foundation that made this project possible. Be sure to check out and star AnyWidget!

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

vibe_widget-0.2.3.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

vibe_widget-0.2.3-py3-none-any.whl (548.6 kB view details)

Uploaded Python 3

File details

Details for the file vibe_widget-0.2.3.tar.gz.

File metadata

  • Download URL: vibe_widget-0.2.3.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vibe_widget-0.2.3.tar.gz
Algorithm Hash digest
SHA256 22d9b009e50820c0d040b8ff4b4a5ed8ed7a69e6063d402fefc1f809e0e9c5e9
MD5 57a723ac05317b49ffd55a6656ce3158
BLAKE2b-256 dabfbc2ea8ed5c0912ed5e0e92a2b8f33d7ea6fb9b73d3892df6e484bac36545

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibe_widget-0.2.3.tar.gz:

Publisher: pypi-publish.yml on dwootton/vibe-widget

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vibe_widget-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: vibe_widget-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 548.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vibe_widget-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8cda8870481acb8ca9ebd10dbd0554c837d259f196be5216a970bfba2e44d670
MD5 b7571d3e49bbf2fabd9a030ca2a79e98
BLAKE2b-256 80766692e3b71c51638f29b5cdd2db248086fb5aa3ecb44d3dbdde8c4f24561b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibe_widget-0.2.3-py3-none-any.whl:

Publisher: pypi-publish.yml on dwootton/vibe-widget

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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