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.14.2.dev2026071202-cp310-abi3-win_arm64.whl (8.0 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.14.2.dev2026071202-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.14.2.dev2026071202-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_bridge-0.14.2.dev2026071202-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.14.2.dev2026071202-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.14.2.dev2026071202-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_bridge-0.14.2.dev2026071202-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.14.2.dev2026071202-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.14.2.dev2026071202-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 6631c0d10dfc41ad8d039645d20d208170bd2922604c54e8e9cb8aa88c788ab4
MD5 df2d423eac91e97db58d0f442d6e8274
BLAKE2b-256 c49c3918ea8068f2fd285e7664dd72bbdfbc3bf7ac97ce3a8c17ab0fbb42f7fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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.14.2.dev2026071202-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 14210adfbda3fb92212f19f5524ebdde73c0dcd7cdf1a3014dcddb1805f7a60f
MD5 2eebae6cf3aa3adb146cb1fed3b9933f
BLAKE2b-256 67790933452fe72b05ddefc13bfd338bcf043e6d0080837353a03cc7fc0f23de

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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.14.2.dev2026071202-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 124106588c756b6e2531445909f5e3c0a12b89dc1e7633c7aab09b6e4c7c7a31
MD5 055199ea5c9a6a5a5781114623826be7
BLAKE2b-256 0b27832e01fce4613983f3daa27b3d0d3abf8a8b15495514c08a138951e568df

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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.14.2.dev2026071202-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 61bcdd3f5bc174a7dc14d1c34f6eb135a60cceebe69b39b2776f130db8cb3fb6
MD5 5c663674c92b499d7fcdea74cf470a2a
BLAKE2b-256 6e521848cfb024bba0943c4e108d8f96e702dbb1f1d6a35433f586644ed8455b

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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.14.2.dev2026071202-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 63b114f5ea3dc2f6fa75f53348c05485f67eb43dc6c764711273726878a2a67a
MD5 0e17d4f64164ff706ea1e2cd1b4fab45
BLAKE2b-256 5a8dc95e3def42ee069774614846771df6af8609d6d034672150d9d19d775116

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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.14.2.dev2026071202-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d05ab1c25d13b1ced4926958a294548fdc5464f71772bcebdf8fb74f21d359da
MD5 20bb8ec21345cc3d6608a764f6d19cba
BLAKE2b-256 196dc2562de5a3a0d6c16b000e7426e27782213af1fdde1f33a8417f7524be7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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.14.2.dev2026071202-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06e3ab3f4aca2a9e0895991558ba7311bb4d9427721c8cecf5701501ef474545
MD5 93bfa7635dafcb5d6b49458b83665728
BLAKE2b-256 6f37ad07d313447ad2a625dd23e6d5291fe1ac11ff1964a1a396c95f7422931a

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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.14.2.dev2026071202-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071202-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b124987bf982bb959ebcdb36fc60aa2d5c32ae5c4816d306bbd569593907c644
MD5 c8fa10131b6ee9d759fcf8cd6b74cc49
BLAKE2b-256 797c2abfc951852ee4ef0c93c50e51cc84a71bd7318883a1224db2e77df2e14d

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.14.2.dev2026071202-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

0.15.0

8 files

This release

0.14.2.dev2026071202 This release

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