Make it easier to write Mac apps in Python
Project description
Make it easier to write small applications for macOS in Python, using Twisted.
To get a very basic status menu API:
from quickmacapp import mainpoint, Status, answer, quit
from twisted.internet.defer import Deferred
@mainpoint()
def app(reactor):
s = Status("☀️ 💣")
s.menu([("Do Something", lambda: Deferred.fromCoroutine(answer("something"))),
("Quit", quit)])
app.runMain()
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quickmacapp-2023.4.24.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for quickmacapp-2023.4.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa471301aaa0ab03be78f7a64402bdcc6219753f0c03f028be49ede78e58717b |
|
MD5 | fefa6fefd92b10a2c0bc8423c2ab68a6 |
|
BLAKE2b-256 | 57955ce47dd52cb2faa5bd7c5911b2262f0b6ff705fc9ddaddaa59ce8e902a69 |