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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090900-cp310-abi3-musllinux_1_1_x86_64.whl (10.7 MB view details)

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

baml_bridge-0.18.1.dev2026090900-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.dev2026090900-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.dev2026090900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.5 MB view details)

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

baml_bridge-0.18.1.dev2026090900-cp310-abi3-macosx_11_0_arm64.whl (10.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026090900-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.dev2026090900-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7b0e883a1c3ed90411549652acbcf22eeaf97ed712ee60b0d7459280c4fbc77a
MD5 01bac1631e163357b20d04366d0ad60f
BLAKE2b-256 9ab65fb77a1fc5310674ffe87f095fd42682a74ec7824dd610c7a0aff07fb998

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2fde0b3a7b4b31d5286cfe3af7b3080f7231e088e4412064e741d3881569a4de
MD5 6d95073f17cb9be9f43856d686e7bdf9
BLAKE2b-256 5ef8fb3aa3663f999475bf17f3ab7b664afb1a41024dce2cc57bf2b563d1eb64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 495d7e5fbb3602c830a2afdc6ee83a8fb401aecbf1eb046beb95e0ba3de7af49
MD5 2ad8d5d6f39592268c6401d091657720
BLAKE2b-256 9fbb5ac3d0fedda620bf02a6a3b6c84fc2c03d9ba3784fac3b54fce2d424496a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ec551a128558adb0bfc6ee131213f54970df9c35a41cbf5d034095dc5933e302
MD5 2c0ac3f094affed6f53014b628c9a99d
BLAKE2b-256 8eb54bb4a6e084888d5e923c522f8adc7f5300cd7e0489c8fe814d2c4a4df35d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 1c92cb1afce9387e2441fb11f0fecab49b39c8f96e5b3dc2c76047fa1ea8fae8
MD5 43c05a6ed55264293ab32729018ee476
BLAKE2b-256 27d46d2cbd8591a2918f9463d13826ccf5f84d01e6b7963fb2e3e21d9dc24483

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3979a76e5750ef588daba6ec7c734981545d7cfdd597cf958259bd2066ca5ad4
MD5 edb29199b5bdb9c1a01724a346f02631
BLAKE2b-256 19d60a801b5fb07b97cac1431b3a0cb2c78d948f93d05c9e18b6897c6023978e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8315361b921a9b47c5bbc76818cf86387c2aa03bb3083259ee0814c5b809811f
MD5 0c6c1b2d9c5625d725a1b76fe38342c1
BLAKE2b-256 73e825f240448f2ae46f87e047ef4d4367d57fe525797c404df9dab38cd78348

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090900-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a6da639bde32e1831931f8d84ab99ae993c1c6de0ba06f15ca56a8cca02e922d
MD5 73d2ff2ae29d88947aa498fafdd35bd1
BLAKE2b-256 1f028864d1a956b7ac21954c4f688ddec942f2128e42a71a55ad71fbd90602e7

See more details on using hashes here.

Provenance

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