The `google-geo-type` library provides Python protobuf definitions for common geographic types used across Google APIs, such as LatLng, Viewport, and PostalAddress. It is part of the larger `google-cloud-python` monorepo. Currently at version 0.6.0, it follows the release cadence of the Google Cloud client libraries, with updates typically bundled with other related packages.
pip install google-geo-typeVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import and create instances of common geographic types like `LatLng` and `Viewport` using their respective protobuf definition modules.
Pin the library version in your `requirements.txt` (e.g., `google-geo-type==0.6.0`) and carefully test updates. Monitor the GitHub repository for official release notes.
Ensure your development and deployment environments use Python 3.9 or a newer compatible version. Upgrade Python if necessary.
If you need to *call* a Google Geo API, ensure you install the appropriate client library (e.g., `google-maps-services-python`, `google-cloud-maps` for newer services) in addition to, or instead of, `google-geo-type` for types that are not part of the specific client library.
No dependency data recorded yet.