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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8978ded1107bb9a028ee1ade56fdfe6c4bb178f75fbd2dd905d767e7e40cf87 |
|
MD5 | d86e1b576c03ea8664355101b381234f |
|
BLAKE2b-256 | cf6089407695b9119d76e74a9c0f440181f1e2d16db447744a4f421e2e19f63a |
Hashes for plotlydash_tornado_cmd-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d01bc5a072d62f8af5a28a551ce98cc4ee664a73459bf37c53634080810104f |
|
MD5 | 5b2c51445bbac9af5bbab1e41f265861 |
|
BLAKE2b-256 | cb465e4fca1b6c8989d60b9c6da71a7209071ad87634f24342bfe6a40d5df54c |