dash-extensions
Extensions for Plotly Dash.
What it is and what it does
Dash-extensions is a collection of utilities and custom Dash components designed to streamline and enhance Dash application development. It provides pre-built components like Websocket for real-time communication, transforms that optimize callback execution (such as blocking already-running callbacks or caching outputs server-side), and helpers for Pydantic model serialization. The package also includes modules for logging to the UI, managing event flows, extending Dash Pages routing, and JavaScript interoperability.
The library is actively maintained and sits in the top 5000 PyPI packages by download volume. It requires Python 3.11 and depends on Dash plus utility libraries like pydantic, Flask-Caching, and jsbeautifier. Version 2.0.6 introduced breaking changes from 2.0.0, so upgrading may require code adjustments. The permissive MIT license allows unrestricted use.
Use it for:
- Build real-time dashboards with push notifications using the Websocket component.
- Optimize callback performance by preventing duplicate executions or caching results server-side.
- Automatically serialize and deserialize Pydantic models in Dash callbacks without manual conversion.
- Route and organize multi-page Dash applications with extended Pages functionality.
- Route application logs directly to the Dash UI for live debugging and monitoring.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Dash-extensions adds utility functions, custom components, and syntax transforms to Plotly Dash, including real-time communication via Websocket, server-side output caching, Pydantic model serialization, and enhanced page routing.
Yes, if you are building Plotly Dash applications and want to reduce boilerplate or add real-time features. The package is actively maintained, has no known vulnerabilities, and low install friction. Be aware that version 2.0.6 includes breaking changes from 2.0.0—review the documentation before upgrading existing projects.
Install
dash-extensions on PyPI
pip
pip install dash-extensionsuv
uv add dash-extensionspoetry
poetry add dash-extensionsInstalling dash-extensions
Before you install
Low install friction; pure Python wheel. Depends on Dash and five utility libraries (more-itertools, jsbeautifier, Flask-Caching, dataclass-wizard, pydantic). Actively maintained with recent releases.
License in practice
MIT license permits commercial and private use with minimal restrictions; attribution required.
Quickstart
pip install dash-extensions
from dash_extensions import enrich
from dash_extensions.enrich import ServersideOutputTransform
# Use transforms to enhance Dash callbacks and components
app = enrich.DashProxy(transforms=[ServersideOutputTransform()])
Requires Python 3.11 or later.
Verify before relying
- Whether version 2.0.0+ breaking changes affect existing Dash projects using earlier dash-extensions versions.
- Real-world performance gains from ServersideOutputTransform and BlockingCallbackTransform in typical applications.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — dash, more-itertools, jsbeautifier, Flask-Caching, dataclass-wizard, pydantic |
| Maintenance | actively maintained — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,705,028/month — #3,637 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dash_extensions-2.0.6-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
dash-tableProvides an interactive DataTable component for…
permissive · top 5,000 on PyPI
dash-daqProvides interactive data acquisition and…
permissive · top 15,000 on PyPI
dashDash is a Python framework for building…
permissive · top 5,000 on PyPI
dash-core-componentsProvides a suite of React components for…
permissive · top 5,000 on PyPI
dash-svgProvides SVG component primitives (Svg, G,…
permissive · top 15,000 on PyPI
dash-cytoscapeDash Cytoscape wraps Cytoscape.js to let you…
permissive · top 15,000 on PyPI
jupyter-dashJupyter Dash lets you develop and run Plotly…
permissive · top 15,000 on PyPI
dash-iconifyDash Iconify is a Dash component library that…
permissive · top 15,000 on PyPI
dash-html-componentsProvides vanilla HTML components for use in…
permissive · top 5,000 on PyPI
dash-mantine-componentsDash Mantine Components provides a library of…
permissive · top 15,000 on PyPI