Skip to main content

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

# shows which packages will be built; used as debugging

buf build -o -#format=json | jq '.file[] | .package' | sort | uniq | head

buf ls-files

buf lint # apply liniting to protobuf 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

Release files for m1l0-protobufs 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for m1l0-protobufs 1.4.0
File Interpreter ABI Platform
m1l0_protobufs-1.4.0-py3-none-any.whl Python 3 none any Details

Release files / m1l0_protobufs-1.4.0-py3-none-any.whl

Download URL m1l0_protobufs-1.4.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
076af2de5f181ebee35a3aa90630c9487259d41ec1d367f493aea6e5f96804e3
BLAKE2b-256 checksum
How to use checksums
67046294719ee3845ced461d2709b78cd05636a407113c959114605e97ee72d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

This release

1.4.0 This release

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

0.9.0

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page