streamlit-baseweb


Namestreamlit-baseweb JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/thomasbs17/streamlit-contributions/baseweb_components
SummaryA Streamlit implementation of the Base Web library.
upload_time2023-07-10 09:27:41
maintainer
docs_urlNone
authorThomas Bouamoud
requires_python>=3.6
licenseCopyright (c) 2023 Thomas Bouamoud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords python streamlit baseweb streamlit baseweb base-web base_web front end
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

```shell
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:

```python
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:
1. modal
2. buttons
3. button groups
4. navbar
5. tooltip
6. alerts
7. 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](https://github.com/thomasbs17/streamlit-contributions/tree/master/baseweb_components). 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](https://github.com/thomasbs17/streamlit-contributions/blob/master/baseweb_components/README.md) for more information.

## License
This package is licensed under the MIT License. See the [LICENSE file](https://github.com/thomasbs17/streamlit-contributions/blob/master/baseweb_components/LICENSE) for more information.

## Credits
Streamlit Baseweb is created and maintained by Thomas Bouamoud. 
It utilizes the Baseweb framework by [Uber](https://baseweb.design/).

## Contact
If you have any questions or inquiries, feel free to reach out to thomas.bouamoud@gmail.com.

## 👩‍💻 Happy Streamlit Baseweb coding! 👨‍💻

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/thomasbs17/streamlit-contributions/baseweb_components",
    "name": "streamlit-baseweb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "python,streamlit baseweb,streamlit,baseweb,base-web,base_web,front end",
    "author": "Thomas Bouamoud",
    "author_email": "Thomas Bouamoud <thomas.bouamoud@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e3/88/81c2faf9934145eeec5ad3bc64b342e3cf430e2a8765c449700718121b8c/streamlit_baseweb-0.1.2.tar.gz",
    "platform": null,
    "description": "# Streamlit Baseweb\r\n\r\nStreamlit 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.\r\n\r\n## Installation\r\n\r\nYou can install Streamlit Baseweb using pip:\r\n\r\n```shell\r\npip install streamlit-baseweb\r\n```\r\n\r\n## Usage\r\n\r\nTo 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:\r\n\r\n```python\r\nimport streamlit as st\r\nfrom streamlit_baseweb import base_web_modal, base_web_button\r\n\r\nst.title(\"Testing Streamlit Baseweb\")\r\nif base_web_button(size=\"large\", shape=\"pill\", kind=\"secondary\"):\r\n    base_web_modal(\r\n        title=\"This is a test modal\",\r\n        body=\"\"\"\r\n                Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium \r\n                doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae \r\n                vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, \r\n                sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est,\r\n    \"\"\",\r\n        key=\"modal\",\r\n    )\r\nif st.session_state.get(\"modal\"):\r\n    st.success(\"Confirmation received from modal\")\r\n\r\n```\r\n\r\nFor more details on available components and their usage, refer to the package documentation.\r\n\r\n## Roadmap\r\nElements will be integrated as per the below priority ranking:\r\n1. modal\r\n2. buttons\r\n3. button groups\r\n4. navbar\r\n5. tooltip\r\n6. alerts\r\n7. pop-over cards\r\n\r\nAdditional elements have not yet been prioritized \r\n\r\n## Contributing\r\nContributions to Streamlit Baseweb are welcome! If you find any issues or have suggestions for improvements, please open an issue on the [GitHub repository](https://github.com/thomasbs17/streamlit-contributions/tree/master/baseweb_components). If you'd like to contribute code, you can fork the repository, make your changes, and submit a pull request.\r\n\r\nBefore contributing, please review the [Contributing Guidelines](https://github.com/thomasbs17/streamlit-contributions/blob/master/baseweb_components/README.md) for more information.\r\n\r\n## License\r\nThis package is licensed under the MIT License. See the [LICENSE file](https://github.com/thomasbs17/streamlit-contributions/blob/master/baseweb_components/LICENSE) for more information.\r\n\r\n## Credits\r\nStreamlit Baseweb is created and maintained by Thomas Bouamoud. \r\nIt utilizes the Baseweb framework by [Uber](https://baseweb.design/).\r\n\r\n## Contact\r\nIf you have any questions or inquiries, feel free to reach out to thomas.bouamoud@gmail.com.\r\n\r\n## \ud83d\udc69\u200d\ud83d\udcbb Happy Streamlit Baseweb coding! \ud83d\udc68\u200d\ud83d\udcbb\r\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2023 Thomas Bouamoud  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A Streamlit implementation of the Base Web library.",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/thomasbs17/streamlit-contributions/tree/master/baseweb_components"
    },
    "split_keywords": [
        "python",
        "streamlit baseweb",
        "streamlit",
        "baseweb",
        "base-web",
        "base_web",
        "front end"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4c9d378f17d89ec6e4755e7d2c9329ccfbedb516be1622c25824ac133946a80",
                "md5": "006b3b037baf196d7d5ee26a3209a9d8",
                "sha256": "22798858261d853d41fa5c3139cc58ad2076d22d8f9a44f3fee0b1f41a73a1c6"
            },
            "downloads": -1,
            "filename": "streamlit_baseweb-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "006b3b037baf196d7d5ee26a3209a9d8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1158347,
            "upload_time": "2023-07-10T09:27:39",
            "upload_time_iso_8601": "2023-07-10T09:27:39.545740Z",
            "url": "https://files.pythonhosted.org/packages/f4/c9/d378f17d89ec6e4755e7d2c9329ccfbedb516be1622c25824ac133946a80/streamlit_baseweb-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e38881c2faf9934145eeec5ad3bc64b342e3cf430e2a8765c449700718121b8c",
                "md5": "32084e5783d3e35fe35f7fbcd533ed8c",
                "sha256": "4faa579d923adfd9e9f11895df2b0ab246ffc3f00e55ffb2ed3e8ee912c119af"
            },
            "downloads": -1,
            "filename": "streamlit_baseweb-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "32084e5783d3e35fe35f7fbcd533ed8c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 1145052,
            "upload_time": "2023-07-10T09:27:41",
            "upload_time_iso_8601": "2023-07-10T09:27:41.960978Z",
            "url": "https://files.pythonhosted.org/packages/e3/88/81c2faf9934145eeec5ad3bc64b342e3cf430e2a8765c449700718121b8c/streamlit_baseweb-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-10 09:27:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "thomasbs17",
    "github_project": "streamlit-contributions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "streamlit-baseweb"
}
        
Elapsed time: 0.09571s