Skip to main content

googlesql

This package contains the GoogleSQL protobuf schemas and generated Python bindings for the local service.

Install the protobuf-only package with:

uv add googlesql

Install the generated gRPC client bindings with:

uv add 'googlesql[grpc]'

The generated modules are available under googlesql.local_service. For example:

import grpc

from googlesql.local_service import local_service_pb2
from googlesql.local_service import local_service_pb2_grpc

channel = grpc.insecure_channel("127.0.0.1:50051")
client = local_service_pb2_grpc.GoogleSqlLocalServiceStub(channel)
response = client.GetAnalyzerOptions(
    local_service_pb2.AnalyzerOptionsRequest()
)

The package follows the current checkout's local_service.proto API. It does not include the GoogleSQL service implementation.

Regenerating bindings

From the repository root, update the copied proto closure and generated files with:

uv run --project py/googlesql python tools/update_python_client.py

To verify that committed files are up to date without changing the worktree:

uv run --project py/googlesql python tools/update_python_client.py --check

The updater uses the repository's Python template generators and Buf. Bazel is not required for Python client generation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

googlesql-0.1.0.tar.gz (502.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

googlesql-0.1.0-py3-none-any.whl (562.2 kB view details)

Uploaded Python 3

File details

Details for the file googlesql-0.1.0.tar.gz.

File metadata

  • Download URL: googlesql-0.1.0.tar.gz
  • Upload date:
  • Size: 502.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for googlesql-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b950db414ef5c514b48425ac73ef37727ddb76a8f7b6a208732b93741977435
MD5 663f901a3878784a7e85021b346baf11
BLAKE2b-256 2e68be0b0ae3501cd953dfc3fe92560df807a10daf0048c5baf523e418838f9b

See more details on using hashes here.

File details

Details for the file googlesql-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: googlesql-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 562.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for googlesql-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eae47212a40017aaca81542e16b2f98045eb3bac17c23c69a43dd3abd4f025eb
MD5 f10ef2a5d1582353cd64269be49d648f
BLAKE2b-256 bae1770be1b15187d0300177eeac669b66df2f68529e86de117cf62b5716986a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page