Overview

dasher: Generate interactive plotly dash dashboards in an instant

docs Documentation Status
tests
Travis-CI Build Status Requirements Status

package
PyPI Package latest release PyPI Wheel Supported versions Supported implementations
Commits since latest release

Installation

pip install dasher

You can also install the in-development version with:

pip install https://github.com/mfaafm/dasher/archive/master.zip

First steps

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:

hello world example

The code for this dashboard can be found in examples/readme_example.py.

Documentation

To view the full project documentation, visit https://dasher.readthedocs.io/.

License

Free software, MIT License

Development

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