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 year ago
JSON representation
Open dash app in a browser only if the port is not currently used.
- Host: GitHub
- URL: https://github.com/fx-kirin/open_dash_app
- Owner: fx-kirin
- License: mit
- Created: 2020-12-14T03:34:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-14T04:51:00.000Z (over 5 years ago)
- Last Synced: 2025-03-05T16:11:20.860Z (over 1 year ago)
- Topics: dash, plotly, python
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# open_dash_app
[](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](fx.kirin@gmail.com).