https://github.com/ploomber/dash-mui
MUI for Dash
https://github.com/ploomber/dash-mui
plotly-dash
Last synced: 11 months ago
JSON representation
MUI for Dash
- Host: GitHub
- URL: https://github.com/ploomber/dash-mui
- Owner: ploomber
- License: other
- Created: 2024-09-21T17:27:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-06T21:38:44.000Z (over 1 year ago)
- Last Synced: 2025-04-09T09:51:48.141Z (12 months ago)
- Topics: plotly-dash
- Language: JavaScript
- Homepage: https://dash-mui.ploomberapp.io
- Size: 204 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dash - Dash MUI - Material UI components (Component Libraries)
README
Dash MUI
Beautiful Dash apps without design skills.
Made by Ploomber with ❤️
Deploy your Dash application on Ploomber.io for free.
https://github.com/user-attachments/assets/15492ec4-a04f-4a76-96fa-50b707898a2e
Live demo: [dash-mui.ploomberapp.io](https://dash-mui.ploomberapp.io/)
## Installation
```sh
pip install dash-mui-ploomber
```
## Demo
```sh
cd demo
pip install -r requirements.txt
python app.py
```
Open: http://localhost:8050
## Developer documentation
## Setup
```sh
# create env
conda create --name dash-mui python=3.12 nodejs=22 -c conda-forge -y
conda activate dash-mui
# run this in the dash-mui directory, where the setup.py file is
pip install -e .
pip install -r requirements.txt -r tests/requirements.txt
npm install
npm run build
# you can test changes using the demo
pip install -r demo/requirements.txt
python demo/app.py
```
## Release
You can see the releases [here](https://pypi.org/project/dash-mui-ploomber/#history)
First, edit `version` in `package.json`, also edit `demo/requirements.txt` to ensure the demo uses the latest version.
```sh
conda activate dash-mui
# generate deployment artifact
npm run build
rm -rf dist
python setup.py sdist bdist_wheel
ls dist
# test deployment artifact by installing it in a new env
pip install dash dist/dash_mui_ploomber-0.0.1.tar.gz
python demo/app.py
# upload
pip install twine
twine upload dist/*
# clean up
rm -rf dist
```
Deploy demo:
```sh
cd demo
pip install ploomber-cloud
ploomber-cloud deploy
```