Skip to main content

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


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 details)

Uploaded Source

Built Distribution

quickmacapp-2023.4.24-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file quickmacapp-2023.4.24.tar.gz.

File metadata

  • Download URL: quickmacapp-2023.4.24.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for quickmacapp-2023.4.24.tar.gz
Algorithm Hash digest
SHA256 9c75f5517ff2c036b47bbe843846b3ee2092f834a58cb6db076561768f77234a
MD5 dc13ce42c6ac2505ea8f05e466406818
BLAKE2b-256 9f562eafbd9e0da3aea2f1dfe9966eed84c8e08e6537de61171aa0b2477f6422

See more details on using hashes here.

File details

Details for the file quickmacapp-2023.4.24-py3-none-any.whl.

File metadata

File hashes

Hashes for quickmacapp-2023.4.24-py3-none-any.whl
Algorithm Hash digest
SHA256 fa471301aaa0ab03be78f7a64402bdcc6219753f0c03f028be49ede78e58717b
MD5 fefa6fefd92b10a2c0bc8423c2ab68a6
BLAKE2b-256 57955ce47dd52cb2faa5bd7c5911b2262f0b6ff705fc9ddaddaa59ce8e902a69

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page