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.4.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.4-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vibe_widget-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 abd11a389103ee6e28ef778d5242b2f3cc6f632075ab36151b55e1f05ad8a589
MD5 861df68355258e7a8d69b077f22da1aa
BLAKE2b-256 e2d03da869a8e359acfb98cd539b525b202873993f77b06d948b20e043b60079

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vibe_widget-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6868b970657d7f0f5c56cd8277e8a016405c7be0dbc919c9752c62f5498e75cc
MD5 9fb1e44f1cfaf334dbe365ee059ad819
BLAKE2b-256 2e9476f508821ce56d64b2e9fc43348b4020b9ae36113f850ffc14e96f10e6bb

See more details on using hashes here.

Provenance

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