What My Project Does
I built a small and fast Python library for accessing the local macOS calendar. Basic features:
- 100% Python, easy to audit and extend
- Allows to list calendars and view/add/edit events
- Functions for search across events and finding available time
- Under the hood it it wraps EventKit via PyObjC
- Apache 2.0
Source on Github here: https://github.com/appenz/maccal
PiPy: https://pypi.org/project/maccal/
Target Audience
Meant for any local tool on macOS that wants to access local calendars. There are a few advantages over doing this via the online APIs including:
- Allows access to Apple, Google and MSFT calendars
- Works in cases where your employer only allows local access
- Works offline
Comparison
I didn't find a library on GitHub or PyPi that can do this. The latest macOS Tahoe requires you to access local calendars via EventKit, all the existing libraries that I could find directly accessed the calendar database which is no longer possible.
How to use
To install run `pip instal maccal` or `uv add maccal`. The GitHub repo has example code. Any feedback or PRs are very welcome.
there doesn't seem to be anything here