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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.18.1.dev2026090100-cp310-abi3-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090100-cp310-abi3-musllinux_1_1_x86_64.whl (10.5 MB view details)

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

baml_bridge-0.18.1.dev2026090100-cp310-abi3-musllinux_1_1_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.18.1.dev2026090100-cp310-abi3-manylinux_2_24_aarch64.whl (9.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.18.1.dev2026090100-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.dev2026090100-cp310-abi3-macosx_11_0_arm64.whl (9.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026090100-cp310-abi3-macosx_10_12_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 875866745382dae6c47f0b1aea72816bb2e5a85865c12ad17d5e46c6db204754
MD5 5b861a15bd5e98a37da595421bcecd01
BLAKE2b-256 3c91482833c02c9d1805d46208855c6a21479437f5de1d0a0697c10c4240e209

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c2799deffc783e59722d6f52b13d01894974a5eeb6075d6c4622acaac19db557
MD5 bbb9d07b4879d4764e05fa9f05a84cdb
BLAKE2b-256 7cf7e65619d9588fb6e21c81f02fd1e566c1d8fb4269f9790f0d59d5f1d52bc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fe2005609479060d2366609e494e3b8d083e36bf6725cd3d510e0ba90dc78226
MD5 3e270fa185caa73bd5c891d3f1b0fc42
BLAKE2b-256 ff9ba8b3e0d9bc6770421a731ad4cdec7294adb76e8f0f00dc02d6b7e7f2d21e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c06b3f4d64f98f7feeb6c984a501892bc100d6f44743696868d40944fe2d4d07
MD5 067271d14becf299b16d22b765499302
BLAKE2b-256 59cd7e4681f4464ae4d939cdba266eea7f54d59becbef2e3518369535fc1357c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a54d1ecf325ef27d1823bd4ed8f28c1736347ed27f6ee17a4bf7529125ecdbe3
MD5 cef23717a5d981db3fdcb3ba0f82ce78
BLAKE2b-256 db549b4ec0927d8ea37eb57ee17cd6a612a57af722ada1e14e3c3b5448758bc4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4968e0a54ef3f869d6728ec1bc70cf5e0b56031e322407862b7613ec4265a36d
MD5 976271633bedebb9594af8339289e88c
BLAKE2b-256 feb52fd9b273a53b2ccf422b38541057bd7bf0cc5237863d00fb49d627837e16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f69db4ac24be15dc7a947289c44c5c61002a6691e91036b0b303ec3a765f3a5
MD5 fcc00d8219274d873660f8ad4e796f15
BLAKE2b-256 952173b3e38ff014d9c2629ca9e1dceea442ab8e533defb79007863c437d5d9b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090100-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 78abfd6fdb773718693340bce98ca008c0da81cd44ad26634e31591dbb5e01bc
MD5 6fad6a4f390d21b89e9825eb661da755
BLAKE2b-256 68a91709ea58301f2c7bd466a27db0449d515e9cf351315b5afb847d30870af1

See more details on using hashes here.

Provenance

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