Skip to main content

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', 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>

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

plotlydash-tornado-cmd-0.0.4.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

plotlydash_tornado_cmd-0.0.4-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file plotlydash-tornado-cmd-0.0.4.tar.gz.

File metadata

  • Download URL: plotlydash-tornado-cmd-0.0.4.tar.gz
  • Upload date:
  • Size: 7.0 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

Hashes for plotlydash-tornado-cmd-0.0.4.tar.gz
Algorithm Hash digest
SHA256 93bd89461435ae0ce6ea424e66903d400b7c7ce4428ad640a0a6121254e88275
MD5 0f28f275e4b2e47010685ee20825563b
BLAKE2b-256 f8df7a7ba7a18bca445fb1b54cc957817ccdb820cf1b1babdecfab0bd86c68a6

See more details on using hashes here.

File details

Details for the file plotlydash_tornado_cmd-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: plotlydash_tornado_cmd-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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

Hashes for plotlydash_tornado_cmd-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6b30de05fdfe4fcb2266d245922cb6c4cb27d782e17d81428a595e73f5d741b6
MD5 cc01e2282572cef9b54ed421bef49d28
BLAKE2b-256 6183f35dcf95f452dce57d4b552ef09c05082565349b1a4a9fc4652796f82cee

See more details on using hashes here.

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