opensearch-protobufs
Decision gist · record as of 2026-08-14
Yes, if you are building a Python application that communicates with OpenSearch via gRPC and want to avoid managing protobuf compilation yourself. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and has no known vulnerabilities. Install it only if your project actually uses gRPC for OpenSearch communication.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; you must have a gRPC channel already established to use the service stubs.
- Low friction install with only two runtime dependencies (protobuf and grpcio).
- Active maintenance with recent releases; last commit 2026-08-14 and latest release 2026-06-11 indicate ongoing project activity.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and note any modifications.
last release 2026-06-11 (64 days) · last repo commit 2026-08-14 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,515,211 downloads/mo, #1,226 on PyPI
Alternatives
Verify before relying
pip install opensearch-protobufs
from opensearch.protobufs.schemas import SearchRequest
from opensearch.protobufs.services import SearchServiceStub
request = SearchRequest()
request.query = "elasticsearch"
request.size = 10
client = SearchServiceStub(channel)
response = client.Search(request)- Whether the package includes all OpenSearch API operations or only a subset of the message types shown in examples.
- Whether generated code is kept in sync with the opensearch-api-specification automatically or requires manual updates.
- Performance characteristics or overhead of using pre-generated stubs versus compiling protobufs on-demand.
What it is and what it does
opensearch-protobufs is a Python package containing pre-compiled Protocol Buffer message definitions and gRPC service stubs for OpenSearch. Instead of downloading raw `.proto` files and running protoc yourself, you install this package and import message types (like SearchRequest, BulkRequest, IndexDocumentRequest) and service clients (like SearchServiceStub) directly into your code.
The package is maintained as a downstream consumer of the opensearch-api-specification repository, meaning its protobuf definitions track the official API spec. It depends on protobuf and grpcio at runtime and requires Python 3.10 or later. It's intended for Python developers building OpenSearch clients or integrations who want to avoid the build-and-compile step and use stable, pre-generated gRPC bindings instead.
Use it for
- Building a Python OpenSearch client library that uses gRPC for server communication.
- Integrating OpenSearch search and indexing operations into a Python application via pre-built protobuf message types.
- Rapid prototyping of OpenSearch-based services without needing to compile protobuf definitions locally.
- Ensuring API compatibility across multiple OpenSearch client libraries by using centrally maintained protobuf definitions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a Python application that communicates with OpenSearch via gRPC and want to avoid managing protobuf compilation yourself.
The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and has no known vulnerabilities. Install it only if your project actually uses gRPC for OpenSearch communication.
Install
opensearch-protobufs on PyPI
Before you install
Low friction install with only two runtime dependencies (protobuf and grpcio). Active maintenance with recent releases; last commit 2026-08-14 and latest release 2026-06-11 indicate ongoing project activity.
Requires Python 3.10 or later; you must have a gRPC channel already established to use the service stubs.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and note any modifications.
Quickstart
pip install opensearch-protobufs
from opensearch.protobufs.schemas import SearchRequest
from opensearch.protobufs.services import SearchServiceStub
request = SearchRequest()
request.query = "elasticsearch"
request.size = 10
client = SearchServiceStub(channel)
response = client.Search(request)
Verify before relying
- Whether the package includes all OpenSearch API operations or only a subset of the message types shown in examples.
- Whether generated code is kept in sync with the opensearch-api-specification automatically or requires manual updates.
- Performance characteristics or overhead of using pre-generated stubs versus compiling protobufs on-demand.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesprotobufgrpcio |
| Maintenance | Actively maintained 64 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 14,515,211 / month, #1,226 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3 |
Evidence: opensearch_protobufs-1.6.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 › “protobuf message types opensearch”
- opensearch-protobufsProvides pre-generated Python Protocol Buffer message types and gRPC…
- foxglove-schemas-protobufProvides precompiled Protobuf message classes for Foxglove Schemas,…
- proto-plusProto Plus wraps protocol buffers to provide Python classes that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also hatch-protobuf · proto-google-cloud-datastore-v1 · pure-protobuf · sentry-protos · discord-protos · isolate-proto · xds-protos · ghome-foyer-api · sigstore-protobuf-specs · dbt-protos