Command line wrapper to run a named Plotly Dash script inside a Tornado server
Project description
plotlydash-tornado-cmd
Command line wrapper to run a named Plotly Dash script inside a Tornado server.
This project is used in ContainDS Dashboards, which is a user-friendly way to launch Jupyter notebooks as shareable dashboards inside JupyterHub. Also works with Streamlit and other visualization frameworks.
Install and Run
Install using pip.
pip install plotlydash-tornado-cmd
The file to start is specified on the command line, for example:
plotlydash-tornado-cmd ~/Dev/mydashscript.py
By default the server will listen on port 8888, importing the Dash app named 'app'. This is equivalent to:
plotlydash-tornado-cmd --server-name=app --port=8888 ~/Dev/mydashscript.py
To run directly in python: python -m plotlydash_tornado_cmd.main <rest of command line>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for plotlydash-tornado-cmd-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b356fcfb9c642d51c95ff54d13bccfb4348f4bf7005d23301516cd10ffce6b0 |
|
MD5 | 2ebf68319849788479f2ea6c9f730351 |
|
BLAKE2b-256 | f3935ca66fe2d97fe07e4475e569471083d11080a74f4249843e75c695df661d |
Hashes for plotlydash_tornado_cmd-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17216ca9496b94667226038836dee7351f03100147d9768fb6d1f4c2fe6bbf82 |
|
MD5 | e5edbb121758c81bba0804f83486d29a |
|
BLAKE2b-256 | 63a339f034176fa13e07cfaafc8d0dadc5ee71bd80668f9d815724ab7e4a86be |