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.3.3.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for quickmacapp-2023.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f97df9c2e671723ffb9b65b65aef1e8dfff9530f6262ae515e23a79d9b3ff71 |
|
MD5 | 71a23377f8a14185d22937c404c19013 |
|
BLAKE2b-256 | 6ea53e87daea6a8bfaf3f4645685b13b5581a1c65bb17034116a37f3cef1b222 |