Cheat Sheet
This is a summary of the docs, as of Streamlit v1.2.0.
Install & Import
```python
streamlit run first_app.py
Import convention
import streamlit as st
```
Command line
python
$ streamlit --help
$ streamlit run your_script.py
$ streamlit hello
$ streamlit config show
$ streamlit cache clear
$ streamlit docs
$ streamlit --version
Pre-release features
python
pip uninstall streamlit
pip install streamlit-nightly --upgrade
Learn more about beta and experimental features
Magic commands
```python
Magic commands implicitly
call st.write().
'This is some Markdown*'
my_variable
'dataframe:', my_data_frame
```
Display text
python
st.text('Fixed width text')
st.markdown('_Markdown_') # see *
st.latex(r''' e^{i\pi} + 1 = 0 ''')
st.write('Most objects') # df, err, func, keras!
st.write(['st', 'is <', 3]) # see *
