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.0.tar.gz (3.0 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.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: type_safe_mq-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 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.0.tar.gz
Algorithm Hash digest
SHA256 668a757a5e97dec73e8ad97b2d58d71050ea1dbaeafb671b66f5ba8c83019b91
MD5 497daa4708d8e67b2f7d88d66868acac
BLAKE2b-256 86b21bade61a8ef4315b0cfc20ea2b28ea3beb907ece89785fe94b904ebbc4a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for type_safe_mq-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: type_safe_mq-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5dd4cc8ed01f8fc5264288c3b239c70788b73cbdd5525363a75e09b90beebc0
MD5 6bf605843d0bda69fb70c37296c06eac
BLAKE2b-256 abfb23f80d16e65e10ecb819c0a1890582fd87fba85ee29dc46b07c6837c3724

See more details on using hashes here.

Provenance

The following attestation bundles were made for type_safe_mq-0.1.0-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