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.6.tar.gz (14.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.6-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vibe_widget-0.2.6.tar.gz
  • Upload date:
  • Size: 14.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.6.tar.gz
Algorithm Hash digest
SHA256 2ef98ed8561743d91e6f810d616715dbe96fee4380e492d4a153d8f70bc39222
MD5 e7ba2d5be16d66db41d64b65bf404c3d
BLAKE2b-256 bcef8b8a9ab94cb24f066457d26ce551e610c540d0c36adb95067b5a91596933

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibe_widget-0.2.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: vibe_widget-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fd20debb74a7b3da2498b22924861f58e880c3971d26061dc81efda989b56029
MD5 f99e82f288c996e9d12fc0d2dd38a92f
BLAKE2b-256 1ed823624c50e494526db02df560c7db72dfa51de5b59de8d172710c62f14ecf

See more details on using hashes here.

Provenance

The following attestation bundles were made for vibe_widget-0.2.6-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