Merged
Conversation
03449f1 to
8876c4a
Compare
a5dd79c to
b912d9e
Compare
kacy
added a commit
that referenced
this pull request
Feb 19, 2026
* add python proto codegen stubs for grpc client * add python cache patterns to gitignore * add python grpc client with full command coverage * add python client tests, packaging, and makefile targets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
summary
adds the official python client library for ember's grpc interface. thin wrapper
over generated protobuf stubs with an idiomatic python API covering all command
groups: strings, lists, hashes, sets, sorted sets, vectors, and server commands.
key points:
EmberClientclass with context manager supportlist[float]— protobuf sends packed IEEE 754 bytes (no string parsing)what was tested
metric enum mapping — all passing
ember.proto.ember.v1instead of bare
ember.v1which conflicts with the package name)design considerations
from ember.v1 import ember_pb2which conflictswith the
emberpackage namespace. the makefile post-processes this tofrom ember.proto.ember.v1 import ember_pb2via sed after codegen. this is acommon pattern for python grpc projects with package name collisions.
list[float]. users can pass numpy arrayssince protobuf accepts any iterable of floats.