Unofficial Python library for automating Google NotebookLM. Current version 0.3.4, requires Python >=3.10. Released under MIT license. Active development with frequent releases (multiple per month).
pip install notebooklm-pyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client (with auth JSON or interactive login), list notebooks, ask a question.
Run 'notebooklm auth check' or use NotebookLMClient(auth_json=...) with the JSON env var.
Change 'from notebooklm import SourceType' to 'from notebooklm.models import SourceType'.
Catch NotebookLMError from notebooklm.exceptions instead of generic Exception.
Use async entry points or run with asyncio.run(). For sync cook, ensure ProactorEventLoop compatibility.
Upgrade to 0.3.2+ or manually clear conversation ID.
Use: from notebooklm import NotebookLMClient
Use: from notebooklm.models import SourceType
Wrap code in async function and call with asyncio.run() or use CLI commands.
Run 'notebooklm auth check --test' to validate. Set NOTEBOOKLM_AUTH_JSON env var with fresh token.
No dependency data recorded yet.