Skip to main content

Chat components for Plotly Dash

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_chat_components-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

dash_chat_components-0.1.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file dash_chat_components-0.1.0.tar.gz.

File metadata

  • Download URL: dash_chat_components-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dash_chat_components-0.1.0.tar.gz
Algorithm Hash digest
SHA256 221822b2e7d7725441ad27445041c80af2812535a9c20b599b5c707a2971eedc
MD5 e2c99bd288fba375b0323dd995fdad56
BLAKE2b-256 a4c799d3a2e479e8c3f7d2823a28205f7b38112c37fde018aef32095f7c7de5c

See more details on using hashes here.

File details

Details for the file dash_chat_components-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dash_chat_components-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43e49bcff0ec86d7090afab52a7a4e20bbcf96df705f7c1ca1a3d0b48d35e2b2
MD5 c773a24f8f1fb9268f18f6a92ac7bb65
BLAKE2b-256 e0191bd06415b2b09c26142269d13c99c8504244ed8738e288154e8aa7412f79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page