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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072501-cp310-abi3-win_amd64.whl (9.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072501-cp310-abi3-musllinux_1_1_x86_64.whl (9.1 MB view details)

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

baml_bridge-0.15.1.dev2026072501-cp310-abi3-musllinux_1_1_aarch64.whl (8.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072501-cp310-abi3-manylinux_2_24_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072501-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.0 MB view details)

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

baml_bridge-0.15.1.dev2026072501-cp310-abi3-macosx_11_0_arm64.whl (8.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072501-cp310-abi3-macosx_10_12_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ae8413741466abb61ca6eb11a55d6b133e094714a21bcddefdea984dced3b2ca
MD5 e529651e7c3ca55af816bf4834da3b62
BLAKE2b-256 864a355580a324fd42cf2cdad9b0e251b7ec5e5ed0b3aca2eeb38375dfe4a9ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c37191c1fbbae7e81a8c88c260f87ba9e1622f1434da6c1312d7fdfe1a81186b
MD5 8ef01a939d6a80db4209f4e34116a5ce
BLAKE2b-256 7fc45a102164eeec8cfc128f18e764b6ba7b7d777e7457d1204310630022a128

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3b76406084dbb38f9501954f29f31f56b70922d2e8470e1ae9c1738fa1afa966
MD5 d05dcc3ceb57098adb91e9a4ed4e0fbf
BLAKE2b-256 7a2c7ba4c4160d65c15a2d6b26b414f5e50c2094874008ae8e26adafd5b7d314

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b0e39aeb49c53a638fcd30d270244df384143463ecdae8dbf8aedf3319585674
MD5 410e14a872331c02b8bc1560d61350b5
BLAKE2b-256 e681897e86c33205b453b4e2368812c313be6a60a8c4205bc783d65bfe706106

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 1eed6bc163c18c13cd8fc15031559a8b94bc19ac7877333b245d6c7c6a719ba9
MD5 094dfa262e95138fd3f1131512c80d14
BLAKE2b-256 342f53f1757bf91728269ee09b01f04bd2b49724671b9d69ada4860b8881e9d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d344fbff3fc0bf62166145f76d2e2f3ceab8d4ffb2eca0f3b3f7e28b18014022
MD5 af89c1feb56695675b0d204ff0b62aff
BLAKE2b-256 22dedd890eb6a5da814a875af8acf0ce44c8dc3d53580cd762c535967fee9a2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ef07897b64fcc92a96fdd2ac2c95505e1a119f63737bcc44ad4454d8c62b41e
MD5 c90f80e0b7e5e643856affbdb0a929c1
BLAKE2b-256 329fcf24172fc8393f3fc1a7a963447450cffcffd4e81018ede846a4e2397c82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072501-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8d3150f37d211b1ce4cde4f1fea5d611a7a86a47a933f0fbf51dee712bc4f956
MD5 426baa46b4c6c1e7dea9df0127c05f36
BLAKE2b-256 06dfa744d2d2e55593c57be2718095f7faaff83e20c609f25adbe133140f6049

See more details on using hashes here.

Provenance

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