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.1.0.tar.gz (1.5 MB 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.1.0-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: st_chat_message-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • 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.1.0.tar.gz
Algorithm Hash digest
SHA256 ac9f05a221c45696b50fca6b7c23e741f179a7a50cc0cc17eb10f5106586ca6d
MD5 2194c8b4852915d3eec11ca7501cabed
BLAKE2b-256 861258339a463ac2e448859d45b8697a5bdcf49957d29d2397a4b1a9e86be8f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: st_chat_message-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 640c12e9c831b03767dfeb94c94025cdd376272ecd108c14e383e59110bbc435
MD5 a646a0e858b87e9c06d123f449371057
BLAKE2b-256 454e81bc840194c5dc3907dbf412186f12b6d7deed6920f4e11b47876a7464e0

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