dash-chat-components
v0.1.0
Published
Chat components for Plotly Dash
Downloads
5
Readme
Dash Chat Components
dash_chat_components is a library of chat components for Plotly Dash, that makes it easier to build conversational apps.
Installation
pip install dash_chat_components
Development
Getting Started
Create a new python environment:
python -m venv venv . venv/bin/activate
Note: venv\Scripts\activate for windows
Install python dependencies:
pip install -r requirements.txt
Install npm packages:
- Optional: use nvm to manage node version:
nvm install nvm use
- Install:
npm install
- Optional: use nvm to manage node version:
Build:
npm run build
Component Code
Publish
If publish on npm:
npm build
npm publish
Justfile
Alternatively, use the provided just commands:
- Create a Python environment from previous step 1 and install:
just install
- Build
just build
- Publish
just publish
- See all commands with
just -l