Skip to main content

# dash-multipage A framework to simplify some of the challenges in setting up multipage dash pages

This can be used as is to reduce the boilerplate for a multipage app, or used as a template.

The basic structure is to create an instance of dash_multipage.MultiPageDashController.

This adds the layout and callbacks to the dash app passed in as an argument. It provides the nav buttons on top, and handles selecting the page based on the URL.

It expects that the app will load Bootstrap CSS for pretty navigation tabs.

Each page is an implementation of dash_multipage.ControllerBase. The implementation gives the link information, layout and callbacks.

To handle loading a page with specific selections, the from dash_multipage.URLArgs provides a way to generate links with the current input, dropdown, etc. selection preserved. This is not required, and you can generate a multipage app without this functionality.

As a minor note, there is also a set of classes that override dash’s Input, Output, and State. These are merely a convenience wrapper to allow them to be initialized directly from the components.

# Example An example app is found in example/

To run with flask: FLASK_DEBUG=1 FLASK_APP=example/multipage_app.py:SERVER flask run

Release files for dash-multipage 1.0.1

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

Source distribution (sdist)

Source distribution for dash-multipage 1.0.1
File Size Uploaded
dash_multipage-1.0.1.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dash-multipage 1.0.1
File Interpreter ABI Platform
dash_multipage-1.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 15.8 kB

Release files / dash_multipage-1.0.1.tar.gz

Download URL dash_multipage-1.0.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6afe301d534e41a8a26bdd4b1826b435f94fdd2e553db3a6ef0aea91f721b47c
BLAKE2b-256 checksum
How to use checksums
7cb0285bca07f1587954108bf834750b52368a64e13a7acebd1b582bec837c62
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/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1

Release files / dash_multipage-1.0.1-py2-none-any.whl

Download URL dash_multipage-1.0.1-py2-none-any.whl
Size 9.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
e37bc8c250c6e7c58107b11e947a0a03d9f696099fa555e9e1ea5d553cc5b466
BLAKE2b-256 checksum
How to use checksums
3a053bd93156ab5abf05ed177785bc9a8922bfcebc62e0bf3c34e5dd10d233ac
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/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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