Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.
enthus-appdevPublic archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

grpc-python

⚠️ This repository has been archived.

It was a small showcase demonstrating how to generate Python gRPC clients from the enthus API protobuf definitions (internally known as Stargate).

For the API definitions themselves — and up-to-date usage — please see enthus-appdev/enthus-apis.


Historical content

The original setup instructions are preserved below for reference. Note that the referenced GitLab URLs and workflow are outdated.

Python setup

$ git clone git@gitlab.com:mclgmbh/grpc-python.git
$ cd grpc-python
$ python -m pip install virtualenv
$ virtualenv venv
$ source venv/bin/activate
$ python -m pip install --upgrade pip

grpc für Python

$ python -m pip install grpcio

Stargate repo klonen

$ cd ..
$ git clone git@gitlab.com:mclgmbh/enthus-apis.git

Stargate python interfaces etc. generieren

Diese Schritte müssen für jede neue Version von Stargate wiederholt werden, aber nur wenn die neue Version auch explizit genutzt werden soll. Stargate ist immer rückwärtskompatibel, auch ohne Update.

$ cd enthus-apis
$ git pull
$ buf generate

"stargate" und "buf" aus dem "gen/python" folder in das Python-script-Verzeichnis kopieren

evtl file anlegen in buf folder (python import fail)

$ python grpc_example.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages