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', or locating the first dash.Dash object that it can find otherwise.
To specify a different port, use the --port flag.
To explicitly specify the name of your dash.Dash app, use the --server-name flag.
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>
Changelog
- v0.0.6 Change CWD to script's folder, and also add that folder to the Python search path.
Metadata
Release files for plotlydash-tornado-cmd 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plotlydash-tornado-cmd-0.0.6.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotlydash_tornado_cmd-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / plotlydash-tornado-cmd-0.0.6.tar.gz
| Download URL | plotlydash-tornado-cmd-0.0.6.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af508a04b6a38e03dc9add58c019ce0407b01c9053a850bd4c6c6a049f64bfaf
|
|
BLAKE2b-256 checksum How to use checksums |
1cc7cb862656e1092658d1679d38227decd65a8d24d0199e342fab6390a3ff51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.6
|
Release files / plotlydash_tornado_cmd-0.0.6-py3-none-any.whl
| Download URL | plotlydash_tornado_cmd-0.0.6-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4d4bb490230178dbf3eb1fea0126300a697c3fdf6ff4708a3f4501e173814b5
|
|
BLAKE2b-256 checksum How to use checksums |
291c1b83ffb56adb76abe46df91439e9a613bba45e4612a4e6a7bbebca0b35bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.6
|