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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072204-cp310-abi3-win_amd64.whl (8.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072204-cp310-abi3-musllinux_1_1_x86_64.whl (8.9 MB view details)

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

baml_bridge-0.15.1.dev2026072204-cp310-abi3-musllinux_1_1_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072204-cp310-abi3-manylinux_2_24_aarch64.whl (8.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072204-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.8 MB view details)

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

baml_bridge-0.15.1.dev2026072204-cp310-abi3-macosx_11_0_arm64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072204-cp310-abi3-macosx_10_12_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ef41bc868ba065c483ea17d4b088a4a06892ced5762f00345b31b75a574d4087
MD5 9bf36deab505cd052ec3f1c78cf5116f
BLAKE2b-256 7c625ad77f85aba62b55c8c2fe201618d362b540e3ae538097e9a33f096a561d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e2335a75e9111485d956ebf9fc0086fa423dd2c464407ed3ea4cc7bb3f3cae8f
MD5 a6776a3c777cba34371d9c13930bd9cd
BLAKE2b-256 35d384c503f2885c5ea92d1a58879fa99b4e83854e1ad141e8364c5ff2074975

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5d64c25b274e7c73137f4e5c14ffd031c9e9d2e6ba7eeb4d6e416695b7245b63
MD5 254dcfb4e6655e6a0225127bf30a6402
BLAKE2b-256 7fdad1e5140ae6a614accd033d02cefbbc8794800cf8dcb12405a33c4a696b68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e0ec142587383edd0d5ec3c3829b71ee784f293f586c62012830489244e6cf8c
MD5 38ac55baf44e034153e84e1e80ae8d1d
BLAKE2b-256 895bbd28e91a584b518de7367476a8c06f9b6f53c34fb5392cf57df97526abe4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 cdf11ede5b74acd10f1d1c9bb7e52e7affa2190119480e733aff837a270e1d59
MD5 e970a8173e0306551212c2a7ac68d497
BLAKE2b-256 0ff9cf86f96e4415f96483899d2a4e51cd35880449b3c0c716fb4c1b05ac2c1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9cc729150cd9c5c02a9b9cb74528050bd6481e608d8fc3d7e9b495a605fc22ad
MD5 c95c448b82d7bc460f3ef384e8353685
BLAKE2b-256 acb2d0063b7bd319ad5c12201d3a1c2eba2cb10c0a2cbc99eab062e40120ae5d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d59c13e289fc4aeb30b66d1e4dc3bede8080253b6d3785a67a85dea775bd70ad
MD5 d055e1be3e3f21ba03371bf27fbbaf41
BLAKE2b-256 eb6b67035865e3c8aa456a1267cd54ef14b71bab6cda78d29ddd5bfb14e69ddf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072204-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 421b57fb774cebbe7d003a036d9b8b6d217413ea90b3db8c6a25192160b785ae
MD5 adb04d6f7552397287fa65f9bc56a4b8
BLAKE2b-256 ae941af62e1423e8fcadf4273a2babd35897b91b87c6df1c70dfc58fd41da79d

See more details on using hashes here.

Provenance

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