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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072904-cp310-abi3-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072904-cp310-abi3-musllinux_1_1_x86_64.whl (9.2 MB view details)

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

baml_bridge-0.15.1.dev2026072904-cp310-abi3-musllinux_1_1_aarch64.whl (8.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072904-cp310-abi3-manylinux_2_24_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072904-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.1 MB view details)

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

baml_bridge-0.15.1.dev2026072904-cp310-abi3-macosx_11_0_arm64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072904-cp310-abi3-macosx_10_12_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 afba81c3f881a6d5ca15d9fd39c7886df3cf6ec0a7e640f12a96fe7ca3037326
MD5 c32ebe05a1643c79601e1ab5ded5f2f3
BLAKE2b-256 020c14e09c29e467c7e3ba17371f7898b39f11901c97c9603ef2c69d035337a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8862fb4a3ae92762ba0394a694996cb8b0572dacda05d655c8d55f1ed22e35bb
MD5 2a36936835150f6ca8e160f91fe84ef3
BLAKE2b-256 2bb1060ba07ca6bf18836a246b49a8fcdde7e3f75dd8da3179d1c13bba3a0378

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0bb8fddb108080d63a84459d58960188ee1bdf58c97274b6c72c141b7a0204af
MD5 39c060952839c2b4d66fe75aa217878b
BLAKE2b-256 b717f88d76724c0599a7ec15a3e88b51276ca2be7157b2edce9e16f52e6a88a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 10c2ce36581385fca73af26d5023fbe523b150a821ac7fa4e8c4d15be9a9ff45
MD5 ec8be41074e4133c851aa2bc6751bd5a
BLAKE2b-256 b29731f82a766380feb3b9e40ca892826daf253bb7a5790a82e6cd6c834683d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 775e3f45f425eed7e7e330f91360009099ffeb2e9e4c450ed6cbc5c5927c5e28
MD5 56ccaf3e12f0d482b88c20a7dc971ba5
BLAKE2b-256 cf63c5bee8f1d0cac395db3918af4f521a4ff78d1e4085443463a7ef2f18ff95

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd581827bc7b5f0d4b864ddb01abd51bcc626f72f87806fe57f1e51408e2c036
MD5 67fcaf95318b2ad38a9ce1815c4987e9
BLAKE2b-256 7866423750ff9c83ba96d4c03b4fe518f3dd5a4ca13b62a757c9b132d1e4711c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca716bda0199508a3d1825ee9818725eae5e8fe2d95f1a7550c12e6a876f8a6a
MD5 95275efa4510525855f96d536b1ec76e
BLAKE2b-256 38832eea565ea05382180a2e07c4e564307c9457d47b4ab19f5c9a5068d33d2c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072904-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 aa59c0a01f4a1564a2452b027a0039397a78f0fccd50191694be17c05e3cd11c
MD5 618dd392972ea8ef305085d4279020d8
BLAKE2b-256 36a3c3faed6f38da548bd097b49aaa651a8ee2022652ac06e26ead1fad1c3c82

See more details on using hashes here.

Provenance

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