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:
Metadata
Release files for streamlitrunner 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 | |
|---|---|---|---|
| streamlitrunner-0.1.2.tar.gz | 193.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlitrunner-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 202.3 kB
Release files / streamlitrunner-0.1.2.tar.gz
| Download URL | streamlitrunner-0.1.2.tar.gz |
|---|---|
| Size | 193.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b124e68b27f99e2242f12a05ca54e3d3a7ba7f5bb95aa3fa3312e8308e8c6b15
|
|
BLAKE2b-256 checksum How to use checksums |
cc38437a049daf6733da816f5e5c36fc915a911438027a0301f917f3209f4dac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / streamlitrunner-0.1.2-py3-none-any.whl
| Download URL | streamlitrunner-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3bd1bb0b1b959c4f9f0ace47e3bf266a45f812e823e88a5a20a3406f37cf2b2
|
|
BLAKE2b-256 checksum How to use checksums |
8d240f64c951910b64558614f22d40c4139823f040bd583745f887d91ce94ff4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|