Benzene for Python — Documentation

A Python port of Benzene, the middleware-based framework for hexagonal (ports-and-adapters) architecture: write your message handlers once, host them anywhere. This port is spec-first — it implements the language-neutral Benzene specification idiomatically in Python and interoperates on the wire with the .NET, Go, and TypeScript ports.

Start here

Reference

Guides & cookbooks

Concepts & the spec

Benzene Python is faithful to the language-neutral specification. The authoritative documents live in the main Benzene repository:

Status

The core, the inbound HTTP binding, the gRPC binding, the three cloud hosts (GCP, AWS, Azure — each multi-transport with egress), the mesh module (self-description, tracing, and collector feeds), payload/handler versioning (header fallback, HTTP /v{version}/ segment, opt-in highest_version selection, the casting-handler pattern, and transparent casting), and the Cloud Service Profile's well-known HTTP surfaces (/benzene/invoke, /benzene/health, /benzene/spec) are implemented and conformance-green. Every language-neutral conformance fixture passes; the remaining work is publishing to PyPI — see the roadmap.