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.8.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.8-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit-bordercontainer-0.0.8.tar.gz
Algorithm Hash digest
SHA256 4df0d1b70f4b1ff92ad92015ba265eec1f6fd3c0821bc06b49a7de29eb098b11
MD5 906c4b0e4b731973dca0a79d8f2888a3
BLAKE2b-256 1c0c2b816c2c35304e62f77064c515102a4ddb43b657fa5a2eb4725413f67889

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_bordercontainer-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 494d4268ac943834e1222c72f0e4916f1c395bc394f902a11c5189781245e204
MD5 34c75e345543d4b6b047fe823b843abb
BLAKE2b-256 ee1d669943a2c364262af1f70ec26d85f4d235bb1f0afcc4779742487718070e

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