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/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
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-2.2.1.tar.gz
.
File metadata
- Download URL: im-protobuf-2.2.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ee8b01d69475bcb65d17d67636ddc83ded373d03c4eaa0a45400db5aca412d |
|
MD5 | 55c31a4436edcaa27e62f7dd4d4ef54b |
|
BLAKE2b-256 | 556a1a38a3d9c6f4670f425330e159da9647b3764a5bf74258df1092c46fe0df |
File details
Details for the file im_protobuf-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: im_protobuf-2.2.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e11e29c832e456d122fcefec0f1c1d05a84f13859d88c359513019f6d9e7d03b |
|
MD5 | 4d0549a152a6f192321d742ec71e5697 |
|
BLAKE2b-256 | 246f244352786f038f05535130f379568ae8af7bd9517b6737f42c5d1ebf454c |