Dash Extensions

2.0.5 · active · verified Sat Apr 11

The `dash-extensions` package is a comprehensive collection of utility functions, syntax extensions, and custom components designed to enhance the Plotly Dash development experience. It provides features like server-side caching, enhanced callbacks (e.g., blocking, multiplexing, server-side outputs), JavaScript interoperability, and enriched Dash components. Currently at version 2.0.5, the library maintains an active and regular release cadence, with multiple patch and major version updates throughout the year to introduce new features and address breaking changes in underlying libraries like Dash.

Warnings

Install

Imports

Quickstart

This minimal example demonstrates how to create a basic Dash application using `DashProxy` from `dash-extensions.enrich` and incorporate a custom `Lottie` component for animated visuals. The `Lottie` component fetches an animation from a URL and displays it, showcasing easy integration of extended functionalities.

import dash_html_components as html # Kept for general compatibility 
from dash_extensions import Lottie
from dash_extensions.enrich import DashProxy

app = DashProxy()

app.layout = html.Div([ 
    html.H1("Dash-Extensions Lottie Example"),
    Lottie(
        options=dict(
            loop=True,
            autoplay=True,
            style=dict(width="25%", margin="auto"),
        ),
        url="https://assets6.lottiefiles.com/packages/lf20_rwwvwgka.json",
    )
])

if __name__ == "__main__":
    app.run_server(debug=True)

view raw JSON →