dasher: Generate interactive plotly dash dashboards in an instant
docs | |
---|---|
tests | |
package |
pip install dasher
You can also install the in-development version with:
pip install https://github.com/mfaafm/dasher/archive/master.zip
Creating a simple, interactive dashboard with a nice layout is as easy as this:
from dasher import Dasher
import dash_html_components as html
app = Dasher(__name__, title="My first dashboard")
@app.callback(
_name="My first callback",
_desc="Try out the widgets!",
_labels=["Greeting", "Place"],
text="Hello",
place=["World", "Universe"],
)
def my_callback(text, place):
msg = "{} {}!".format(text, place)
return [html.H1(msg)]
if __name__ == "__main__":
app.run_server(debug=True)
The resulting dashboard looks like this:
The code for this dashboard can be found in examples/readme_example.py
.
To view the full project documentation, visit https://dasher.readthedocs.io/.
Free software, MIT License
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows | set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox |