npm.io
0.1.0 • Published 3 years ago

dash-chat-components

Licence
MIT
Version
0.1.0
Deps
0
Size
49 kB
Vulns
0
Weekly
0
Stars
5

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
  1. Create a new python environment:

    python -m venv venv
    . venv/bin/activate

    Note: venv\Scripts\activate for windows

  2. Install python dependencies:

    pip install -r requirements.txt
  3. Install npm packages:

    1. Optional: use nvm to manage node version:
      nvm install
      nvm use
    2. Install:
      npm install
  4. Build:

    npm run build
Component Code
Publish

If publish on npm:

npm build
npm publish
Justfile

Alternatively, use the provided just commands:

  1. Create a Python environment from previous step 1 and install:
    just install
  2. Build
    just build
  3. Publish
    just publish
  4. See all commands with just -l