Skip to main content

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, summary
  • creator_name, creator_email
  • attendee_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libgranola-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

libgranola-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

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

Hashes for libgranola-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f9a01f1c55962b394966eb4d2824f1c772ffecb2bbf850019669c8a62edaa12c
MD5 3483b79452c28d65adba101547b91553
BLAKE2b-256 40a877b5c1e22e7326ed4cd3803c05f7158d1121698660e8190e05af7bb6aba0

See more details on using hashes here.

File details

Details for the file libgranola-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for libgranola-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 446193edadf8b8c4e89dc7d820870c7b1acd2ac3bad93906a3e0b10f3db2b10c
MD5 dedc8ecfe62668cc837da61ab0fa5a0f
BLAKE2b-256 f8e060d6d0ad0445fb8ee9d7a3371e0c6a1728409d278bb212cf06c12ab077ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page