Streamlit component that styles user lists.
Project description
chat-user
Streamlit component that allows you to do X
Installation instructions
pip install chat-user
Usage instructions
import streamlit as st
from chat_user import chat_user
user1 = {
"id": 1,
"name": "user1",
"socket": "",
"admin": False,
}
user2 = {
"id": 2,
"name": "user2",
"socket": "",
"admin": False,
}
u1 = chat_user(user1, True)
print(u1)
u2 = chat_user(user2, False)
print(u2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chat-user-1.0.0.tar.gz
(400.7 kB
view details)
Built Distribution
chat_user-1.0.0-py3-none-any.whl
(779.3 kB
view details)
File details
Details for the file chat-user-1.0.0.tar.gz
.
File metadata
- Download URL: chat-user-1.0.0.tar.gz
- Upload date:
- Size: 400.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1814595c167bdd308ba16517ba2c33b6d8f1376983ce97697daa6ced443fa353 |
|
MD5 | dce6b37ecf5da52fd20de63a5fb82814 |
|
BLAKE2b-256 | 1e75fbb33e20f8015108e4200df41a75d881386373808a8eee827f6f0df2ede2 |
File details
Details for the file chat_user-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: chat_user-1.0.0-py3-none-any.whl
- Upload date:
- Size: 779.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5db3e50f33df45c2edf8aaaef4533b880346812cbeb7521e64aa9f1084ca031 |
|
MD5 | 6223db20323e4fcb182de5d7074d05b0 |
|
BLAKE2b-256 | 3a6f53dfedd6cfa112b6c672fe8ca093eef8921ae869626110c78dec599dde19 |