项目作者: pikhovkin

项目描述 :
Analytical Django Apps. No JavaScript Required.
高级语言: JavaScript
项目地址: git://github.com/pikhovkin/dj-plotly-dash.git
创建时间: 2018-09-30T20:18:22Z
项目社区:https://github.com/pikhovkin/dj-plotly-dash

开源协议:MIT License

下载


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 @plotlygraphs/introducing-dash-5ecf7191b503">extensive announcement letter or jump in with the user guide.

Usage

See examples of usage in tests/django_project

Installation

  1. $ pip install dj-plotly-dash[all]
  2. $ pip install "dash_core_components>=0.40.2" --no-deps
  3. $ 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