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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026073100-cp310-abi3-win_amd64.whl (9.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026073100-cp310-abi3-musllinux_1_1_x86_64.whl (9.3 MB view details)

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

baml_bridge-0.15.1.dev2026073100-cp310-abi3-musllinux_1_1_aarch64.whl (8.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026073100-cp310-abi3-manylinux_2_24_aarch64.whl (8.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026073100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.2 MB view details)

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

baml_bridge-0.15.1.dev2026073100-cp310-abi3-macosx_11_0_arm64.whl (8.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026073100-cp310-abi3-macosx_10_12_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 fbdc0d394b699a19ed4d97e0ecb35ded84cdeb451d797d18f6d1477e376bbcca
MD5 78cc0e6378440a42f963e514732e72ea
BLAKE2b-256 b1bf3d48d320093bc8df1ce11c146792759e134d2e104d961aeaa8e7ac4a57d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 619eee51121cedb5f7b559a04b7edfa08c3d30f9258a8ced8af8a60cfdd1f8e8
MD5 298fbd070c0c7442cd67c9ae9728c69b
BLAKE2b-256 c50468420d75cadeac63b1fe391f336297a5476fc7f6edb2f09178b061564679

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a4391e0fc358ca81ed64e59a4f840ade228df9476b843935c75ac25f5706ef2f
MD5 e6eb234953d52312eb6bc1cf4a8b6983
BLAKE2b-256 3cd5eaa54590a879c148905729ac75ad51cf3095a6271c3eae50fb0d833f8c01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 22b89a52b7daea4a31108a3f162abe5f62fff74121990154eafe654d87f53c6d
MD5 3f72b31e03c7ab4bbad09e1c7c123c94
BLAKE2b-256 87d142e66a310b762d6c4dc21b91538cfc098bf8f09e11181459140ef9ccb579

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 eb3dbe10d5e87d0629b2877af58e95a3262aaa4ff2831cce6e4ac1d0ddbab73f
MD5 ae8928929e8b4670120c08181ee3f9d2
BLAKE2b-256 0e5da1f2f36721420aa0e95a5a42775db21799c210465df2260fa5e467330581

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08f93cddda5b8f49452bfecdbcfff76e7b7a620887263e75452be67d616cc76e
MD5 ea94a706e788403d727deef5ad667d79
BLAKE2b-256 f3def67c4c2edb9ebd0773c58f02fc605cbeefb2a11917ae42ec4233f2c03845

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89dd218f1520f63da0efd1a337078410cf7113e1b66892c0cfe8321e0f39520b
MD5 eaeb5cb1a90e837338efcb1d92916ca2
BLAKE2b-256 2e7a291feb4bec0e46f0cd7438498974898fd3ee3df9946b0935d759aa097a35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073100-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ed0cd531f82137309c01c6b7b8878634311af400062264097c7701b04d806635
MD5 a4a4aec41f7ba217137a3437300189c1
BLAKE2b-256 c0f2adae54342efde56d192b7d1686d78281fd490ac605f882e9cbdf7fa89162

See more details on using hashes here.

Provenance

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