Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fx-kirin/open_dash_app
- Owner: fx-kirin
- License: mit
- Created: 2020-12-14T03:34:24.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-14T04:51:00.000Z (about 4 years ago)
- Last Synced: 2024-11-10T19:06:22.758Z (2 months 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
[![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]).