用于构建反应式web应用程序的python框架。由Plotly开发。
dj-plotly-dash的Python项目详细描述
#DJ绘图划线
[![圆圈](https://img.shields.io/circleci/project/github/pikhovkin/dj-plotly-dash.svg)](https://circleci.com/gh/pikhovkin/dj-plotly-dash) [![pypi](https://img.shields.io/pypi/v/dj-plotly-dash.svg)](https://pypi.org/project/dj-plotly-dash/) 啊![pypi-python版本](https://img.shields.io/pypi/pyversions/dj-plotly-dash.svg) [![框架-django](https://img.shields.io/badge/framework-Django-0C3C26.svg)](https://www.djangoproject.com/) 啊![pypi-django版本](https://img.shields.io/pypi/djversions/dj-plotly-dash.svg) [![pypi-license](https://img.shields.io/pypi/l/dj-plotly-dash.svg)](./LICENSE)
####dash是一个用于构建分析性web应用程序的python框架。不需要javascript。
它是plotly[破折号]的叉(https://github.com/plotly/dash)。
下面是[django dash应用程序视图示例](https://gist.github.com/pikhovkin/6ec23d425b12b720651942fd6a5cdf13)(带烧瓶的原始示例](https://gist.github.com/chriddyp/3d2454905d8f01886d651f207e2419f0))将下拉列表与d3.js绘图关联。 当用户在下拉列表中选择一个值时,应用程序代码将动态地 从google finance将数据导出到pandas数据框中。
啊![短划线应用示例](https://user-images.githubusercontent.com/1280389/30086128-9bb4a28e-9267-11e7-8fe4-bbac7d53f2b0.gif)
dash应用程序代码具有声明性和反应性,这使得构建包含许多交互元素的复杂应用程序变得容易。这里有一个例子([原始的flask示例](https://gist.github.com/chriddyp/9b2b3e8a6c67697279d3724dce5dab3c))有5个输入、3个输出和交叉过滤。这个应用程序由160行代码组成,所有代码都是python。
啊![交叉筛选短划线应用程序](https://user-images.githubusercontent.com/1280389/30086123-97c58bde-9267-11e7-98a0-7f626de5199a.gif)
Dash使用[plotly.js](https://github.com/plotly/plotly.js)绘制图表。支持超过35种图表类型,包括地图。
仪表板不仅仅是仪表板。您可以完全控制应用程序的外观和感觉。这里有一个dash应用程序,它的样式类似于pdf报告。
若要了解有关Dash的更多信息,请阅读[详细公告信](https://medium.com/@plotlygraphs/introducing-dash-5ecf7191b503)或[使用用户指南跳转](https://plot.ly/dash)。
###用法
参见tests/django_project中的用法示例
###安装 `bash
$ 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
` ###文档 查看[Dash用户指南](https://plot.ly/dash)。它充满了例子、专业技巧和指导原则。 ###许可证 麻省理工学院推荐PyPI第三方库