Giter Site home page Giter Site logo

kmader / easy_dash Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 66 KB

A library for making Dash apps easier to build and particularly focusing on common data collection use cases

License: Apache License 2.0

Python 84.91% Shell 2.48% Jupyter Notebook 12.62%
python widgets web-gui reactive-programming scientific-computing data-collection

easy_dash's Introduction

easy_dash

Binder Black CircleCI codecov This project is using Percy.io for visual regression testing. Language grade: Python

A simple wrapper library for making Dash apps easier to build

Overview

The idea is to make Dash easier to use for new developers, harder to make bugs with, and include a few common patterns and integrations like matplotlib support and interact from ipywidgets

Usage

Simple Names Automagic Callbacks

from easy_dash import EasyDash
import dash_html_components as html
import dash_core_components as dcc

app = EasyDash(__name__)
app.layout = html.Div(
    [
        dcc.Input(id="input", value="initial value"),
        html.Div(id="output1")
    ]
)

@app.auto_callback()
def update_output1(input):
    return input

Detailed Names Automagic Callbacks

from easy_dash import EasyDash
import dash_html_components as html
import dash_core_components as dcc

app = EasyDash(__name__)
app.layout = html.Div(
    [
        dcc.Input(id="input", value="initial value"),
        html.Div(id="output1")
    ]
)

@app.auto_callback()
def update_children_of_output1(value_of_input):
    return value_of_input

easy_dash's People

Contributors

kmader avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ecolstat

easy_dash's Issues

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.