A module to run streamlit apps as local apps
Project description
Streamlit Runner
A simple way to run Streamlit app as a desktop app
Installation
pip install streamlitrunner
Usage
Import streamlitrunner and call run()
# my_app.py
import streamlitrunner as sr
import streamlit as st
def main():
st.title("Hello World!")
st.write("This is a simple text example.")
if __name__ == '__main__':
sr.run()
main()
Now you can only call python my_app.py and it will work as a desktop app!
Note:
To prevent streamlit warnings, call run() before any st call, as above.
Documentation:
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
streamlitrunner-0.1.1.tar.gz
(169.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlitrunner-0.1.1.tar.gz.
File metadata
- Download URL: streamlitrunner-0.1.1.tar.gz
- Upload date:
- Size: 169.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37404443eb7a370f5e55c03b837509487c7628acdd19a177cd2e8593f3350c74
|
|
| MD5 |
c50a0cf2dd08680397ee350ee7f12759
|
|
| BLAKE2b-256 |
bbd9ee9992b6df5778b241e5aabf153504ed11e2b4544848eec366038c7daac6
|
File details
Details for the file streamlitrunner-0.1.1-py3-none-any.whl.
File metadata
- Download URL: streamlitrunner-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1385e9b6cb6553a6bd0a03a21b3be296f43b788e74077ff7219f7feb8aca7b42
|
|
| MD5 |
a5f7d5c1e8bc9b5ebe8790547182ed13
|
|
| BLAKE2b-256 |
6d4035089e881b4c75ac67789ba1cc5f269f3e4820e6c3ea592ac14f19b07c54
|