github teng-lin/notebooklm-py v0.3.0

latest releases: v0.3.4, v0.3.3, v0.3.2...
3 months ago

What's New

New Features

  • Language settings - Configure output language for artifact generation (80+ languages)
  • Sharing API - Programmatic notebook sharing management (client.sharing.*)
  • SourceType and ArtifactType enums - Type-safe source/artifact identification
  • .kind property - Unified type access across Source, Artifact, SourceFulltext
  • --retry flag - Automatic retry with exponential backoff on rate limits
  • Centralized exception hierarchy - All errors inherit from NotebookLMError
  • CLI share command group - Notebook sharing from command line

Deprecated (to be removed in v0.4.0)

  • Source.source_type → use .kind instead
  • Artifact.artifact_type → use .kind instead
  • Artifact.variant → use .kind, .is_quiz, or .is_flashcards instead
  • SourceFulltext.source_type → use .kind instead
  • StudioContentType → use ArtifactType instead

See Migration Guide for upgrade instructions.

Fixed

  • Silent failures in CLI now properly report errors
  • Source type emoji display consistency

Changed

  • Source type detection uses API-provided type codes
  • CLI file handling simplified to use add_file()

Removed

  • detect_source_type() - replaced by Source.kind
  • ARTIFACT_TYPE_DISPLAY - replaced by get_artifact_type_display()

Full Changelog: https://github.com/teng-lin/notebooklm-py/blob/v0.3.0/CHANGELOG.md

Install: pip install notebooklm-py==0.3.0

Don't miss a new notebooklm-py release

NewReleases is sending notifications on new releases.