This package, `langchain-google-calendar-tools` (version 0.0.1), is an early-stage project or demonstration for connecting to the Google Calendar API within LangChain. It appears to be a separate, less maintained effort. For robust and actively supported Google Calendar integrations with LangChain, it is *strongly recommended* to use the `langchain-google-community` package with the `calendar` extra, which provides comprehensive and up-to-date tools for calendar operations. This entry focuses on the requested `langchain-google-calendar-tools` but highlights the recommended alternative.
pip install langchain-google-calendar-toolsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates the recommended way to initialize the Google Calendar Toolkit and individual tools using `langchain-google-community`. It assumes you have `credentials.json` configured as per Google's OAuth 2.0 Desktop App flow. The toolkit will automatically attempt to use these credentials.
Migrate to `pip install -qU langchain-google-community[calendar]` and update import paths as shown in the quickstart.
Follow the Google Calendar API Python Quickstart (https://developers.google.com/calendar/api/quickstart/python) to set up a Google Cloud Project, enable the Google Calendar API, and download `credentials.json`. Place this file where your application can access it (e.g., project root) or specify its path when initializing the toolkit/tools.
This is a known issue, often requiring updates to `langchain-google-genai` and underlying `google-auth`, `google-genai` libraries. Ensure all LangChain Google-related packages are up-to-date. If the problem persists, consult the latest LangChain GitHub issues or documentation regarding specific LLM integrations.