Giter Club home page Giter Club logo

dj-plotly-dash's Introduction

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

dj-plotly-dash's People

Contributors

pikhovkin avatar pyup-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dj-plotly-dash's Issues

Is every view invocation starting a new dash server?

Hi I am not sure whether to ask the question here, but could not find a better place. I wondered, Is every view invocation starting a new dash server? If so this would mean that the amount of running dash servers increases over time which is not desirable I think. I could not deduct it from the source code whether this happens. All I could see was that with basic view dash = Dash() seems to start a new Dash server. I am not sure, does this mean it is started only once for every View I define, because it is a class attribute? Or is it starting every time the view is requested?

module name collision

I'm impressed by your great work.
But unfortunately, it is difficult to allow original dash and this dj-plotly-dash to coexist due to module name collision.
I would highly appreciate if you could change the module name.

同学,您这个项目引入了86个开源组件,存在4个漏洞,辛苦升级一下

检测到 pikhovkin/dj-plotly-dash 一共引入了86个开源组件,存在4个漏洞

漏洞标题:semver-regex 安全漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2021-3795
漏洞描述:semver-regex是用于匹配semver版本的正则表达式。
semver-regex存在安全漏洞,该漏洞源于semver-regex容易受到低效正则表达式复杂性的影响。
影响范围:(∞, 3.1.3)
最小修复版本:3.1.3
缺陷组件引入路径:dj-plotly-dash@->[email protected]>[email protected]>[email protected]

另外还有4个漏洞,详细报告:https://mofeisec.com/jr?p=aeda02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.