Skip to main content

a box which can set style easily

Project description

streamlit-bordercontainer

a box which can set style easily

Installation instructions

pip install streamlit-bordercontainer

Usage instructions

import streamlit as st

from st_bordercontainer import st_bordercontainer

chatlist = [
      {
        "question": {
          "type": "img",
          "content":
            "https://static.openxlab.org.cn/landmarks/pc/footerbanner.png",
        },

        "user": "user"
      },
      {
        "response": {
          "type": "text",
          "content":
            "ou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like this",
        },
        "robot": "robot1"
      },
      {
        "response": {
          "type": "img",
          "content":
            "https://static.openxlab.org.cn/landmarks/pc/footerbanner.png",
        },

        "robot": "robot2"
      },
      {
        "question": {
          "type": "text",
          "content":
            "ou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like thisou'll most likely want to pass some data back to Python like this",
        },
        "user": "user2"
      }
]
value = st_bordercontainer(chatlist = chatlist,height=300)

st.write(value)

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

streamlit-bordercontainer-0.0.7.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

streamlit_bordercontainer-0.0.7-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file streamlit-bordercontainer-0.0.7.tar.gz.

File metadata

File hashes

Hashes for streamlit-bordercontainer-0.0.7.tar.gz
Algorithm Hash digest
SHA256 55fec1b7cfbf6c51146b6381c1e3e6bc7e015c7b5f066c15d00151f1f6f74604
MD5 78ad19f2dd702e32b78f64fd4c751c6b
BLAKE2b-256 3405f243535c1bd8cb535e080e179ddb0a97142baed13f11ab3ef698992e81cf

See more details on using hashes here.

File details

Details for the file streamlit_bordercontainer-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_bordercontainer-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7ad5d65ef9733953e15db726ba27bd6509981953a520382c4091564895ba17
MD5 6ca0ec7e7f54155b9479180bd72c29d2
BLAKE2b-256 e4c9f4e016c16cd6d86bde8a871bc798a799f4409406a11e28286f84f61afd5a

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