Command line wrapper to run a Bokeh script/folder at the root URL
Project description
bokeh-root-cmd
Command line wrapper to run a named Bokeh script/folder as root URL.
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 bokeh-root-cmd
The file to start is specified on the command line, for example:
bokeh-root-cmd ~/Dev/mybokehscript.py
By default the server will listen on port 8888
To specify a different port, use the --port flag.
bokeh-root-cmd --port=8888 ~/Dev/mybokehscript.py
To run directly in python: python -m bokeh_root_cmd.main <rest of command line>
Other command line args
--allow-websocket-origin
--debug
--ip
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
File details
Details for the file bokeh-root-cmd-0.0.2.tar.gz
.
File metadata
- Download URL: bokeh-root-cmd-0.0.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 855a02eb9840016f2011556565a8a19ce57b057809e9d4c59e210d9f63d9294b |
|
MD5 | df0a1cddb5963abfb6750d594687bf7a |
|
BLAKE2b-256 | fb32ab606d4f20ba05bc4202fb47309f4df020172e40d41198fb8068b1695b2f |
File details
Details for the file bokeh_root_cmd-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: bokeh_root_cmd-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f880fae46a74f7bf129efad024d340be73cce5b203572d0be37580e2093a9765 |
|
MD5 | e219affb12c7ee9b0c0dd0acc0704871 |
|
BLAKE2b-256 | 7e6d3267dd382159c9a24ba111284d20750cc5ed2c6b6bd970cdf4e6f309c54d |