/xfacter

A playground to practice grpc, python, docker..etc.

Primary LanguagePythonMIT LicenseMIT

xfacter

A playground to practice some grpc, python, and stuff.

Requirements

  • facter (apt-get install -yq facter)

As a python package

  • xfacter-server script: serving facter commands to remote clients
  • xfacter

Generate python code from proto file(s)

python -m grpc_tools.protoc -I protos \
      --python_out=src \
      --grpc_python_out=src \
      protos/xfacter/xfacter.proto

Reference