Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions run-interactive-apps.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ Positron provides a simplified method for running interactive apps via the **Pla

Currently, Positron supports the following Python app frameworks:

- Dash
- FastAPI
- Flask
- Gradio
- Shiny
- Streamlit
- [Dash](https://dash.plotly.com/)
- [FastAPI](https://fastapi.tiangolo.com/)
- [Flask](https://flask.palletsprojects.com/en/stable/)
- [Gradio](https://www.gradio.app/)
- [Shiny](https://shiny.posit.co/py/)
- [Streamlit](https://streamlit.io/)


## Running an interactive app

Expand All @@ -25,9 +26,12 @@ Currently, Positron supports the following Python app frameworks:
![Positron App Launcher Play button](images/run-app-play-button.png)

Then, Positron runs the app in a dedicated **Terminal** tab and opens the app URL in the **Viewer** pane.
If your application does not automatically open in the Viewer, check that the settings [`python.terminal.shellIntegration.enabled`](positron://settings/python.terminal.shellIntegration.enabled) and [`terminal.integrated.shellIntegration.enabled`](positron://settings/terminal.integrated.shellIntegration.enabled) are enabled.

![A Streamlit app in the Positron Viewer](images/run-app-streamlit.png)

To stop the app, select the **Terminal** tab running the application and use the trash can icon to delete the **Terminal** or press <kbd>Ctrl</kbd> + <kbd>C</kbd> to stop the process.

## Debugging an interactive app

1. Open the `.py` file of a supported app framework.
Expand Down