Skip to main content

A Streamlit component to display chat messages

Project description

ST-CHAT-MESSAGE

Description

This is a simple chat message component for streamlit. It is based on the streamlit-chat component, trying to be as compatible as possible, but it adding a few features:

  • Markdown support
  • LaTeX support
  • Tables

Installation

pip install st-chat-message

or

poetry add st-chat-message

Usage

import streamlit as st
from st_chat_message import message

message("Hello world!", is_user=True)
message("Hi")

img.png

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

st_chat_message-0.2.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

st_chat_message-0.2.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file st_chat_message-0.2.0.tar.gz.

File metadata

  • Download URL: st_chat_message-0.2.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.4 Darwin/22.4.0

File hashes

Hashes for st_chat_message-0.2.0.tar.gz
Algorithm Hash digest
SHA256 215b3d65fcaf0af7e6c325da62b20651e55634ec9dd1dcb46888906c0a4dc4f8
MD5 2da61e03608ebbc05e9ef0a1d2b6c2f9
BLAKE2b-256 a8b65fb9edb2161d2b4e0e0c80ff3eae323f2e6bbe7cc6f12f4c39bb696a4f96

See more details on using hashes here.

File details

Details for the file st_chat_message-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: st_chat_message-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.4 Darwin/22.4.0

File hashes

Hashes for st_chat_message-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bc05a1d895a80f3f5b56c22f5228f09cfd81395688a355ad1a50c2479bd5b26
MD5 02d8275670b8a58b7a84e208333f7c61
BLAKE2b-256 91779028765f6ba2dd4d1d506e383856be70ba127319a2ae134165a3fe79c1b1

See more details on using hashes here.

Supported by

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