Look up a Streamlit command in your terminal, or open the Streamlit docs in your default browser.

Python
streamlit docs <command>

<command> (Optional): The name of a public Streamlit command, such as st.number_input. You can include or omit the st. (or streamlit.) prefix, and you can reference namespace members like st.column_config.NumberColumn.

  • If not provided: Streamlit opens the docs in your default browser.
  • If provided: Streamlit prints the signature and docstring of the command in your terminal.
  • Open the Streamlit docs in your default browser:

    Terminal
    streamlit docs
    
  • Print the signature and docstring of st.number_input:

    Terminal
    streamlit docs st.number_input
    
forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.