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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c62d2871e474959c2bd78f16330d01ea3c0ed0ee8d474b748a1deb1e1f7d34c |
|
MD5 | 266c1e6ee5bcb9e69f79cad68299f06e |
|
BLAKE2b-256 | b4ecc8154ad6cffb9dd48e61b04d15b535a7f7691b5858fd34dc2443d8f9e580 |
Hashes for plotlydash_tornado_cmd-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0e4922d5861dc0356d4347f570fb648b5d1ec43ae10a64a8462e0721cdae621 |
|
MD5 | 4ff6728cc72855c950db5909271da587 |
|
BLAKE2b-256 | d616f00b33ae6f26def98ac84226fd5f8eb129dd1e35f6b883b63e6713e73fd2 |