Skip to main content

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

bokeh-root-cmd-0.0.5.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

bokeh_root_cmd-0.0.5-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page