core
core copied to clipboard
[FEATURE] gRPC python client as pip package
Is your feature request related to a problem? Please describe.
Currently, a full installation of coreemu is needed if one wants to develop some python scripts for automation. This limits the dev platform to linux. The gRPC interface also works from a different machine/OS, e.g., macOS or windows, and can perform the most needed functionality.
Describe the solution you'd like
Separate the python scripting interface and the gRPC client python lib and publish the platform independent gRPC client on pypi, so that one can easily perform a python -m pip install coreemu-grpc-client
and start developing for coreemu.
Currently the gRPC API does have some hybrid aspects for how a truly remote session works, so it is not currently a perfect solution for such a case. Right now the assumption is that you would be using it on the same machine, so bundling it together was reasonable for now.
You could take the protobuf files and generate the gRPC client to use as you wish, this does not provide any conveniences though.
I don't foresee us ever putting anything to pypi, even if it would make sense.
The closest solution may be an effort to split the package into a separate installation within the repo, which would allow it to be installed separately and there would need to be some further thinking about the current limitation issues for driving things remotely. That would all be future TBD for now, but thanks for the input.