Skip to main content

Type-safe Protobuf envelope utility for message queues

Project description

type-safe-mq

📦 Type-safe, language-agnostic message envelope format for distributed systems.

type-safe-mq is a lightweight protocol and library for wrapping and transmitting typed Protobuf messages across message queues (Redis Streams, Kafka, Pub/Sub, etc). It ensures message integrity by enforcing type-safe payloads and standardized envelope metadata like origin and timestamp.


✨ Features

  • Language support: Python & Go
  • 🔒 Strong type guarantees via Protobuf
  • 🧩 Structured envelope: payload + origin + timestamp
  • 📡 Suitable for Redis Streams, gRPC, Pub/Sub, and more
  • 🚀 Lightweight and extensible
  • 🌐 Node.js support is coming soon!

📦 Envelope Format

All messages follow this canonical envelope structure:

{
  "payload": "<protobuf bytes>",
  "origin": "pod-xyz",
  "timestamp": 1716041999999
}

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

type_safe_mq-0.1.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

type_safe_mq-0.1.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file type_safe_mq-0.1.3.tar.gz.

File metadata

  • Download URL: type_safe_mq-0.1.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for type_safe_mq-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ffa5a8296cd1c471c761904491b1676fb40cb2e147cea65f57c6a3b3e4d2f599
MD5 77fce8e49edc7bb8afaf1165388c6fd4
BLAKE2b-256 55851323766efe81cecd06f53c39761fe2c98397f9b30de1cb7faf480e6cfc61

See more details on using hashes here.

Provenance

The following attestation bundles were made for type_safe_mq-0.1.3.tar.gz:

Publisher: python-publish.yml on prismtech-dev/type-safe-mq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file type_safe_mq-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: type_safe_mq-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for type_safe_mq-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 45a6499cd6f084181e4ec5b5fba2f09eb0795c6c1c455cdb1ca2408508972d58
MD5 57004896c9910feb7baa9c64a7440587
BLAKE2b-256 7896c3be6a4eb41303d605d8d9b04042076e69621cc2717dded543b00a36350b

See more details on using hashes here.

Provenance

The following attestation bundles were made for type_safe_mq-0.1.3-py3-none-any.whl:

Publisher: python-publish.yml on prismtech-dev/type-safe-mq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page