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

Tools

Guides & cookbooks

Concepts & the spec

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

Status

All nineteen packages are published to PyPI as pre-release betas (0.1.0b… — for early testing, not production; pip install benzene-core benzene-http works today, see Publishing). The core, the inbound + outbound HTTP and gRPC bindings, the three cloud hosts (GCP, AWS, Azure — each multi-transport with egress), the Kafka and RabbitMQ transports, the mesh module (self-description, tracing, and collector feeds), the cross-cutting middleware (resilience, auth, caching, OpenTelemetry, OpenAPI), payload/handler versioning, and the Cloud Service Profile's well-known HTTP surfaces (/benzene/invoke, /benzene/health, /benzene/spec) are implemented and conformance-green. Every conformance fixture that applies to this port passes — two of the fourteen are conditional on mesh capabilities this port does not implement, recorded with their reasons in UNRUN_FIXTURES — see the roadmap.

Project internals (maintainers)