Cross-product protocol buffers
Project description
Informatics Matters cross-product protocol buffers
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/pod_message.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file im-protobuf-6.0.1.tar.gz
.
File metadata
- Download URL: im-protobuf-6.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b404ce936ce2b00026f1ef65ce285af3b5e94aee322be873feab23c221d6122 |
|
MD5 | 6f64f90c5722fe5ae0ccd60d7b385704 |
|
BLAKE2b-256 | 202bc4598f3313d5dfdccf12ebfed7c0e084ccc4945229d0d3084cfd41338499 |
File details
Details for the file im_protobuf-6.0.1-py3-none-any.whl
.
File metadata
- Download URL: im_protobuf-6.0.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16c83301cf3e305cb7360776b8194c3c5a5ffcecd0209d0ccb068fef06d1c10 |
|
MD5 | 334a37055155f8df07219a47166d86aa |
|
BLAKE2b-256 | 7a5f45793ebe4ba4402492cbc70bf7c5abbb784c50a9e1f2f7e0b81ba71b6a25 |