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.18.1.dev2026090201-cp310-abi3-win_arm64.whl (10.2 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.18.1.dev2026090201-cp310-abi3-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090201-cp310-abi3-musllinux_1_1_x86_64.whl (10.6 MB view details)

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

baml_bridge-0.18.1.dev2026090201-cp310-abi3-musllinux_1_1_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.18.1.dev2026090201-cp310-abi3-manylinux_2_24_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.18.1.dev2026090201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.4 MB view details)

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

baml_bridge-0.18.1.dev2026090201-cp310-abi3-macosx_11_0_arm64.whl (9.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026090201-cp310-abi3-macosx_10_12_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.18.1.dev2026090201-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 03f3ddb068bb368f474639f4365fd49199959ac927cd9ddc68e480e3a5a81cf1
MD5 abceab57f7b93e58335f3f20dbc4d598
BLAKE2b-256 7297e855d9736c21318bf489d99410916f498ebb9fcb74f391cece265c66839a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 472eefef10c045bfa6913887c148a780336d2f3af7bcc2d84ef8b79a8a6a3280
MD5 5f0a09781531e9936e8a79bcabeda986
BLAKE2b-256 8b0b4ef120f475dfee5a922d12a7f65177a87e44e27b169068f3a98dc75ac714

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c07df5ff579c8c02adf210cf7df181b61a6822a77a410b37cb671a7df56a4a51
MD5 e0d3efd05bee1a2ca9f65eacfa31da74
BLAKE2b-256 fe501c21482a63f4f829eb34b6889fe221fa8b7634395175b66d7c5d188d4270

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 497184b900063bed6dbc9ffdf25700c96b027efd022163286777dd92e0030f36
MD5 8f89a1b86464c9fb09759b8110c900d1
BLAKE2b-256 88d19a811a8e4e4550a16776d2176a418621b0ae88a45f36e30639024c492453

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 8e0b9953436d3a5e3b070a32b866613774d243d203b7b33aa0aef462a577e427
MD5 15beee8b529980d23df7ff832526ace2
BLAKE2b-256 a304cb90356552d76b7997c52f3a7fc18b6d99b8f9f0e4146f141950f53c64f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8f1f74ebbe297c4407d727f6aa952e882445ad8eebae22e41dae1d53666057e
MD5 d1093c34f3a3c13798d1017167622714
BLAKE2b-256 147b44ae748c3505fe39ddf7445cf8f00e013b7a476c5961340907c2b4326fa9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2bfd3f51e4f973f6e46edd432a1f7052f13907937fb17aba28c0be4ab0093e0
MD5 15d2c2c1274af9c15d4fc8cfa4e6a914
BLAKE2b-256 8ac355d3d0012f97a53383c31f1588b758f721063ea2b6cbaabafc29c2aad177

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090201-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c5060cb4ad207a1e41e656629195ab60e4a80a588318393a60a61c9ad09bb396
MD5 376e7b7de36d95a8661f97b80fa13779
BLAKE2b-256 f64d683d44ea5a90b5e42ecae71e744b29d41c21ee2c545f2b3458077292f9ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090201-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.19.0

8 files

This release

0.18.1.dev2026090201 This release

8 files

0.17.0

8 files

0.16.0

8 files

0.15.0

8 files

0.14.1

8 files

0.14.0

8 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page