Skip to main content

lmux-bedrock-shared

Shared internals for the two lmux providers that talk to Amazon Bedrock:

  • lmux-aws-bedrock — the Converse-API provider (all Bedrock vendors + embeddings).
  • lmux-anthropic [bedrock] — the native Anthropic Messages API provider (AnthropicBedrockProvider).

It exists so those two packages don't duplicate the AWS-specific transport code or the Anthropic-on-Bedrock pricing table, while keeping core lmux free of any AWS-specific code.

Contents

Module Purpose
sigv4.py sign() — minimal, stdlib-only AWS Signature Version 4 signer (unit-tested for byte-parity against botocore.auth.SigV4Auth).
eventstream.py EventStreamDecoder / decode_messages — stdlib-only decoder for AWS's binary vnd.amazon.eventstream framing.
pricing.py ANTHROPIC_PRICING + calculate_bedrock_anthropic_cost() — the Anthropic-on-Bedrock pricing subset, generated by scripts/update_bedrock_pricing.py. Shared so both providers price Claude identically.

sigv4/eventstream are pure stdlib. pricing depends only on lmux (for the pricing types). This package is an internal building block; its API is not intended for direct use outside the lmux Bedrock providers.

Metadata

Release files for lmux-bedrock-shared 0.3.7

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

Source distribution (sdist)

Source distribution for lmux-bedrock-shared 0.3.7
File Size Uploaded Provenance Actions
lmux_bedrock_shared-0.3.7.tar.gz 13.0 kB With provenance Details for lmux_bedrock_shared-0.3.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lmux-bedrock-shared 0.3.7
File Interpreter ABI Platform Actions
lmux_bedrock_shared-0.3.7-py3-none-any.whl Python 3 none any Details for lmux_bedrock_shared-0.3.7-py3-none-any.whl

Total release size: 27.7 kB

Release files / lmux_bedrock_shared-0.3.7.tar.gz

Download URL lmux_bedrock_shared-0.3.7.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6c7f611a0df7b9af39543768d90f3b0eba6efb55f722a041ce9df560ac98a0ce
BLAKE2b-256 checksum
How to use checksums
ea77a45d3d856f90eea80f7d8d9b87bff5b6d49b57ee4cc84101c6ac86d91ea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Nov 18, 2026.

Transparency log

Release files / lmux_bedrock_shared-0.3.7-py3-none-any.whl

Download URL lmux_bedrock_shared-0.3.7-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
494c82ca002b4b8801bcd28bec3510d7d971b02df048204e7553409dbc29a1d3
BLAKE2b-256 checksum
How to use checksums
4290ec1ad15f2ebc34838a2eac1d5a8fabed712e510c83a9e4032102ba79b359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Nov 18, 2026.

Transparency log

Security for lmux-bedrock-shared 0.3.7

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lmux_bedrock_shared-0.3.7.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 Nov 18, 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.

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