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

Uploaded Python 3

File details

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

File metadata

  • Download URL: type_safe_mq-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 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.2.tar.gz
Algorithm Hash digest
SHA256 ad8c8579199be3dcfcb8a8912eb4f4a22b684ed2ed6b4247419fdd05159e1750
MD5 f01fea4436fbc5c29ef3e4f71a862e70
BLAKE2b-256 0a7743f5dd4f5ab6895663ad7c69cd1432cadd0a8427ded995ec8df5206282dc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: type_safe_mq-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42ee6e4ea5b139042e89643b79a599ff9cf68d8c67536402f9445608a0150d3d
MD5 a5e7879fc6c14ad0f2382188016d8ffc
BLAKE2b-256 510faea6d6f7ace65bb699dd6200a39d45e8fd19bb22513731ee9d3c881e0cfd

See more details on using hashes here.

Provenance

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