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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026071601-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026071601-cp310-abi3-manylinux_2_24_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026071601-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.15.1.dev2026071601-cp310-abi3-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026071601-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.15.1.dev2026071601-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f8597a8466e17640f74964690d5ac78fc89a7181a54e67a605a7c17b77ff3a3a
MD5 119c7199aaf4ce1e82455850dc2c099b
BLAKE2b-256 614148b64e5dccf2a4f3744d2bf6f9165baf5a44ebdcead4023fa55762747698

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fd25c34060b679532fe5ad1fece051c5c29b20ee119f24377073867b20db0c5f
MD5 8b0cf63dc4fbf0965a29f8ecac29764b
BLAKE2b-256 cb8197f676c8d3a3448b3fc06b8c3330448085d473c68d865dc26a7c368fa053

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d5691747f23ec33e74a5b72ffa255e510833344605b6a9db863d2397c53d8a56
MD5 2546b08c98fcb2fe72e95aeb6c02f68a
BLAKE2b-256 967e0a7b8270a0f4fcdf9294e19e8a76383120fdf9ea55836ffa9da3555b6121

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 1901a7b6e512259f8eed92d134257ff1ac7b5c63ad7631680d3c234113ce0fb6
MD5 227b101e61f651aaa53a1ef178c7345e
BLAKE2b-256 24dd3d42fc305491cff43ebc4c40df89cd9ed1166a96a5a7397aa37e4946d20f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 03993e9b2192fb85570d43c4f1fc3d403116f5bc192a2e7353ebd0ef64968b04
MD5 5b69c3b7b62dc46dad1aef174558588e
BLAKE2b-256 5d1dfd75c4e7fe7504d641772fa7e8e441262e92dbd5fd8053195444d0b0110f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b0aa472e1cf880e30681e1d454d6f1d1915d50fec378fb6c31d092bf98584ed
MD5 e7c6957930cf8f83c18aa6f76bb2781f
BLAKE2b-256 c4c9cfbae119888ed568c45a367088844e6ee346837dad5a8455f475449d6002

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 48abe232c763d08b33275943aa56faeb18bb94fd114a3910cfac28cb28caf004
MD5 f9be92b1df605c6ee5dcf82fa1d1aeb9
BLAKE2b-256 0689201700a608943e1f72f55caea9cf4efb6233f22d64478e295bc897984e15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071601-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f48375040fe6f5acc87d21a9c1cdb3229a695366db2f7fa1abe343a2028baa4c
MD5 eebe5740e397afe2eef23d114fd06db0
BLAKE2b-256 7a9898bf7afe32d311d2057f96e68c82d1b697495dfd2a5658ba4973b78d80d8

See more details on using hashes here.

Provenance

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