Stlite is a browser-based implementation of Streamlit that allows users to run apps on a web page without having to deploy to a Streamlit server. It utilizes Pyodide, a Python interpreter ported to Web Assembly, enabling the execution of Python code in the browser. With Stlite, users can leverage data science libraries and JavaScript integration, providing functionality that is not available in JavaScript or Python alone. The ability to deploy Streamlit apps directly on any website eliminates reliance on Streamlit Cloud or alternative hosting sites. This gives users the freedom to choose their preferred deployment method, rather than being limited to platforms like GitHub.
Signal | Change | 10y horizon | Driving force |
---|---|---|---|
stlite: Serverless Streamlit | Change from server-based to serverless | Streamlit apps can be run directly in the browser without a server | Flexibility and ease of deployment |
Pyodide Python interpreter | Python code can run in the browser | Python functionality available in web applications | A need for a more robust and versatile web development environment |
Porting Streamlit library to WASM | Streamlit apps can be run in the browser | Streamlit apps can be deployed on any website without relying on specific hosting sites | Greater control and flexibility over application deployment |
Deployment methods other than GitHub | Different ways to deploy Streamlit apps | Streamlit apps can be deployed using a variety of methods | Increasing options for developers to choose the most suitable deployment method |