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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit-bordercontainer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 9a34ec3b622e6a44752875bdb55e3f7dd1cda27da2557ef8a49a4876a5e15119
MD5 83ea0f223e856a311eaca69f6cad5e0a
BLAKE2b-256 19c85b1ecc14a0d1b1eedc1d52157a745923f3e7e29bb6d2a7c99443c99377c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_bordercontainer-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f27f569eaeb04bdb2ccc478df237dd2563b1e3266eda63ffc1ec171b724f3acc
MD5 cbf77ec52f7c59bae70dfd1e95f4f194
BLAKE2b-256 f10a05e451b124c7244f015d9a8360a98986479143d3bc6964b0702dc342b24d

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