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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072704-cp310-abi3-win_amd64.whl (9.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072704-cp310-abi3-manylinux_2_24_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072704-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.0 MB view details)

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

baml_bridge-0.15.1.dev2026072704-cp310-abi3-macosx_11_0_arm64.whl (8.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072704-cp310-abi3-macosx_10_12_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 907d691f5c8e07d845aa89fcc9c36d90d6885a10fcc51e16b41af93f119df831
MD5 1efb554feb158a04ebe9cd2ad16fde39
BLAKE2b-256 b6cdf56ba62f1fedf1ee23c2c291af10e81d336035f38a2519d6f0bde7abf9ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aa5b47a9372917871349545d7c717e75cda9468bde55170a559c296a07eb547b
MD5 d4a44943e99c9494e1a81bdb2f298ffd
BLAKE2b-256 7554e17657d395b41aca766fd3ee28833c4ff0be6e77307c25313d0adb5d1ed0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e060874c9d8cf748fa862205a0aa4a5b70b96644dfc72626f93aab5b85591269
MD5 7907eee9d44a96574a65be8765176779
BLAKE2b-256 f9d7a73f4e858a2a2fd34dc19f60c5cf32dfe6507b45123bee042c3c03ed718b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 d15f2b0d610fa50e72823b30512049eae9343ba14efa1648e92244f5ed867d7e
MD5 8f795a6a880ff9ae8c0951f1f43285ce
BLAKE2b-256 1e4823772d43d7e609b138685a03a6079e459daf9493daa04add777afa8b8162

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0833a365380eb19239809495d8f4a272f0a55baa9f2aceade1abede0aa825d20
MD5 6fde92e297b8939d4c6d7f268f0848f6
BLAKE2b-256 4e81fc2824d4e4d8f5f874543beac4dd15ee269c64c87e4584fdea3c071f0083

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce05a88ad859bbdd38f2681a0a7cdb9094b19a0cc6f3e7d983aa0f28245ccd50
MD5 f2eaa181f683dbd49693d049378a35d7
BLAKE2b-256 ebd9dca9ac49d360e24422861d83f1e988874ce99b03541d86df4b3cfea369c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a81f3d33405fdc55af33830c91fedc38ee3f9e251a7748e7b000b7f84e0e76c
MD5 143b8bcf647c014a38abeaf3098f661f
BLAKE2b-256 628df2985db7220420143fa229241914c72ae26dc5763dcc5ff11478d794dbe0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072704-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cbbd37348bf20567aea37b76c943888fb8104a148dc1dae5581a9e79b60c4035
MD5 ce323c0d65b31bb1aa643ce912087760
BLAKE2b-256 1bc900830ef0814ab0a376e1db09ebbdd38ce1d9bff4dfa67a71798264ddf58e

See more details on using hashes here.

Provenance

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