chat-streamlit


Namechat-streamlit JSON
Version 0.1.5 PyPI version JSON
download
home_page
SummaryA streamlit component, to make demo chatbots
upload_time2023-06-23 18:08:33
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords chat streamlit streamlit-component
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Chat-Streamlit

Streamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/ai-yash/st-chat/main/examples/chatbot.py)

## Installation

Install `chat-streamlit`

```bash
pip install chat-streamlit
rye add chat-streamlit
conda install chat-streamlit
```

## Usages

import the `message` function from `chat-streamlit`

```py
import streamlit as st
from chat_streamlit import message

message("My message")
message("Hello bot!", is_user=True)  # align's the message to the right
```

# Build

```bash
pip installl -r requirements-dev.lock
python -m build --no-isolation
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "chat-streamlit",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "chat,streamlit,streamlit-component",
    "author": "",
    "author_email": "seonglae <sungle3737@gmail.com>",
    "download_url": "",
    "platform": null,
    "description": "# Chat-Streamlit\n\nStreamlit Component, for a Chat-bot UI, [example app](https://share.streamlit.io/ai-yash/st-chat/main/examples/chatbot.py)\n\n## Installation\n\nInstall `chat-streamlit`\n\n```bash\npip install chat-streamlit\nrye add chat-streamlit\nconda install chat-streamlit\n```\n\n## Usages\n\nimport the `message` function from `chat-streamlit`\n\n```py\nimport streamlit as st\nfrom chat_streamlit import message\n\nmessage(\"My message\")\nmessage(\"Hello bot!\", is_user=True)  # align's the message to the right\n```\n\n# Build\n\n```bash\npip installl -r requirements-dev.lock\npython -m build --no-isolation\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A streamlit component, to make demo chatbots",
    "version": "0.1.5",
    "project_urls": null,
    "split_keywords": [
        "chat",
        "streamlit",
        "streamlit-component"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c0d176629a3a8bc66373925c37ba064be38b8af5744deab54447c925a63add92",
                "md5": "adb3b96aafde01f66378c88414ad17a3",
                "sha256": "ad19a4cc311ce6c04d3ca9fdc5b2461122bd81f00c98f3a19a3a30ca27ece15f"
            },
            "downloads": -1,
            "filename": "chat_streamlit-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "adb3b96aafde01f66378c88414ad17a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 942512,
            "upload_time": "2023-06-23T18:08:33",
            "upload_time_iso_8601": "2023-06-23T18:08:33.710856Z",
            "url": "https://files.pythonhosted.org/packages/c0/d1/76629a3a8bc66373925c37ba064be38b8af5744deab54447c925a63add92/chat_streamlit-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-23 18:08:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "chat-streamlit"
}
        
Elapsed time: 0.07943s