Extensions for Plotly Dash.


License
MIT
Install
pip install dash-extensions==2.0.4

Documentation

PyPI Latest Release codecov Testing CodeQL

The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience. Here is a brief overview,

  • The enrich module, which contains various enriched versions of Dash components
  • A number of custom components, e.g. the Websocket component, which enables real-time communication and push notifications
  • The javascript module, which contains functionality to ease the interplay between Dash and JavaScript
  • The logging module, which makes it a breeze to route logs to your Dash UI
  • The events module, which facilitates event flows in Dash
  • The pages module, which extends the functionality of Dash Pages
  • The snippets/utils/validation/streaming modules, which contain a collection of utility functions (documentation limited to source code comments)

The enrich module enables a number of transforms that add functionality and/or syntactic sugar to Dash. Examples include

  • Making it possible to avoid invoking a callback if it is already running via the BlockingCallbackTransform
  • Improving app performance via the ServersideOutputTransform
  • Automated serialization/deserialization of Pydantic models via the BaseModelTransform

to name a few. To enable interactivity, the documentation has been moved to a separate page.

NB: The 2.0.0 version introduces a number of breaking changes, see documentation for details.

Donation

paypal