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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vibe_widget-0.2.7.tar.gz
  • Upload date:
  • Size: 14.7 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.7.tar.gz
Algorithm Hash digest
SHA256 66393890598ddea3be59d50dee5a72699ecd81fcbbf9028172083eba46b80142
MD5 0713b3304268ade3ca3feb369bf8144c
BLAKE2b-256 ce2a6ab3f2d10e3fe761276b125385a92ddc5c84566498d51e1a877177a4699d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vibe_widget-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 1.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f9e4bafe84095bbb6986796a84baefde65c5c0dff2dc79cc1fcc2dd2f50c636d
MD5 215aaf1f8ba3080d713397ef4cd85a11
BLAKE2b-256 e750d40e87e98d5a6df1b6942d3595972920d05235968ec9e33a990afe040244

See more details on using hashes here.

Provenance

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