macos-notifications icon indicating copy to clipboard operation
macos-notifications copied to clipboard

Create interactable notifications in the Notification Centre on any Mac using Python

Results 6 macos-notifications issues
Sort by recently updated
recently updated
newest added

I'm trying to build a CLI/Terminal app (frozen with PyInstaller), and it seems that the macos-notifications library starts a new process that calls my CLI again, but with unexpected parameters....

I can try and help implement support for the supported User Notification API. One issue is that you have to fallback to the old API when your python install isn't...

Python 3.11.3, "client.create_notification" returns the following error: `Process NotificationProcess-1: Traceback (most recent call last): File "/Users/rutger/.pyenv/versions/3.11.3/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/Users/rutger/.pyenv/versions/3.11.3/lib/python3.11/site-packages/mac_notifications/listener_process.py", line 28, in run notification_sender.create_notification(self.notification_config, self.queue).send() File...

Process-wide changes are not something that expected from a library. https://github.com/Jorricks/macos-notifications/blob/6f0741dae497a13d70734d233fa97d94f48c6c3f/src/mac_notifications/client.py#L15

Changes: 1. If there are no callbacks requested then there is no need for multiprocessing / listening / etc. 2. Fix the signal handling - the argument to `sys.exit()` is...

The [terminal-notifier](https://github.com/julienXX/terminal-notifier) program has a sweet feature to make the notification message clickable, by providing a target URL. Without adding buttons. Do you think this feature could also be added...