Unlock deeper insights with the new Python client library for Data Commons- Google Developers Blog
Jun 26, 2025Kara Moscoe

Summary
This post announces the general availability of a new Python client library (V2) for the Data Commons knowledge graph. The library is based on the V2 REST API and offers significant enhancements over the V1 library, including integrated Pandas dataframe APIs, new convenience methods for common queries, built-in API key management, Pydantic integration for type safety, and support for multiple response formats. It also provides robust support for querying custom Data Commons instances hosted by organizations.
More from the Google Developer Platform trail
- Autonomous LLM post-training with Tunix on TPUs- Google Developers Blog
- HeyGen x Google Cloud: Bringing Avatar IV to TPUs- Google Developers Blog
- Run Ray on TPU, Part 2: Ray AI libraries- Google Developers Blog
- Scaling Agentic RL: High-Throughput Agentic Training with Tunix- Google Developers Blog
- Run Ray on TPU, Part 1: The foundations- Google Developers Blog