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.3.tar.gz
.
File metadata
- Download URL: bokeh-root-cmd-0.0.3.tar.gz
- Upload date:
- Size: 6.6 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 | 8393a36c5aed2382a056acd6a003543f75f579faa71875c93c2adab6c7c92b61 |
|
MD5 | 67cf78d6337234676e7bd1479507ae3c |
|
BLAKE2b-256 | eea29bcec96e902b4935a35c0c8ccab9ba04f1b50ecbfe17eb7cabf40ec7b752 |
File details
Details for the file bokeh_root_cmd-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: bokeh_root_cmd-0.0.3-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 | c3fd5baac06530a7149a6bfe9c41a42849556bcef17fa655d64c56e439566b6a |
|
MD5 | ed842ba18f349206539851bfdb700277 |
|
BLAKE2b-256 | cac83e2bc7ca4e7f0205bac968bd14855620a62fcf3b777462d8c66dc85aef74 |