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="")
Release files for dash-multi 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dash_multi-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / dash_multi-0.3-py3-none-any.whl
| Download URL | dash_multi-0.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fd3d1d75758cc3c16eeebbee2b10ba98ef1ca272df2cc00b56f46c13485fcf0
|
|
BLAKE2b-256 checksum How to use checksums |
a14ab055bc003655303ea839464d8799516bb32b70fe00a9fb188648dbf69983
|
| 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
|