AlyxDash is a Python package that does something really useful.
You can install AlyxDash using pip:
pip install -e .
Here's an example of how to use AlyxDash:
import alyxdash
pip install -r requirements.txt
==================
자동화 되어 skip가능.
import dashPages.stock.view
body = dac.Body(
dac.TabItems([
#dashPages.home.view.content,
dashPages.stock.view.content,
])
)
사이드바는 필요시 수동으로 추가.
sideMenu = dac.SidebarMenu(
[ ...
dac.SidebarHeader(children="etc."),
dac.SidebarMenuItem(id='menu_stock', label='Stock plot', icon='desktop'),
]
)
자동화됨.
...
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 ):
....
????
from dashPages.stock.callbacks import update_graph
based rusnyder / fastapi-plotly-dash
example> add menu stock plot
- dashPages/stock
- dashPages/stock/view.py
- dashPages/stock/model.py
- dashPages/stock/callbacks.py