Streamlit Baseweb
Streamlit Baseweb is a Python package that provides custom components from the Baseweb framework, allowing you to enhance your Streamlit applications with beautiful and interactive UI elements.
Installation
You can install Streamlit Baseweb using pip:
pip install streamlit-baseweb
Usage
To use the Baseweb components in your Streamlit application, you need to import the necessary components from the 'streamlit_baseweb' module and utilize them in your code. Here's an example:
import streamlit as st
from streamlit_baseweb import base_web_modal, base_web_button
st.title("Testing Streamlit Baseweb")
if base_web_button(size="large", shape="pill", kind="secondary"):
base_web_modal(
title="This is a test modal",
body="""
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium
doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae
vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est,
""",
key="modal",
)
if st.session_state.get("modal"):
st.success("Confirmation received from modal")
For more details on available components and their usage, refer to the package documentation.
Roadmap
Elements will be integrated as per the below priority ranking:
- modal
- buttons
- button groups
- navbar
- tooltip
- alerts
- pop-over cards
Additional elements have not yet been prioritized
Contributing
Contributions to Streamlit Baseweb are welcome! If you find any issues or have suggestions for improvements, please open an issue on the GitHub repository. If you'd like to contribute code, you can fork the repository, make your changes, and submit a pull request.
Before contributing, please review the Contributing Guidelines for more information.
License
This package is licensed under the MIT License. See the LICENSE file for more information.
Credits
Streamlit Baseweb is created and maintained by Thomas Bouamoud. It utilizes the Baseweb framework by Uber.
Contact
If you have any questions or inquiries, feel free to reach out to thomas.bouamoud@gmail.com.
👩💻 Happy Streamlit Baseweb coding! 👨💻
Metadata
Release files for streamlit-baseweb 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streamlit_baseweb-0.1.2.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_baseweb-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.3 MB
Release files / streamlit_baseweb-0.1.2.tar.gz
| Download URL | streamlit_baseweb-0.1.2.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4faa579d923adfd9e9f11895df2b0ab246ffc3f00e55ffb2ed3e8ee912c119af
|
|
BLAKE2b-256 checksum How to use checksums |
e38881c2faf9934145eeec5ad3bc64b342e3cf430e2a8765c449700718121b8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / streamlit_baseweb-0.1.2-py3-none-any.whl
| Download URL | streamlit_baseweb-0.1.2-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22798858261d853d41fa5c3139cc58ad2076d22d8f9a44f3fee0b1f41a73a1c6
|
|
BLAKE2b-256 checksum How to use checksums |
f4c9d378f17d89ec6e4755e7d2c9329ccfbedb516be1622c25824ac133946a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|