Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] gRPC python client as pip package #633

Open
gh0st42 opened this issue Nov 14, 2021 · 1 comment
Open

[FEATURE] gRPC python client as pip package #633

gh0st42 opened this issue Nov 14, 2021 · 1 comment
Assignees

Comments

@gh0st42
Copy link

gh0st42 commented Nov 14, 2021

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.

@bharnden bharnden self-assigned this Nov 17, 2021
@bharnden
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants