Convert to Desktop or Mobile App#

Panel applications typically run in a web browser, backed by a Python server. However, you can also package Panel applications as standalone desktop or mobile applications using various frameworks. This allows you to distribute your application as a native executable that users can run without installing Python or managing dependencies.

This guide explores two popular approaches for creating desktop and mobile applications with Panel:

  • pywebview + PyInstaller: A lightweight solution for creating desktop applications with a native window wrapper

  • Toga + Briefcase: A comprehensive cross-platform solution for creating desktop and mobile applications

Both approaches embed a web server within the application and display your Panel app in a native window or webview.

pywebview + PyInstaller

Create lightweight desktop applications using pywebview and package them with PyInstaller.

Create Desktop Apps with pywebview
Toga + Briefcase

Create cross-platform desktop and mobile applications using Toga and Briefcase.

Create Cross-Platform Apps with Toga