A module to run streamlit apps as local apps
Project description
Streamlit Runner
A simple way to run Streamlit app as a desktop app, using pywebview
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
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.2.tar.gz.
File metadata
- Download URL: streamlitrunner-0.1.2.tar.gz
- Upload date:
- Size: 193.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b124e68b27f99e2242f12a05ca54e3d3a7ba7f5bb95aa3fa3312e8308e8c6b15
|
|
| MD5 |
4a52c58cfc438b911e67e72c30a9b7fd
|
|
| BLAKE2b-256 |
cc38437a049daf6733da816f5e5c36fc915a911438027a0301f917f3209f4dac
|
File details
Details for the file streamlitrunner-0.1.2-py3-none-any.whl.
File metadata
- Download URL: streamlitrunner-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3bd1bb0b1b959c4f9f0ace47e3bf266a45f812e823e88a5a20a3406f37cf2b2
|
|
| MD5 |
cd6af4891048cc79d618939fd1360b24
|
|
| BLAKE2b-256 |
8d240f64c951910b64558614f22d40c4139823f040bd583745f887d91ce94ff4
|