A Rust engine for native cross-platform UI, letting you write apps in Rust or TSX and render with each platform's own widgets.
beeware/toga
A Python GUI toolkit that renders apps with each operating system's native widgets.
- Stars
- 5,422
- Forks
- 833
- Open issues
- 330
- Last commit
- yesterday
What is it?
Toga is a GUI toolkit for Python that builds desktop and mobile applications using each platform's own native widgets rather than a bundled web view or custom drawing layer. A single Python codebase targets multiple operating systems through separate backends, so the interface follows the look and behaviour of the host platform.
The project is part of the BeeWare suite, which also includes tooling for packaging Python apps for distribution. Toga's documentation covers the requirements for each backend and provides a demo package, toga-demo, that opens a window with sample widgets so developers can see the available components.
Because Toga exposes a Python API over native controls, it suits developers who want Python-only UI code without writing platform-specific front-end code.
Key features
- 01Uses native widgets on each supported operating system.
- 02Single Python codebase with separate platform backends.
- 03Provides a demo app, toga-demo, to preview available widgets.
- 04Part of the BeeWare suite of Python app tooling.
Use cases
- Building a cross-platform desktop application in pure Python.
- Prototyping a GUI with native look and feel on several operating systems.
- Creating mobile or desktop apps for Python developers who prefer not to write front-end code.
Topics
FAQ
- What is toga?
- A Python GUI toolkit that renders apps with each operating system's native widgets. Toga is a GUI toolkit for Python that builds desktop and mobile applications using each platform's own native widgets rather than a bundled web view or custom drawing layer. A single Python codebase targets multiple operating systems through separate backends, so the interface follows the look and behaviour of the host platform.
- Is toga free to use? What license does it have?
- toga is open source under the BSD-3-Clause license. Check the license terms before using it in commercial products.
- Is toga still maintained?
- Actively maintained. The last commit to toga was on Oct 20, 2026.
- What can I use toga for?
- Building a cross-platform desktop application in pure Python. Prototyping a GUI with native look and feel on several operating systems. Creating mobile or desktop apps for Python developers who prefer not to write front-end code.
- Where can I get toga?
- The source code and installation instructions are on GitHub: https://github.com/beeware/toga
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A Python library for creating frameless PyQt/PySide windows with custom title bars, resizing, and native blur effects on Windows, Linux, and macOS.
A Go framework for building cross-platform desktop apps with a web frontend (React, Vue, Svelte, etc.) using native rendering engines.
A cross-platform GUI toolkit and app API for Go, designed to build desktop and mobile apps from a single codebase.
Cross-platform C++/Qt screenshot tool with in-app annotation editing, configurable capture shortcuts, and a CLI and DBus interface.
A tiny C/C++ library that embeds a native web view in desktop apps, using WebKit on Linux and macOS and WebView2 on Windows.