TogoMQ Auto-Generated Protos Package
This directory contains Python source files automatically generated from Protocol Buffer (.proto) definitions.
About TogoMQ
This package is maintained by TogoMQ, a SaaS company providing modern messaging solutions.
Overview
- Purpose: Provides Python types and gRPC service stubs for use in applications.
- Do not edit: All files in this package are generated. Manual changes will be overwritten.
- Regeneration: To update, re-run the Protocol Buffer compiler (
protoc) with the appropriate plugins.
Usage
Use the generated Python classes in your project to work with the message types and services.
Install with pip
pip install togomq-grpc
Usage Example
from mq.v1 import mq_pb2
from mq.v1 import mq_pb2_grpc
import grpc
# All message models are in mq_pb2:
# - PubMessageRequest, PubMessageResponse
# - SubMessageRequest, SubMessageResponse
# - CountMessagesRequest, CountMessagesResponse
# - HealthCheckRequest, HealthCheckResponse
# Create a message
request = mq_pb2.PubMessageRequest()
request.topic = "orders/new"
request.body = b"Order data"
request.postpone = 0
request.retention = 3600
request.variables["order_id"] = "12345"
# Create a gRPC channel and client stub
channel = grpc.insecure_channel('localhost:50051')
stub = mq_pb2_grpc.MqServiceStub(channel)
# Make a gRPC call
response = stub.HealthCheck(
mq_pb2.HealthCheckRequest(message="Hello")
)
print(f"Service alive: {response.alive}")
Generated by bufbuild/buf and the Protocol Buffer compiler.
Release files for togomq-grpc 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| togomq_grpc-0.1.12.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| togomq_grpc-0.1.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:13.7 kB
Release files / togomq_grpc-0.1.12.tar.gz
| Download URL | togomq_grpc-0.1.12.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
909fe77d7f2d2fdfab8a8b8d64004c17c55239f2ebeb36ca9da5f9d65170c74f
|
|
BLAKE2b-256 checksum How to use checksums |
16e01bf718ced69dc91ecbfe8a6d1558e18fb5af01f76afcadbec13450f648a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2025.
Transparency logRelease files / togomq_grpc-0.1.12-py3-none-any.whl
| Download URL | togomq_grpc-0.1.12-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64e570bbbc4cec2f88adb861054bc2ca1f2512f1a38f4f25701cc4d216a68b25
|
|
BLAKE2b-256 checksum How to use checksums |
aa8231a68a064d7933803e9cf2139b4eb38952f1a1a433d4122ad25ccd52c91d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2025.
Transparency log