Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fx-kirin/open_dash_app

Open dash app in a browser only if the port is not currently used.
https://github.com/fx-kirin/open_dash_app

dash plotly python

Last synced: about 1 month ago
JSON representation

Open dash app in a browser only if the port is not currently used.

Awesome Lists containing this project

README

        

# open_dash_app

[![Latest PyPI version](https://img.shields.io/pypi/v/package_name.svg)](https://pypi.python.org/pypi/open_dash_app)

Open dash app in a browser only if the port is not currently used.

This will prevent to open a lot of pages if you are using debug option of Plotly Dash app. Normaly, when you using `webbrowser` library to open dash url on startup of Dash app, the url will be opened everytime you save the python file.

## Usage

``` python
import open_dash_app

...

if __name__ == "__main__":
open_dash_app.open_browser_for_local_dash_app(5050)
app.run_server(port=5050, debug=True)
```

## Installation

``` sh
pip install open_dash_app
```

### Requirements

## Compatibility

## Licence

## Authors

open_dash_app was written by [fx-kirin]([email protected]).