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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vibe_widget-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 248e7f36c877fcf7c2776b00ba5ea13285cb745ff4b00fb7905dd26b6c70f5ee
MD5 9b9b424fde03df56fa9d575cacade333
BLAKE2b-256 accbcce968d7347dce9e7c99dadf055982e24b85111e544a05d2fac82905eb0a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vibe_widget-0.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4907eec04020f04e043ba9b21d29f85b42c0a46e73714b5d912deefbf0c27e
MD5 1a9ec3e67c3257114cf3aea8e5e392b6
BLAKE2b-256 3d9ed894965684c3360b2bec63ad9ed91b17434ac4176b9f3b7902eb80cfb0a6

See more details on using hashes here.

Provenance

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