Python library to read local Granola meeting notes
Reason this release was yanked:
API blocked by Granola
Project description
libgranola
A Python library to read local Granola meeting notes from the application's cache file.
Overview
- Read-only access to Granola meetings, transcripts, and people
- Zero dependencies beyond the Python standard library
- Fully typed with frozen dataclasses
- Apache 2.0
Written by Guido Appenzeller, guido@appenzeller.net.
Requirements
- macOS (Granola stores its cache in
~/Library/Application Support/Granola/) - Python 3.13+
- A local Granola installation with cached data
Installation
For development:
git clone https://github.com/appenz/libgranola
cd libgranola
make install
Quick Start
from libgranola import GranolaStore
store = GranolaStore()
# List all meetings (newest first)
for meeting in store.list_meetings():
print(f"{meeting.created_at:%Y-%m-%d} {meeting.title}")
# Search meetings
results = store.find_meetings("standup")
# Search specific fields
results = store.find_meetings("@acme.com", fields=["attendee_email"])
# Get transcript for a meeting
transcript = store.get_transcript(meeting.id)
if transcript:
for seg in transcript:
print(f"[{seg.start:%H:%M:%S}] {seg.text}")
# List people directory
for person in store.list_people():
print(f"{person.name} ({person.email})")
Searchable Fields
When using find_meetings, you can restrict search to specific fields:
title,notes_plain,notes_markdown,overview,summarycreator_name,creator_emailattendee_name,attendee_email
Pass fields=None (default) to search all fields.
Development
make install # Install with dev dependencies
make test # Run tests
make lint # Check code style
make format # Auto-format code
make build # Build package
License
Apache 2.0. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libgranola-0.1.0.tar.gz.
File metadata
- Download URL: libgranola-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9a01f1c55962b394966eb4d2824f1c772ffecb2bbf850019669c8a62edaa12c
|
|
| MD5 |
3483b79452c28d65adba101547b91553
|
|
| BLAKE2b-256 |
40a877b5c1e22e7326ed4cd3803c05f7158d1121698660e8190e05af7bb6aba0
|
File details
Details for the file libgranola-0.1.0-py3-none-any.whl.
File metadata
- Download URL: libgranola-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
446193edadf8b8c4e89dc7d820870c7b1acd2ac3bad93906a3e0b10f3db2b10c
|
|
| MD5 |
dedc8ecfe62668cc837da61ab0fa5a0f
|
|
| BLAKE2b-256 |
f8e060d6d0ad0445fb8ee9d7a3371e0c6a1728409d278bb212cf06c12ab077ae
|