Skip to main content

a dash extension for multipage apps

Project description

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 single page app

server = Flask(__name__)

app = Page1(name="home", server=server, url_base_pathname="/")

if __name__ == "__main__":
    server.run(host="0.0.0.0")

Create a multipage app (Method 1)

server = Flask(__name__)

index_app = IndexApp(name="home", server=server, url_base_pathname="/")
section_app = Section(name="section", server=server, url_base_pathname="/app1")

if __name__ == "__main__":
    server.run(host="0.0.0.0")

Create a multipage app (Method 2)

class MyApp(MultiPageApp):
    def get_routes(self):

        return [
            Route(IndexApp, "index", "/"),
            Route(Section, "home", "/app1")
        ]

server = Flask(__name__)

app = MyApp(name="", server=server, url_base_pathname="")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dash_multi-0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file dash_multi-0.3-py3-none-any.whl.

File metadata

  • Download URL: dash_multi-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for dash_multi-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0fd3d1d75758cc3c16eeebbee2b10ba98ef1ca272df2cc00b56f46c13485fcf0
MD5 ff5039ee284ce929c43cf053a7df9439
BLAKE2b-256 a14ab055bc003655303ea839464d8799516bb32b70fe00a9fb188648dbf69983

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page