Saturday, June 28, 2025

Google touts new Python consumer library for Knowledge Commons

Google has launched a Python consumer library to question the Knowledge Commons platform, which organizes the world’s publicly out there statistical information. The library helps customized cases, amongst different capabilities.

Introduced June 26, the brand new Knowledge Commons Python library can be utilized to discover the Knowledge Widespread data graph and retrieve statistical information from greater than 200 datasets. Accessible domains embody demographics, economic system, schooling, surroundings, vitality, well being, and housing. Builders can use the library’s customized cases to programmatically question any public or personal occasion, whether or not hosted regionally or on the Google Cloud Platform. Builders can use customized cases to seamlessly combine proprietary datasets with the Knowledge Commons data graph, in line with Google.

Based mostly on the V2 REST API, the Knowledge Commons Python library helps Pandas dataframe APIs as an integral module, with a single set up bundle permitting seamless use with different API endpoints in the identical consumer, Google says. API key administration and different stateful operations are constructed into the consumer class. Integration with Pydantic libraries improves sort security, serialization, and validation. Moreover, a number of response codecs are supported, together with JSON and Python dictionaries. With the library, builders can map entities from different datasets to entities in Knowledge Commons. The Knowledge Commons Python API consumer library is hosted on GitHub and out there on pypi.org.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles