ghome-foyer-api
Generated protobuf stubs for Google Home Foyer API
What it is and what it does
This package distributes pre-generated Protobuf stubs for Google Home's Foyer API, solving a specific problem: when multiple libraries use the same Protobuf definitions, only one version of the stubs can be loaded at runtime, even if different modules define them separately. By centralizing the stubs in a single package with pinned versions of grpcio and protobuf, it eliminates version conflicts and ensures all consumers see the same API definitions.
The package exports both the generated stubs and type hints, making it suitable for projects that need to interact with Google Home devices via the Foyer API. It is maintained actively and supports Python 3.9 and later. The stubs are regenerated from a proto file via a build script, so the package stays synchronized with the underlying API definition.
Use it for:
- Building a Google Home control or monitoring application that needs to communicate with local Foyer API endpoints.
- Integrating Google Home device discovery or management into a larger home automation system.
- Developing a library that wraps Foyer API functionality without forcing consumers to manage Protobuf version conflicts.
- Type-safe gRPC client code for Google Home devices using generated stubs and type hints.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides generated Protobuf stubs for the Google Home Foyer API, ensuring a single version of stubs is loaded across libraries to avoid Protobuf version conflicts.
Yes, if you need to interact with Google Home's Foyer API. The package solves a real Protobuf versioning problem, is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is low. The small repository size (3 stars) reflects its narrow, specialized use case rather than any quality concern.
Install
ghome-foyer-api on PyPI
pip
pip install ghome-foyer-apiuv
uv add ghome-foyer-apipoetry
poetry add ghome-foyer-apiInstalling ghome-foyer-api
Before you install
Low friction installation with a pure-Python wheel. Actively maintained as of August 2026, with recent commits and no known vulnerabilities. Depends on grpcio and protobuf, which are standard dependencies in the gRPC ecosystem.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install ghome-foyer-api
import ghome_foyer_api
# Use generated stubs from the package
Requires Python 3.9 or later.
Verify before relying
- Whether the package is actively maintained beyond August 2026 (last commit visible as of fact sheet date).
- Specific API surface and which Foyer API methods are covered by the generated stubs.
- Whether type hints are complete enough for full IDE support and static type checking.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — grpcio, protobuf |
| Maintenance | actively maintained — 441 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 167,292/month — #10,472 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ghome_foyer_api-1.2.2-py3-none-any.whl
Keywords: Foyer API, Google Home
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
proto-google-cloud-datastore-v1Provides Protocol Buffer definitions and gRPC…
permissive · top 15,000 on PyPI
opensearch-protobufsProvides pre-generated Python Protocol Buffer…
permissive · top 5,000 on PyPI
hatch-protobufA Hatch build plugin that generates Python…
copyleft · top 15,000 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
betterprotoGenerates idiomatic Python code from Protobuf 3…
permissive · top 5,000 on PyPI
grpcio-statusProvides Python protobuf definitions for…
permissive · top 100 on PyPI
smg-grpc-protoProvides pre-compiled Python gRPC stubs for…
permissive · top 5,000 on PyPI
sentry-protosProvides protocol buffer and gRPC schema…
unclear · top 15,000 on PyPI
glocaltokensExtracts local authentication tokens from…
permissive · top 15,000 on PyPI
betterproto-fwGenerates idiomatic Python code from Protobuf 3…
permissive · top 15,000 on PyPI