Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Simple interactable Mac notifications with only pure-python dependencies
Documentation: https://jorricks.github.io/macos-notifications/
Source Code: https://github.com/Jorricks/macos-notifications
mac-notification is a Python library to make it as easy as possible to create interactable notifications.
To use macos-notifications, first install it using pip:
pip install macos-notifications
client.create_notification(title="Meeting starts now!", subtitle="Team Standup")
'pyobjc
as a dependency.from functools import partial
from mac_notifications import client
if __name__ == "__main__":
client.create_notification(
title="Meeting starts now!",
subtitle="Team Standup",
icon="/Users/jorrick/zoom.png",
sound="Frog",
action_button_str="Join zoom meeting",
action_callback=partial(join_zoom_meeting, conf_number=zoom_conf_number)
)
A simple example. Please look in the docs for more examples like this:
I wanted a library that did not depend on any non-python tools (so you had to go around and install that). Instead, I wanted a library where you install the pip packages, and you are done. Later I realised how hard it was to integrate correctly with PyOBJC. Also, I had a hard time finding any examples on how to easily integrate this in a non-blocking fashion with my tool. Hence, I figured I should set it up to be as user-friendly as possible and share it with the world ;)!
Although there are some limitations, there is no reason to not use it now :v:.
FAQs
Simple interactable Mac notifications with only pure-python dependencies
We found that macos-notifications demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.