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.dev2026072306-cp310-abi3-win_arm64.whl (8.5 MB view details)

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072306-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.dev2026072306-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.dev2026072306-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.dev2026072306-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.dev2026072306-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.dev2026072306-cp310-abi3-macosx_10_12_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 fc2f7fb5bd3c9c635756b0a001d6641245a30e31e098ce0ca6b8f8dc6b46c585
MD5 0f619fe9f1c197c2939d86bdc50a692a
BLAKE2b-256 f9cac1a55e7e35c212d2ba1563539c6f8b6a06989b0da464e974c98f8f5404b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e7a9f4ba9c50bf590393c1750c9a3e6f881671b794f983f883c38df3995db5c0
MD5 058245be596230b43eec6d05b3a7f93e
BLAKE2b-256 847b38fc28ff7c91c38480ef805263c9fd9721fc858735efbccb553255f0c90c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6b73a3046cb573665515a5c48ba06be08a03a790ed140f9d93a90ff458fa0b6b
MD5 95e3d54d6ceb308d88324a6bee382570
BLAKE2b-256 eade0a26908c4c516cf7ab185796e6eca293ea4249a873058dc8031463ec29a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 4e6e6c2143be4a19809e743582b5ac1a747911721a6e64fe592b46a77d85cf17
MD5 c874f24cb0ac2dec373784c7e32bc81f
BLAKE2b-256 80695f1b6773174dc83fb0eec93928b179ac42e6efbe6e25d728a9721d835e30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 f8a24bcc6dc677893e68c3879a4c70bc76a78ce77a28a0e1c7e03aeb75858900
MD5 ef560cfa7dee6274fb2a912afebb7bc0
BLAKE2b-256 f084b2cc7b0917c174e79356fd838ef14ab17c9626732ff2e31502355ee8f0b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 275a5a2f24afeaa5ac5476f1c76f0a14c13e3fea653d3f558b55755d83ddc77e
MD5 0480a2a767ba42107dbb80c04f713e15
BLAKE2b-256 9c0054df6a8a5dbab940cd0d7460e379010ac98a71c8756265440e39d287cd07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67488b75d994f1b738807565d4f83718bab0895d6396a4ae877363f12cffebeb
MD5 c132543bc76c013563d56c26e624980e
BLAKE2b-256 75c1c5dd3f624762c73baa9d3acd7152559960f3bf7bea696761b42a94958840

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072306-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 600d39433a169e4fe281caf4f486a05a3ba72a359856288ef7f1ee49018c6dd3
MD5 09378e75bb58fd1284c3550eb5266e57
BLAKE2b-256 d7cd7dfccf4ef26974606d172c4991b02c092823e1d19255def467ede643510a

See more details on using hashes here.

Provenance

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