semvec/pypi-packages huggingface dataset:
toga 0.5.3
A Python native, OS native GUI toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, desktop, mobile, web, macOS, cocoa, iOS, android, windows, winforms, linux, freeBSD, gtk, console, web

# toga

[![Python Versions](https://img.shields.io/pypi/pyversions/toga.svg)](https://pypi.python.org/pypi/toga)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga.svg)](https://github.com/beeware/toga/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga.svg)](https://pypi.python.org/pypi/toga)

A meta-package for installing the [Toga widget toolkit](https://beeware.org/toga).

This package installs the [toga-core](https://pypi.org/project/toga-core) library, plus a different Toga backend depending the platform where it is installed:

- [toga-cocoa](https://pypi.org/project/toga-cocoa) on macOS
- [toga-gtk](https://pypi.org/project/toga-gtk) on Linux and FreeBSD
- [toga-winforms](https://pypi.org/project/toga-winforms) on Windows
- [toga-iOS](https://pypi.org/project/toga-ios) on iOS
- [toga-android](https://pypi.org/project/toga-winforms) on Android
- [toga-web](https://pypi.org/project/toga-web) on Emscripten

Backends are also available for [Textual](https://pypi.org/project/toga-textual), [Qt](https://pypi.org/project/toga-qt), and for [testing](https://pypi.org/project/toga-dummy); however, these must be installed manually.

Some platforms have additional prerequisites; see the [Toga platform guide](https://toga.beeware.org/en/latest/reference/platforms/) for details.

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-core 0.5.3
A Python native, OS native GUI toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, desktop, mobile, web, macOS, cocoa, iOS, android, windows, winforms, linux, freeBSD, gtk, console, web

# Toga

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-core.svg)](https://pypi.python.org/pypi/toga-core)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-core.svg)](https://github.com/beeware/toga-core/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-core.svg)](https://pypi.python.org/pypi/toga-core)

A Python native, OS native GUI toolkit.

This package provides the core Toga API. In order to use Toga, you'll also need to install a backend that implements the core Toga API for that platform:

- **Android** [toga-android](https://pypi.org/project/toga-android)
- **iOS** [toga-iOS](https://pypi.org/project/toga-iOS)
- **Linux** [toga-gtk](https://pypi.org/project/toga-gtk)
- **macOS** [toga-cocoa](https://pypi.org/project/toga-cocoa)
- **Qt** [toga-textual](https://pypi.org/project/toga-qt)
- **Textual** [toga-textual](https://pypi.org/project/toga-textual)
- **Web** [toga-web](https://pypi.org/project/toga-web)
- **Windows** [toga-winforms](https://pypi.org/project/toga-winforms)

## Minimum requirements

  Each backend has specific requirements and pre-requisites. See the [platform documentation](https://toga.beeware.org/en/latest/reference/platforms/) for details.

## Quickstart

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

    $ python -m 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](https://toga.beeware.org).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

  If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-gtk 0.5.3
A GTK backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, desktop, linux, freeBSD, gtk

# toga-gtk

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-gtk.svg)](https://pypi.python.org/pypi/toga-gtk)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-gtk.svg)](https://github.com/beeware/toga-gtk/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-gtk.svg)](https://pypi.python.org/pypi/toga-gtk)

A GTK backend for the [Toga widget toolkit](https://beeware.org/toga). It uses the GTK 3 API by default; GTK 4 support is experimental, and can be enabled by defining `TOGA_GTK=4` in your shell environment.

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core).

For platform requirements, see the [GTK platform documentation](https://toga.beeware.org/en/latest/reference/platforms/linux/gtk#prerequisites).

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-dummy 0.5.3
A dummy testing backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, testing

# toga-dummy

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-dummy.svg)](https://pypi.python.org/pypi/toga-dummy)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-dummy.svg)](https://github.com/beeware/toga-dummy/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-dummy.svg)](https://pypi.python.org/pypi/toga-dummy)

A Dummy backend for the [Toga widget toolkit](https://beeware.org/toga). This doesn't actually display anything; it exists purely as a testing environment.

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core),

For platform requirements, see the [testing platform documentation](https://toga.beeware.org/en/latest/reference/platforms/testing#prerequisites).

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-android 0.5.3
An Android backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, mobile, android

# toga-android

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-android.svg)](https://pypi.python.org/pypi/toga-android)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-android.svg)](https://github.com/beeware/toga-android/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-android.svg)](https://pypi.python.org/pypi/toga-android)

An Android backend for the [Toga widget toolkit](https://beeware.org/toga).

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core),

For platform requirements, see the [Android platform documentation](https://toga.beeware.org/en/latest/reference/platforms/android#prerequisites).

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-qt 0.5.3
An Qt (KDE) backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, desktop, qt

# toga-qt

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-qt.svg)](https://pypi.python.org/pypi/toga-qt)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-qt.svg)](https://github.com/beeware/toga-qt/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-qt.svg)](https://pypi.python.org/pypi/toga-qt)

A Qt backend for the [Toga widget toolkit](https://beeware.org/toga).

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core).

For platform requirements, see the [Qt platform documentation](https://toga.beeware.org/en/latest/reference/platforms/linux/qt#prerequisites).

For more details, see the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

-   [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
-   [Discord](https://beeware.org/bee/chat/)
-   The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-web 0.5.3
A Web backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, web, pyscript, pyodide, wasm

# toga-web

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-web.svg)](https://pypi.python.org/pypi/toga-web)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-web.svg)](https://github.com/beeware/toga-web/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-web.svg)](https://pypi.python.org/pypi/toga-web)

A backend for the [Toga widget toolkit](https://beeware.org/toga) on web platforms. It uses [Shoelace](https://shoelace.style) to provide web components.

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core).

For platform requirements, see the [Web platform documentation](https://toga.beeware.org/en/latest/reference/platforms/web#prerequisites).

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-cocoa 0.5.3
A Cocoa (macOS) backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, desktop, macOS, cocoa

# toga-cocoa

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-cocoa.svg)](https://pypi.python.org/pypi/toga-cocoa)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-cocoa.svg)](https://github.com/beeware/toga-cocoa/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-cocoa.svg)](https://pypi.python.org/pypi/toga-cocoa)

A Cocoa backend for the [Toga widget toolkit](https://beeware.org/toga).

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core).

For platform requirements, see the [macOS platform documentation](https://toga.beeware.org/en/latest/reference/platforms/macOS#prerequisites).

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-textual 0.5.3
A Textual backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, desktop, console, textual

# toga-textual

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-textual.svg)](https://pypi.python.org/pypi/toga-textual)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-textual.svg)](https://github.com/beeware/toga-textual/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-textual.svg)](https://pypi.python.org/pypi/toga-textual)

A Textual backend for the [Toga widget toolkit](https://beeware.org/toga).

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core).

For platform requirements, see the [Terminal platform documentation](https://toga.beeware.org/en/latest/reference/platforms/terminal#prerequisites).

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-iOS 0.5.3
An iOS backend for the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, toga, mobile, iOS

# toga-iOS

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-ios.svg)](https://pypi.python.org/pypi/toga-ios)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-ios.svg)](https://github.com/beeware/toga-ios/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-ios.svg)](https://pypi.python.org/pypi/toga-ios)

An iOS backend for the [Toga widget toolkit](https://beeware.org/toga).

This package isn't much use by itself; it needs to be combined with [the core Toga library](https://pypi.python.org/pypi/toga-core).

For platform requirements, see the [iOS platform documentation](https://toga.beeware.org/en/latest/reference/platforms/iOS#prerequisites).

For more details, see [Toga's documentation](https://toga.beeware.org), or the [Toga project on GitHub](https://github.com/beeware/toga).

## Community

Toga is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
toga-demo 0.5.3
A demonstration of the capabilities of the Toga widget toolkit.
Requires Python: >=3.10
Keywords: gui, widget, cross-platform, desktop, mobile, macOS, cocoa, iOS, android, windows, winforms, linux, gtk

# Toga Demo

[![Python Versions](https://img.shields.io/pypi/pyversions/toga-demo.svg)](https://pypi.python.org/pypi/toga-demo)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/toga-demo.svg)](https://github.com/beeware/toga-demo/blob/main/LICENSE)
[![Project status](https://img.shields.io/pypi/status/toga-demo.svg)](https://pypi.python.org/pypi/toga-demo)

A demonstration of the capabilities of the [Toga widget toolkit](https://beeware.org/toga).

## Quickstart

For details of Toga's pre-requisites, see the [Toga project on GitHub](https://github.com/beeware/toga).

Once those pre-requisites have been met, in your virtualenv, install Toga Demo, and then run it:

```console
$ pip install toga-demo
$ toga-demo
```

This will pop up a GUI window.

If you have cloned the toga repository, install the dependent packages in your virtualenv:

```console
$ cd toga
$ pip install -e ./core
```

Then install the platform specific code:

```console
$ pip install -e ./cocoa      # macOS
$ pip install -e ./gtk        # Linux
$ pip install -e ./winforms   # Windows
```

Finally navigate to the demo directory and run the application:

```
$ cd demo
$ python -m toga_demo
```

## Community

Toga Demo is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)
- The Toga [GitHub Discussions forum](https://github.com/beeware/toga/discussions)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.
travertino 0.5.3
A set of constants and base classes for describing user interface layouts.
Requires Python: >=3.10
Keywords: css, box model, layout

# Travertino

[![Python Versions](https://img.shields.io/pypi/pyversions/travertino.svg)](https://pypi.python.org/pypi/travertino)
[![BSD-3-Clause License](https://img.shields.io/pypi/l/travertino.svg)](https://github.com/beeware/toga/blob/main/travertino/LICENSE)
[![Project status](https://img.shields.io/pypi/status/travertino.svg)](https://pypi.python.org/pypi/travertino)

Travertino is a set of constants and utilities for describing user interfaces, including:

- colors
- directions
- text alignment
- sizes

# Usage

Install Travertino:

```console
$ pip install travertino
```

Then in your python code, import and use it:

```python
>>> from travertino.colors import color, rgb

# Define a new color as an RGB triple
>>> red = rgb(0xff, 0x00, 0x00)

# Parse a color from a string
>>> color('#dead00')
rgb(0xde, 0xad, 0x00)

# Reference a pre-defined color
>>> color('RebeccaPurple')
rgb(102, 51, 153)
```

## Community

Travertino is part of the [BeeWare suite](https://beeware.org). You can talk to the community through:

- [@beeware@fosstodon.org on Mastodon](https://fosstodon.org/@beeware)
- [Discord](https://beeware.org/bee/chat/)

We foster a welcoming and respectful community as described in our [BeeWare Community Code of Conduct](https://beeware.org/community/behavior/).

## Contributing

If you experience problems with Toga, [log them on GitHub](https://github.com/beeware/toga/issues).

If you'd like to contribute to Toga development, our [contribution guide](https://toga.beeware.org/en/latest/how-to/contribute/) details how to set up a development environment, and other requirements we have as part of our contribution process.