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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026071404-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026071404-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_bridge-0.15.1.dev2026071404-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026071404-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026071404-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_bridge-0.15.1.dev2026071404-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026071404-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 53a8611b980ab245e254ff3913873a3288616fb0945d30bdd1aa5c43c0ab7357
MD5 e223d7f61f162cb3a3fb6367088cfe61
BLAKE2b-256 c06253c1760f0a6fcdc65ac432ed7886f8b7cc21cceb515e6aea1574e23bf4c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 33071457a32b9e86b6c605052f09d3163784a4fa391e0fd97f2901afd2568218
MD5 b6684e10bb276a29cb535fbbcc07f5fc
BLAKE2b-256 f5a7d7c35aba67640279c724e7d2d472018c386219240118f7d07dec0dc4e32b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f32898c6e32d65b3c1cb6ef6a2c3138e9dd4fcccd240f3f1f50fc71193134278
MD5 a718cea92937876bfc58a0d8f5c3dadf
BLAKE2b-256 a2f085d35caebb9b554282d86200722e0b15479234d0af2313ce26f2519801e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 37bb53f7fa879d8d0cd372e822333001115b8f9ad332bc1f5d9d6bc3366d8ef8
MD5 b5eab64fcb1c69232a8d37c0db152476
BLAKE2b-256 d45ae42503a22e06166b23495b9163ae4019e70ebefff9c2f4ada616459f6136

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 bd56413950972820f914265c0853d9905417d10b9444f19ca2ea0166fe9ca30d
MD5 a963301b5aafc385a5afe5670ff738b9
BLAKE2b-256 abe174919fe831ff72056973299a32fce2f98632680d005cb453de891ef7a951

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a05bfdc819c033352f53a11d0ea5d729f950ae1ba558077adf3194acc0a62dfb
MD5 94c70ec35d93ff347e3a7e667a8928e8
BLAKE2b-256 647d39e2801de121673cc386f5a3f09e2ea1ede9ef8895be97b0a30e2ca982d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 312aa7dd1a63f2c4ae1cc868452c9c710850163fb9cfb409cdff83563c6db706
MD5 a1f473ab9bdefa18ff4ea3c019ce4043
BLAKE2b-256 822a03bec5995c1ce13562216b9c3bdf32cc8424de37734d7a1505719071e78b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071404-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6251c9f2c7d7119634613c2c7ead75bb75d7f17248bd6daa589cb5f0902b4d46
MD5 79a90bf2ec24a66049ac22fce3e249d8
BLAKE2b-256 9157b1f0318320696f4e3b27752ff1b2c857c5605df15a53ee9f7495aadf338c

See more details on using hashes here.

Provenance

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