Registry /
gcp / google-maps-addressvalidation
Install & Compatibility
Where this runs
tested against v0.7.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 68MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 5.3s · import 0.000s · 66MB
66MB installed
● package 66MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AddressValidationServiceClient
✓ from google.maps.addressvalidation_v1 import AddressValidationServiceClient
✗ from google.maps.addressvalidation_v1.services.address_validation import AddressValidationServiceClient
Quickstart to validate an address using the API. Requires setting GOOGLE_API_KEY environment variable or having ADC configured.
import os
from google.maps.addressvalidation_v1 import AddressValidationServiceClient, ValidateAddressRequest
client = AddressValidationServiceClient()
request = ValidateAddressRequest(
address={
'region_code': 'US',
'locality': 'Mountain View',
'address_lines': ['1600 Amphitheatre Pkwy']
},
previous_response_id='',
enable_usps_cass=True
)
response = client.validate_address(request=request)
print(response.result.verdict)
Upgrade
Version history
0.7.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies
google-api-corerequiredCore library for Google API client infrastructure.
proto-plusrequiredProtobuf message handling.
google-authrequiredAuthentication via API key or service account.