Skip to main content

A Python framework for building reactive web-apps. Developed by Plotly.

Project description

dj-plotly-dash

CircleCI PyPI PyPI - Python Version framework - Django PyPI - Django Version PyPI - License

Dash is a Python framework for building analytical web applications. No JavaScript required.

It's fork of Plotly Dash.

Here’s a example of view of Django Dash App (original example with Flask) that ties a Dropdown to a D3.js Plotly Graph. As the user selects a value in the Dropdown, the application code dynamically exports data from Google Finance into a Pandas DataFrame.

Sample Dash App

Dash app code is declarative and reactive, which makes it easy to build complex apps that contain many interactive elements. Here’s an example (original example with Flask) with 5 inputs, 3 outputs, and cross filtering. This app was composed in just 160 lines of code, all of which were Python.

crossfiltering dash app

Dash uses Plotly.js for charting. Over 35 chart types are supported, including maps.

Dash isn't just for dashboards. You have full control over the look and feel of your applications. Here's a Dash app that's styled to look like a PDF report.

To learn more about Dash, read the extensive announcement letter or jump in with the user guide.

Usage

See examples of usage in tests/django_project

Installation

$ pip install dj-plotly-dash[all]
$ pip install "dash_core_components>=0.40.2" --no-deps
$ pip install "dash_html_components>=0.14.0" --no-deps

Documentation

View the Dash User Guide. It's chock-full of examples, pro tips, and guiding principles.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dj-plotly-dash-0.18.1.tar.gz (68.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page