apple_calendar
apple_calendar
¶
Apple Calendar connector — reads directly from the macOS Calendar SQLite database.
No API calls, no OAuth, no app-specific password. Opens
~/Library/Group Containers/group.com.apple.calendar/Calendar.sqlitedb
in read-only mode and yields one :class:Document per upcoming event.
Requires Full Disk Access granted to the terminal / app in System Settings → Privacy & Security → Full Disk Access.
Classes¶
AppleCalendarConnector
¶
AppleCalendarConnector(db_path: str = '', days_ahead: int = _DEFAULT_DAYS_AHEAD, days_behind: int = _DEFAULT_DAYS_BEHIND)
Bases: BaseConnector
Connector that reads events from the macOS Calendar SQLite database.
| PARAMETER | DESCRIPTION |
|---|---|
db_path
|
Path to
TYPE:
|
days_ahead
|
How many days into the future to fetch (default: 7).
TYPE:
|
days_behind
|
How many days into the past to fetch (default: 1).
TYPE:
|