Skip to main content

PyPI Python License Dash Ruff uv ty prek

dash-interact

pyplot-style convenience layer for Plotly Dash — build interactive apps top-to-bottom with no boilerplate.

Installation

pip install dash-interact

Quick example

from dash_interact import page

page.H1("My App")

@page.interact
def sine_wave(amplitude: float = 1.0, frequency: float = 2.0):
    import numpy as np, plotly.graph_objects as go
    x = np.linspace(0, 6 * np.pi, 600)
    return go.Figure(go.Scatter(x=x, y=amplitude * np.sin(frequency * x)))

page.run()

The page API

page works like matplotlib.pyplot — a module-level singleton that accumulates content.

from dash_interact import page

page.H1("Title")          # adds html.H1
page.Hr()                 # adds html.Hr
@page.interact            # adds an interact panel
def my_fn(...): ...
page.run()                # builds the Dash app and starts the server

The interact family

Three levels mirroring ipywidgets:

from dash_interact import interact, interactive, interactive_output

# 1. Fire and forget — attaches to the current page
@interact
def plot(amplitude: float = 1.0): ...

# 2. Embeddable — place it yourself
panel = interactive(plot, amplitude=(0, 2, 0.1))

# 3. Fully decoupled — pre-built form, separate output
form = FnForm("plot", plot)
output = interactive_output(plot, form)

License

MIT

Metadata

Release files for dash-interact 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dash-interact 0.0.1
File Size Uploaded
dash_interact-0.0.1.tar.gz 613.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dash-interact 0.0.1
File Interpreter ABI Platform
dash_interact-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 626.4 kB

Release files / dash_interact-0.0.1.tar.gz

Download URL dash_interact-0.0.1.tar.gz
Size 613.7 kB
Tags Source
SHA-256 checksum
How to use checksums
938f3694345c337aa4f4e37b5c3578f6e3f3164ddf6373beadf8adb1f790dda5
BLAKE2b-256 checksum
How to use checksums
59e05ae6a9c2a20f3d86751d50073b1081fb9d3877a60b10c422935249a1a205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.

Transparency log

Release files / dash_interact-0.0.1-py3-none-any.whl

Download URL dash_interact-0.0.1-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1993e2d0984ed9ba5378db14c02466861c30395b3e9b335e328a9979a28c6960
BLAKE2b-256 checksum
How to use checksums
9317aa24651609a0ae5f140e9abadd509c9fd1f6212f42668c70a5a1bdd6a089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page