# st-chat-plus
Streamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/osala-eng/st-chat-plus/main/examples/chatbot.py)
## Installation
Install `streamlit-chat-plus` with pip
```bash
pip install streamlit-chat-plus
```
usage, import the `message` function from `streamlit_chat_plus`
```py
import streamlit as st
from streamlit_chat_plus import message
message("My message")
message("Hello bot!", is_user=True) # align's the message to the right
### To use markdown in the message
message("Hello bot!", is_user=True, allow_html=True)
"""
This Enables markdown in the message and allows you to use html tags
By default this will open links in a new tab, to disable this set `open_links_externally` to False
"""
```
### Screenshot
![sample-page](https://github.com/osala-eng/st-chat-plus/assets/64925863/b61c75e9-1a3a-4388-9bf2-0bc534c8fb17)
authors - [@osala-eng](https://github.com/osala-eng) [@yashppawar](https://github.com/yashppawar) [@YashVardhan-AI](https://github.com/yashvardhan-ai)
Raw data
{
"_id": null,
"home_page": "https://github.com/osala-eng/st-chat-plus",
"name": "streamlit-chat-plus",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "chat streamlit streamlit-component",
"author": "Jashon Osala, Yash Pravin Pawar, Yash Vardhan Kapil",
"author_email": "jashonosala@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d9/eb/14ed759c460e977014c5220aa72cfb1ec31b76f198b225edacee496330c1/streamlit-chat-plus-0.0.0.3.tar.gz",
"platform": null,
"description": "# st-chat-plus\n\nStreamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/osala-eng/st-chat-plus/main/examples/chatbot.py)\n\n\n## Installation\n\nInstall `streamlit-chat-plus` with pip\n```bash\npip install streamlit-chat-plus \n```\n\nusage, import the `message` function from `streamlit_chat_plus`\n```py\nimport streamlit as st\nfrom streamlit_chat_plus import message\n\nmessage(\"My message\") \nmessage(\"Hello bot!\", is_user=True) # align's the message to the right\n\n### To use markdown in the message\nmessage(\"Hello bot!\", is_user=True, allow_html=True) \n\"\"\"\nThis Enables markdown in the message and allows you to use html tags\nBy default this will open links in a new tab, to disable this set `open_links_externally` to False\n\"\"\"\n```\n \n### Screenshot\n\n![sample-page](https://github.com/osala-eng/st-chat-plus/assets/64925863/b61c75e9-1a3a-4388-9bf2-0bc534c8fb17)\n\n\nauthors - [@osala-eng](https://github.com/osala-eng) [@yashppawar](https://github.com/yashppawar) [@YashVardhan-AI](https://github.com/yashvardhan-ai) \n",
"bugtrack_url": null,
"license": "",
"summary": "A streamlit component, to make chatbots",
"version": "0.0.0.3",
"project_urls": {
"Homepage": "https://github.com/osala-eng/st-chat-plus"
},
"split_keywords": [
"chat",
"streamlit",
"streamlit-component"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c074f63f9680023e106501dace2da5fab52205ba28cf6880c58c375178f1b219",
"md5": "ee511fd261cc2ade2f387071801620a2",
"sha256": "7f623eb7266a8dc05263eba3de621b8917bdcbca8d5ebe16dbef3d53c1af2cfe"
},
"downloads": -1,
"filename": "streamlit_chat_plus-0.0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee511fd261cc2ade2f387071801620a2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 1566498,
"upload_time": "2023-06-23T08:08:42",
"upload_time_iso_8601": "2023-06-23T08:08:42.618144Z",
"url": "https://files.pythonhosted.org/packages/c0/74/f63f9680023e106501dace2da5fab52205ba28cf6880c58c375178f1b219/streamlit_chat_plus-0.0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d9eb14ed759c460e977014c5220aa72cfb1ec31b76f198b225edacee496330c1",
"md5": "ec5612920bcec41a3888932d94ad19fb",
"sha256": "798c994c231b71d70f4c429d78ff90a390ad2d736920eeac7aa9452a72078476"
},
"downloads": -1,
"filename": "streamlit-chat-plus-0.0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "ec5612920bcec41a3888932d94ad19fb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 1547683,
"upload_time": "2023-06-23T08:08:44",
"upload_time_iso_8601": "2023-06-23T08:08:44.316906Z",
"url": "https://files.pythonhosted.org/packages/d9/eb/14ed759c460e977014c5220aa72cfb1ec31b76f198b225edacee496330c1/streamlit-chat-plus-0.0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-23 08:08:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "osala-eng",
"github_project": "st-chat-plus",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "streamlit-chat-plus"
}