Skip to main content

Cross-product protocol buffers

Project description

Informatics Matters cross-product protocol buffers

PyPI package (latest)

A library of python bindings for protocol buffer definitions used by one or more products in the Informatics Matters product suite.

The protocol buffers are used across multiple components and languages. At the outset we anticipate supporting Python, and Java. The root of all packages is src/main as required by build tools like Gradle. From there the directory is proto/informaticsmatters followed by component directories or a common directory. An example protocol message file might be:

src/main/proto/informaticsmatters/protobuf/datamanager/PodMessage.proto

When transmitted on a topic-based messaging service the topic is the lower-case dot-separated message name relative to informaticsmatters (excluding the Message suffix), e.g. datamanager.pod.

Installation (Python)

The protocol buffers are published on PyPI and can be installed from there:

pip install im-protobuf

Once installed you can access the protocol buffers with:

>>> from informaticsmatters.protobuf.datamanager.pod_message_pb2 import PodMessage
>>> pm: PodMessage = PodMessage()

Get in touch

  • Report bugs, suggest features or view the source code on GitHub.

Project details


Download files

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

Source Distribution

im-protobuf-2.0.1.tar.gz (4.5 kB view hashes)

Uploaded source

Built Distribution

im_protobuf-2.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page