google-maps-routing
Google Maps Routing API client library
Decision gist · record as of 2026-08-14
Yes, if you are building on Google Cloud Platform and need routing or directions functionality. The library is actively maintained, has low install friction, carries no known vulnerabilities, and is the official client for the Routes API. Prerequisite: you must have a GCP project with the Routes API enabled and billing configured; the library itself is not useful without that infrastructure.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud Platform project with Routes API enabled, billing configured, and valid authentication credentials set up.
- Low install friction; pure Python wheel distribution.
- Active maintenance with recent releases and a well-resourced upstream repository.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-06-03 (72 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,822 downloads/mo, #14,490 on PyPI
Alternatives
Verify before relying
pip install google-maps-routing
from google.maps import routing_v2
from google.auth import default
credentials, _ = default()
client = routing_v2.RoutesClient(credentials=credentials)- Specific routing capabilities (e.g., matrix routes, waypoint optimization, toll/traffic modeling) not detailed in excerpt.
- Performance characteristics and rate limits for production workloads.
- Whether the library supports all Routes API features or a subset.
What it is and what it does
This is the official Python client for Google's Routes API, a managed service on Google Cloud Platform that computes routes, directions, and optimized paths. It wraps the underlying gRPC and REST endpoints with a Pythonic interface, handling authentication, serialization, and error handling transparently. The library depends on google-auth for credential management, google-api-core for common client patterns, and protobuf-based message types via proto-plus.
You use it when you need to integrate routing or directions logic into a Python application running on or connected to Google Cloud. Setup requires a GCP project, billing, API enablement, and valid credentials; once configured, you instantiate a client and call methods to compute routes. The library is actively maintained, supports modern Python versions (3.10+), and carries no known vulnerabilities.
Use it for
- Build a delivery or logistics platform that computes optimal routes between multiple stops.
- Add turn-by-turn directions to a travel or mapping application.
- Integrate route planning into a backend service for ride-sharing or fleet management.
- Compute distance matrices or travel times between locations for analytics.
- Automate route optimization in a batch processing pipeline on Google Cloud.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on Google Cloud Platform and need routing or directions functionality.
The library is actively maintained, has low install friction, carries no known vulnerabilities, and is the official client for the Routes API. Prerequisite: you must have a GCP project with the Routes API enabled and billing configured; the library itself is not useful without that infrastructure.
Install
google-maps-routing on PyPI
Before you install
Low install friction; pure Python wheel distribution. Active maintenance with recent releases and a well-resourced upstream repository. Requires Python 3.10 or later.
Requires Google Cloud Platform project with Routes API enabled, billing configured, and valid authentication credentials set up.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install google-maps-routing
from google.maps import routing_v2
from google.auth import default
credentials, _ = default()
client = routing_v2.RoutesClient(credentials=credentials)
Verify before relying
- Specific routing capabilities (e.g., matrix routes, waypoint optimization, toll/traffic modeling) not detailed in excerpt.
- Performance characteristics and rate limits for production workloads.
- Whether the library supports all Routes API features or a subset.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobufgoogle-geo-type |
| Maintenance | Actively maintained 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 77,822 / month, #14,490 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_maps_routing-0.11.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google maps routing api client”
- google-maps-routingPython client library for the Google Maps Routes API, enabling…
- google-maps-routeoptimizationPython client library for Google's Route Optimization API, which…
- googlemapsPython client library that wraps Google Maps Platform web service…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-geo-type · google-maps-addressvalidation · google-cloud-functions · google-maps-routeoptimization · google-cloud-billing · google-cloud-workflows · google-cloud-build · google-maps-places · google-cloud-dataflow-client · py-nextbusnext