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")
Buiding from source
Prerequisites
- nodejs >= 18.x
- yarn >= 1.22.x
- poetry >= 1.2.x
- python >= 3.8.x
Building
./build.sh
Publishing
poetry publish
License
This project is licensed under the MIT License - see the LICENSE file for details
Release files for st-chat-message 0.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| st_chat_message-0.3.8.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| st_chat_message-0.3.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.0 MB
Release files / st_chat_message-0.3.8.tar.gz
| Download URL | st_chat_message-0.3.8.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5761a2fde927299501230dc6f1f08ae81eeb7ab74531825f5e33bfba8a1bf8b5
|
|
BLAKE2b-256 checksum How to use checksums |
1dec9b56a67527b2c8e614f91d8d0c32a3dbc22bdb33b553ba3e15ca7085a01e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.4 Darwin/22.4.0
|
Release files / st_chat_message-0.3.8-py3-none-any.whl
| Download URL | st_chat_message-0.3.8-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a310ffe9aa8deeaab64e9d5a93da6213b89333b75cc86df7f54bef0cfd267bb9
|
|
BLAKE2b-256 checksum How to use checksums |
9d9d93402382b36f6e01706fd9a1c2e402a45c6762b7e27a172a98d73c349da9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.4 Darwin/22.4.0
|