Beta: Please note that Streamlit support is a beta feature which is still undergoing final testing before its official release. Should you encounter any bugs, glitches, lack of functionality or other problems, please let us know so we can improve before public release.
Streamlit is an open-source Python library that makes it easy to build beautiful custom web-apps for machine learning and data science.
There are some Streamlit example apps available from the Streamlit developers:
To deploy one of these examples, first clone the repository:
git clone https://github.com/streamlit/<app-name>
Install any required dependencies. Test the app locally:
streamlit run <app-name>/app.py
Then deploy to RStudio Connect:
rsconnect deploy streamlit -n <saved server name> --entrypoint app.py <app-name>/
Due to a limitation in Streamlit, Streamlit apps cannot currently access
HTTP request headers. This includes the
which provides the accessing username and group membership information.
Python 2 Compatibility¶
- RStudio Connect requires Streamlit v56.1 or higher.
- As of version 0.56, Streamlit no longer supports Python 2.x. Streamlit apps must use Python 3.5 or higher.
- Streamlit versions starting with 0.57 require Bokeh 2.0 or higher.
- Streamlit versions prior to 0.57 require Bokeh 1.4.
Internet Explorer Compatibility¶
As of version 0.60, Streamlit is not compatible with Internet Explorer due to a known issue in Streamlit.