Skip to main content

M1L0 Protobufs

Project description

M1L0 Protobufs

Protobufs for micro services used by the M1L0 framework

Current list of protobufs:

  • protobufs/imagebuilder

    Image builder service

  • protobufs/dataservice

    Data pipeline service

The python package contains the python client needed to interface with the grpc services.

To use the client:


from m1l0_services.imagebuilder import image_builder_pb2
from m1l0_services.imagebuilder import image_builder_pb2_grpc

The protobufs are packaged into a PyPI package and published at the following location:

https://pypi.org/project/m1l0-protobufs/

Using buf

https://docs.buf.build

buf lint # apply liniting to protobuf files

buf build # if no errors means its ok?

buf ls-files

References

TODO:

  • Setup type checking

Issues:

  • Compiling grpc_python_plugin

    The grpc_python_plugin is required to use buf generate

    To build from source:

    git clone --recursive https://github.com/grpc/grpc
    cmake .
    cmake --build . --target plugins
    
  • Unable to call buf generate as its failing with following error:

    Unknown flag: --descriptor_set_in
    

    Above fixed by updating protoc to 3.18.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

m1l0_protobufs-0.8.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file m1l0_protobufs-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: m1l0_protobufs-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for m1l0_protobufs-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a73df76a66a2068d5325e4b68c69793f1b09784295bf1a141b04f23bcf6f09ee
MD5 b72d11be6b83e8d354f35b16f5f0cd07
BLAKE2b-256 f8d7e8681552910ec7009a62048d6d09a5ece5b31fcab26cc19af9403e37bcc5

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page