Metadata-Version: 2.1
Name: quickmacapp
Version: 2023.2.21
Summary: Make it easier to write Mac apps in Python
Description-Content-Type: text/x-rst
License-File: LICENSE

QuickMacApp
==============================

.. note::

    This is extremely rough and poorly documented at this point.  While its
    public API is quite small to avoid **undue** churn, it may change quite
    rapidly and if you want to use this to ship an app you probably will want
    to contribute to it as well.

Make it easier to write small applications for macOS (that use Twisted).

To get a very basic status menu API:

.. code::
   python

    from quickmacapp import mainpoint, Status, quit

    @mainpoint()
    def app(reactor: IReactorTime):
        Status("☀️ 💣").menu([("Do Something", lambda: print("something")),
                             ("Quit", quit)])

Packaging this into a working app bundle is currently left as an exercise for
the reader.

This was originally extracted from https://github.com/glyph/Pomodouroboros/
