Skip to main content

Build Status Documentation Status Downloads

Dash Multi(Page)

Wrapper on top of Dash to support multi page apps.

Running Examples

Run one of:

  • index.py
  • standalone_page.py
  • standalone_section.py

Illustrative Example

Create a multipage app

app = MultiPageApp(__name__)

# Configure routing
routes = [
    Route('', IndexPage()),             
    Route('/page1', Page1()),           
    Route('/page2', section2_routes),   # Section containing pages and further sections
]

app.set_routes(routes)

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

Create a single page app (@alexcjohnson style):

app = MultiPageApp(__name__)

page = Page()
page.layout = html.Div(header.children + [
        html.H3('Home'),
        dcc.Interval(id='interval-component', interval=1*1000, n_intervals=0),
        html.Div(id='display-value'),
    ])

@page.callback(Output('display-value', 'children'), [Input('interval-component', 'n_intervals')])
def my_callback(n_intervals):
    return f"Seconds since load: {n_intervals}."

# This will serve the page at "/"
app.set_routes(page)

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

Release files for dash-multi 0.2

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

Built distribution (wheel)

Table of built distributions (wheels) for dash-multi 0.2
File Interpreter ABI Platform
dash_multi-0.2-py3-none-any.whl Python 3 none any Details

Release files / dash_multi-0.2-py3-none-any.whl

Download URL dash_multi-0.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f2b9c35ca869f96775684c426530a56da56ed9deef52a5c3955e9d97daaa31c
BLAKE2b-256 checksum
How to use checksums
7dd3a96c22b130122fddb2e6a475bdf3535c18cbb0f826c17fc465a97a7548e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

0.3

1 release file

This release

0.2 This release

1 release file

0.1

1 release file

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