teng-lin / notebooklm-py

· Source: Github Trending: All languages · Field: Technology & Digital — Software Development & Engineering, Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Intermediate, medium

Summary

notebooklm-py is an unofficial Python API and skill library that provides comprehensive programmatic access to Google's NotebookLM features. It enables interaction via a Python API, a command-line interface (CLI), and integration with AI agents like Claude Code, Codex, and OpenClaw. The library supports Python versions 3.10, 3.11, 3.12, 3.13, and 3.14, and offers capabilities beyond the official web UI, including batch downloads of artifacts, structured export of quizzes and flashcards in JSON, Markdown, or HTML, mind map data extraction as JSON, and data table CSV export. Users can also download slide decks as editable PPTX files, revise individual slides, customize report templates, save chat history to notes, access source fulltext, and manage multi-account profiles. The project is community-driven and uses undocumented Google APIs, making it suitable for prototypes and research due to potential API instability.

Key takeaway

For AI Engineers or Research Scientists building automated research pipelines, "notebooklm-py" offers powerful programmatic control over Google's NotebookLM. You can automate source ingestion, generate diverse content artifacts, and export data in structured formats like JSON or CSV, which are unavailable in the web UI. Be aware that this unofficial library uses undocumented Google APIs, so plan for potential API changes and rate limits in your projects. Consider it for prototypes or internal research.

Key insights

Unofficial "notebooklm-py" API extends Google's NotebookLM with programmatic control and advanced features beyond the web UI.

Principles

Method

Install "notebooklm-py" via pip, then "playwright install chromium". Authenticate using "notebooklm login" to enable CLI, Python API, or AI agent integration for NotebookLM operations.

In practice

Topics

Code references

Best for: NLP Engineer, AI Scientist, AI Engineer, Machine Learning Engineer, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Github Trending: All languages.