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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.14.2.dev2026071005-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.14.2.dev2026071005-cp310-abi3-musllinux_1_1_x86_64.whl (8.6 MB view details)

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

baml_bridge-0.14.2.dev2026071005-cp310-abi3-musllinux_1_1_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.14.2.dev2026071005-cp310-abi3-manylinux_2_24_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.14.2.dev2026071005-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

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

baml_bridge-0.14.2.dev2026071005-cp310-abi3-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.14.2.dev2026071005-cp310-abi3-macosx_10_12_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 080b020f2929865d59f7b365d0c4ba516b265f0489cd193b2bbafbc0133bc026
MD5 4ab97b2f897edc0bffa90f04682b67e3
BLAKE2b-256 1b385457758bafe406d2743545e42008da0d5dec20eef7cd18d680d48b0878ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d81cf46eff86d9d2d647f0daae0ae4a06e04fc4c8e446cae4a19be867a462811
MD5 7956c9bf863c7386f83bda83c420c2bc
BLAKE2b-256 8d1bfe10f788a99fd10b49a6b617126eef634330a35f841cff13f2df368a1aa3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 45cc4c8faf2c50b3f99b4f20fe06b3d4e4f6536f4de9e7188940da8b784198c3
MD5 6ce14343ef4ca704c19a1fc4fa9f2a48
BLAKE2b-256 6c43dcaf63c58a7656966bbe0079fa55661ce7b9ef9c231fca39c35ac547414a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6c69a730ff4feaba2d8df49201bb009a874fc33ac8a3effa126d85645c294ed3
MD5 f0b5a91569889847673b3928a7c5bdf9
BLAKE2b-256 ff4ee243714c0cfea78336fdd7379e97be9d178b142a0c4a84d2b738d091e04b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 77df5957e6ead7c0de737265b378bd07d6806e504543b5e8d9744106dd0fe9a4
MD5 5a176594c55def8771c074f8702be0c4
BLAKE2b-256 8f9297b1d073feafcf0caceded9d3a7713ffc2be07f8c24a6d8dbb217c2c5adb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f28b9baa0b872fd9ecb4117376f013d75f1ac4743b256af34715ff33113d37ef
MD5 24075849b2b44f2d897568110b0b1903
BLAKE2b-256 a9c06f21c8fee9cee22f6e2723586b716728e6ebbddf492ea7aee20884b07364

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4697ce8c6115a063b012401a2d839e1ec8d9a694f66f5ee7db78ac7182e7953e
MD5 0393be563e67739fff01f353d6faf54e
BLAKE2b-256 7db6a7c157df3d83e2922d63899f3f8d74d8cab854637dd62a7c9cba41ab364b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071005-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0c176df26c3d0c5cd6e1827a407f4f242936c59daaa767b269095ea54da219e3
MD5 490cc23ab036834755221c980756ce07
BLAKE2b-256 9858001045f5543ae90edbf39651089e64644a18aa691c6b50e4664a5a520459

See more details on using hashes here.

Provenance

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