A Python native, OS native GUI toolkit.


Keywords
gui, widget, cross-platform, toga, desktop, mobile, web, macOS, cocoa, iOS, android, windows, winforms, linux, freeBSD, gtk, console
License
BSD-3-Clause
Install
pip install toga-core==0.3.0.dev26

Documentation

https://beeware.org/project/projects/libraries/toga/toga.png

Toga

Python Versions Project version Project status BSD License Build Status Discord server

A Python native, OS native GUI toolkit.

Minimum requirements

  • Toga requires Python 3.8 or higher. Python 2 is not supported.
  • If you're on macOS, you need to be on 11 (Big Sur) or newer.
  • If you're on Windows, you'll need Windows 10 or newer. If you are using Windows 10 and want to use a WebView to display web content, you will also need to install the Edge WebView2 Evergreen Runtime. Windows 11 has this runtime installed by default.
  • If you're on Linux (or another Unix-based operating system), you need to have GTK+ 3.10 or newer. This is the version that ships starting with Ubuntu 14.04 and Fedora 20. You also need to install the system packages listed in Tutorial 0.

Quickstart

To get a demonstration of the capabilities of Toga, run the following:

$ pip install toga-demo
$ toga-demo

This will pop up a GUI window with some sample widgets.

Documentation

Documentation for Toga can be found on Read The Docs.

Community

Toga is part of the BeeWare suite. You can talk to the community through:

We foster a welcoming and respectful community as described in our BeeWare Community Code of Conduct.

Contributing

If you'd like to contribute to Toga development, our guide for first time contributors will help you get started.

If you experience problems with Toga, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.