Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

benzene-codegen-client

Generates a typed, topic-scoped Python client SDK from a Benzene Contract Document ({Service}.spec.json, served by a Benzene service on benzene:spec / /benzene/spec — .NET, Go, TypeScript, or Python) — so a Python consumer of any Benzene service gets a typed client with no .NET SDK required.

This package is a build-time / CLI tool, not a runtime dependency of a Benzene service. It depends on benzene-core (the generated code's only runtime dependency is benzene.core.clients.MessageSender and benzene.results.Result), but nothing depends on it.

See docs/codegen-client.md at the repo root for the full guide, and docs/specification/contract-document.md in the Benzene spec repo for the normative format this generator implements.

Quick start

pip install benzene-codegen-client
benzene-codegen service --spec payments.spec.json --service Payments --package payments_client
benzene-codegen topic --spec payments.spec.json --topic payments:capture --out payments_capture_client.py

Metadata

Release files for benzene-codegen-client 0.1.0b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for benzene-codegen-client 0.1.0b2
File Size Uploaded Provenance Actions
benzene_codegen_client-0.1.0b2.tar.gz 15.9 kB With provenance Details for benzene_codegen_client-0.1.0b2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for benzene-codegen-client 0.1.0b2
File Interpreter ABI Platform Actions
benzene_codegen_client-0.1.0b2-py3-none-any.whl Python 3 none any Details for benzene_codegen_client-0.1.0b2-py3-none-any.whl

Total release size: 36.6 kB

Release files / benzene_codegen_client-0.1.0b2.tar.gz

Download URL benzene_codegen_client-0.1.0b2.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d9e9145742e85a5786f4e835055afa936bcb64b7e72388fb0f9deb7c6b799da5
BLAKE2b-256 checksum
How to use checksums
1dcc62910aa7f17989c5698dd09cf9e61f0bc5ffcdb823f99fcefe9fd38ef87e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / benzene_codegen_client-0.1.0b2-py3-none-any.whl

Download URL benzene_codegen_client-0.1.0b2-py3-none-any.whl
Size 20.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b8d9f7b4a6935780ce21d961454c20087c241351380c40421ee50b71b95321d
BLAKE2b-256 checksum
How to use checksums
0be21e7194ea9d465ee8d92804445df87b7ced53aef7814ac631660954e303d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Security for benzene-codegen-client 0.1.0b2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for benzene_codegen_client-0.1.0b2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page