Giter VIP home page Giter VIP logo

qdash's Introduction

qdash

AlyxDash

AlyxDash is a Python package that does something really useful.

Installation

You can install AlyxDash using pip:

pip install -e .

Usage

Here's an example of how to use AlyxDash:

import alyxdash

Do something with AlyxDash

pip install -r requirements.txt

==================

2 Insert a view path to /ui/main.py alyxdash/templates.py

자동화 되어 skip가능.

import dashPages.stock.view
body = dac.Body(
    dac.TabItems([
        #dashPages.home.view.content,
        dashPages.stock.view.content,
    ])
)

3. 사이드바

사이드바는 필요시 수동으로 추가.

3-1. Make sidebar to /ui/sidebar.py alyxdash/templates.py

sideMenu = 	dac.SidebarMenu(
    [ ...
        dac.SidebarHeader(children="etc."),
        dac.SidebarMenuItem(id='menu_stock', label='Stock plot',  icon='desktop'),
    ]
)

3-1. modify input, output callback /ui/sidebar_callbacks.py

자동화됨.

...
MENU_ITEMS = ( "basic_cards", "social_cards", "tab_cards",
               "basic_boxes", "value_boxes",
               "gallery_1", "gallery_2",
               "Stock")
def update_breadcrumbs( nClick1, nClick2, nClick3, nClick4, nClick5, nClick6, nClick7, nClick8,
    basic_cards, social_cards, tab_cards, basic_boxes, value_boxes, gallery_1, gallery_2, stock ):
....

4. add callbacks path to /routes.py

????

from dashPages.stock.callbacks import update_graph

dash-fasta

based rusnyder / fastapi-plotly-dash

How to add a dash page

example> add menu stock plot

1. Make a new folder(stock) and files

  • dashPages/stock
  • dashPages/stock/view.py
  • dashPages/stock/model.py
  • dashPages/stock/callbacks.py

qdash's People

Contributors

sixxchung avatar onesixx avatar

Watchers

 avatar

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.