No description
Find a file
2023-08-23 14:16:46 +08:00
.github Include textual in ci release processes. 2023-08-16 10:15:21 +08:00
android Android: show warning if content is larger than window 2023-08-15 11:20:31 +01:00
attic Unpin versions in attic projects to avoid dependabot alerts. 2023-05-03 06:58:43 +08:00
changes Add Changenote. 2023-08-22 18:01:15 +09:30
cocoa Merge branch 'main' into min-width-no-scale 2023-08-11 08:31:38 +01:00
core Require travertino>=0.3.0, which will be released shortly 2023-08-15 11:30:50 +01:00
demo Core tests converted to Pytest, with 100% coverage. 2023-06-19 14:38:24 +08:00
docs Add documentation note about macOS terminal issues. 2023-08-16 07:43:38 +08:00
dummy Updates to get tests passing. 2023-08-01 17:39:28 +08:00
examples Add file dialogs, and correct titlebar text handling. 2023-08-23 14:16:46 +08:00
gtk replace run_javascript with evaluate_javascript 2023-08-17 22:19:24 +02:00
iOS Updates to get tests passing. 2023-08-01 17:39:28 +08:00
nursery First pass at a Textual backend. 2023-08-16 07:43:34 +08:00
testbed Require travertino>=0.3.0, which will be released shortly 2023-08-15 11:30:50 +01:00
textual Add file dialogs, and correct titlebar text handling. 2023-08-23 14:16:46 +08:00
toga Add codespell configuration. 2023-07-31 12:58:14 +08:00
web Add password input only test and validation 2023-08-21 14:28:02 +09:30
winforms Remove space and add exception for precommit checks 2023-08-22 09:41:13 +09:30
.git-blame-ignore-revs Added git blame ignore for pyupgrade commit 2022-11-02 13:14:15 +00:00
.gitignore Update paths in all other locations 2022-11-07 18:01:22 +00:00
.pre-commit-config.yaml Bump pyupgrade from v3.9.0 to v3.10.1. 2023-08-06 20:09:32 +00:00
.readthedocs.yaml Ensure repo checkout is unshallow in RTD builds for SCM versioning 2023-07-01 11:57:19 -04:00
CONTRIBUTING.md Add pre-commit hooks: check-toml, check-yaml, check-case-conflict, check-docstring-first, end-of-file-fixer, trailing-whitespace 2022-10-20 21:59:36 +01:00
LICENSE Add pre-commit hooks: check-toml, check-yaml, check-case-conflict, check-docstring-first, end-of-file-fixer, trailing-whitespace 2022-10-20 21:59:36 +01:00
pyproject.toml Merge pull request #2055 from freakboy3742/test-handlers 2023-07-31 10:27:42 +01:00
README.rst Updated references to minimum Python versions, and ensured READMEs and tutorials are consistent about pre-reqs. 2023-07-09 10:58:20 +08:00
setup.cfg flake8 tweaks 2023-03-30 13:28:49 -04:00
tox.ini Correct markup error in toga-core README. 2023-07-10 10:21:45 +08:00

.. image:: https://beeware.org/project/projects/libraries/toga/toga.png
    :width: 72px
    :target: https://beeware.org/toga

Toga
====

.. image:: https://img.shields.io/pypi/pyversions/toga.svg
    :target: https://pypi.python.org/pypi/toga
    :alt: Python Versions

.. image:: https://img.shields.io/pypi/v/toga.svg
    :target: https://pypi.python.org/pypi/toga
    :alt: Project version

.. image:: https://img.shields.io/pypi/status/toga.svg
    :target: https://pypi.python.org/pypi/toga
    :alt: Project status

.. image:: https://img.shields.io/pypi/l/toga.svg
    :target: https://github.com/beeware/toga/blob/main/LICENSE
    :alt: BSD License

.. image:: https://github.com/beeware/toga/workflows/CI/badge.svg?branch=main
   :target: https://github.com/beeware/toga/actions
   :alt: Build Status

.. image:: https://img.shields.io/discord/836455665257021440?label=Discord%20Chat&logo=discord&style=plastic
   :target: https://beeware.org/bee/chat/
   :alt: 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 10.10 (Yosemite) 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. <https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section>`__
  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 <docs/tutorial/tutorial-0.rst>`__.

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`_.

.. _Read The Docs: https://toga.readthedocs.io

Community
---------

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

* `@beeware@fosstodon.org on Mastodon`_
* `Discord`_
* The Toga `Github Discussions forum`_

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

.. _BeeWare suite: http://beeware.org
.. _@beeware@fosstodon.org on Mastodon: https://fosstodon.org/@beeware
.. _Discord: https://beeware.org/bee/chat/
.. _Github Discussions forum: https://github.com/beeware/toga/discussions
.. _BeeWare Community Code of Conduct: http://beeware.org/community/behavior/

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`_.

.. _guide for first time contributors: https://toga.readthedocs.io/en/latest/how-to/contribute-code.html
.. _log them on Github: https://github.com/beeware/toga/issues
.. _fork the code: https://github.com/beeware/toga
.. _submit a pull request: https://github.com/beeware/toga/pulls