/dash-extensions

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

Primary LanguagePythonMIT LicenseMIT

PyPI Latest Release codecov Language grade: Python Language grade: JavaScript 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. It can be divided in four main pillars,

  • 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 snippets module, which contains 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 target an Output by multiple callbacks via the MultiplexerTransform
  • Enabling logging from within Dash callbacks via the LogTransform
  • Improving app performance via the ServersideOutputTransform

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

NB: The 0.1.0 version introduces a number of breaking changes, see the changelog for details.