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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072905-cp310-abi3-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072905-cp310-abi3-musllinux_1_1_x86_64.whl (9.2 MB view details)

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

baml_bridge-0.15.1.dev2026072905-cp310-abi3-musllinux_1_1_aarch64.whl (8.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072905-cp310-abi3-manylinux_2_24_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072905-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.1 MB view details)

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

baml_bridge-0.15.1.dev2026072905-cp310-abi3-macosx_11_0_arm64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072905-cp310-abi3-macosx_10_12_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 baefbae87fcdef9af92bfef5ed9ef687f7b6e80f7b8c7584afdfd7c0238e8cc2
MD5 c568383c9596418420799b0faf320957
BLAKE2b-256 d7a656fc8e41bc3e3f94d3d87b4b23acfa2c558cc4de57ac06a2e5208ae25a16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 22c4834b414cde3eedf4fc381c9136bd4564033ffd9a226d92fb9e998245a868
MD5 88ffeff9670ada10b757292d5545e94a
BLAKE2b-256 c9efe306adebaa29dd880db114f4ae4cfe275fb625cad13b65ed81e8738b4e79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7c03df9d5908cb2698855991e004bb2aa0355f9f462565d99f7e0d883a902ae8
MD5 2a2a4ffc623cb20dbc9c46d70e2b97f5
BLAKE2b-256 0da5237d19f360b5c6cf4a4e998f53425eaf6f381570029fc98796d102d371a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c65c90b3881680c7ef7e667c35e1e8b63feea4c3d02e291aa261344c7e25f843
MD5 9de5264b0668f040b0e33588f6ea93bb
BLAKE2b-256 cd6dd50bbc21b8b3e985e3ec1f527eb741378eb822d7947cd64b5f0d2b7b0420

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a905b8676ca2e563d8c8edd737b97414e6886158d1054ba64d11d2baf4b71e59
MD5 b468ff35e3ba891410a00fa5de965308
BLAKE2b-256 b7dbdcb9d34fff6486eea5d2928c12b89d3057005d9174826c462da38777d62d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3cc7c423fc5a1a3363bfa8ebeee93bcc5304e30833d0c7dca876470687c5cdd
MD5 eab034217ed7ad6625a9f406a336369b
BLAKE2b-256 e985678744b2ff79247188279d46f8b75aff326094f9d294720f2981c62c4d4b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5c4f61bd1fe678757ded41ee01ee5cecceae690b24aac9753b58df997c7553eb
MD5 fc256acc2fbd17acfb23ffecb2376ec9
BLAKE2b-256 e0831b4ac8ccecc1e0f673e4c55b22c3413db58e3a2fc84c508a964554568fd8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072905-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 68a84fa9abeb5062ea25411a84aa7f3b6b6dcf5bcee3d47de4c3711d22b76934
MD5 8fcd734e5cde6341286779e8028cf76b
BLAKE2b-256 0e93ddc1d1104dd2d47ff0cb484d4a39fbd78d4a163f200f8432ef356546de14

See more details on using hashes here.

Provenance

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