Skip to main content
Pre-release

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

baml_bridge

Python bindings for the BAML runtime (powered by bex_engine).

baml_bridge is the bridge layer that generated baml_sdk packages import at runtime: it provides the BamlRuntime singleton, the protobuf encoder/decoder, the function/method factories, and the Collector / BamlCtxManager observability primitives.

from baml_bridge import BamlRuntime

rt = BamlRuntime.initialize_runtime(
    root_path=".",
    files={"main.baml": baml_source},
    sdk_root="my_sdk",
)

This package is generally consumed indirectly via the code generated by baml-cli generate --target python — direct use is reserved for runtime authors and bridge tests.

Requirements

  • Python 3.10+
  • protobuf >= 6.31.1

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_arm64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_amd64.whl (8.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_24_aarch64.whl (8.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_11_0_arm64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_10_12_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 286b692e546a98dba4ee014b612a2f56bf73483fa0aef22c6233625ce7444f72
MD5 79eb0305305f826ba29907efadfd9f02
BLAKE2b-256 0d84c71f752be41d3acc174437d0c68c910f0b69af17cf5bab802e6b05e2a39f

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_arm64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3a3046db9eacf4f48d1c2c9e6e2d023493b907f954290359edb47e252aa1ad46
MD5 62a9f8e5b1bc3889cc252f47a6b15447
BLAKE2b-256 a632c6f57bb94a1f86bc6f7a600ad87b9ef567318fa8dd0eeb44759df751e575

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-win_amd64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3c5201774457a05694aef37f37b063df4eea2bd35959c379c1a86574253a7930
MD5 556712373bd710f3bc3ab2923064e7ff
BLAKE2b-256 ba4ff6da980b9cd2c1e3be03d48790292ead276c4c795e1c0a6aa4ea4638d3f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e57e4be0013c06264baa20434b8b7b929e6d0efca56f66c01e22d77b02991015
MD5 571e3f8cf25362a23b6b61e1538d4e53
BLAKE2b-256 51fdf7c12852356c89716ff18b7d1af53742e6d990787a8971e2086c591cfb86

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-musllinux_1_1_aarch64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3c9e228ff19a2a96e39c93b162f5c543f91814e911ea604193ea7c96fbfff3f5
MD5 e0a0b01c925c21bee2842f2b03c679a4
BLAKE2b-256 e4b2b3b6ec4fab0589a283500cb3fccdae31722ccbea98d8ca48e5f189eb1505

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_24_aarch64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 224ff261a2e0891a52508b69fd5c198aceeed6646a57fa96ca3b84c3381a4de9
MD5 3f93f648d6a31a2e0867087190aa5f76
BLAKE2b-256 6fb926ecbe476b760f9bf36534c0fe09e8b5bc3822bf798b3614a265adbaae57

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 de8e5eb033b4f61d8147631fba6e5ed4a9da8e0a1f4a13feef2faf3449a040a3
MD5 7efbf32d64242c253376c95f6b0e30d9
BLAKE2b-256 d5e2c5f2ebaf91e18d314b3ada0da14460e34cb16014a1334da2104aba431a50

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8ad4960fe92ef2cf3d0b2c029994b8381133b82ad9764931738c72865d039add
MD5 16560c81ac565fefe9c6b5c168025663
BLAKE2b-256 3c130b7f6e94af7ec8b50e92d613b18e26d205e720eda560cfd822eb4d6622c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.15.1.dev2026072303-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.17.0

8 files

0.16.0

8 files

This release

0.15.1.dev2026072303 This release

8 files

0.15.0

8 files

0.14.1

8 files

0.14.0

8 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page