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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072703-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.dev2026072703-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.dev2026072703-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.dev2026072703-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.dev2026072703-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.dev2026072703-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.dev2026072703-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5b4f9e7e25ff89b2b1af7fd34fbe57bbe2ebb60b95368ccde518ad1a0d9845d0
MD5 06565c835684e4167b2aaddb6159cc0a
BLAKE2b-256 5c0ba1cc9c217d91448279417756215f28db7fadc2710a561e75ed00d8148183

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f70f8aa9d4d66c60d0ff25a2c8db247686e69d8709602c6f8b1d00205220f02f
MD5 f7f67bd5abbdf00395904c6f114619dc
BLAKE2b-256 6d7027b921b879b869fb59d3712f1bbb44ae01e872f84535c60c71dabb35fc08

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 aec41f78b4b2e2914e54140669f53500ab634c311cd9f79c926c16cc136b1ddd
MD5 2a80912fa30d284bc45461190d529c15
BLAKE2b-256 4b8999effb7dc9cd8470186d32ee1f387e80e9756a8e200ac188bdc14caa8904

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 1139243f0b484d3d2194fc630e4251abbcc18cd689225ef438dd77cce9e5f99b
MD5 f1f9c57c354f484c82d6888203f400ba
BLAKE2b-256 f5b0e5022af416dd0dece8287eb4f488f8ddfcd4391e4359616648f03b0b7def

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 efad9f77118f8125313bcf215f1512c8e96371fc5748e3bd3534cbf85470b2e0
MD5 5396cd2df98561c913c83e95b310ee5d
BLAKE2b-256 1c03366ce9721c3e0b9e700fa68277f1a4e9849f72866d4d3e3073809001c9c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42001e090d17f0ab06743e56d5bf9f1b5e2cbc0df3848a8bfee762c5c26aaf1c
MD5 5079f56b1171b4954ff8162d0a9fd8ab
BLAKE2b-256 76e34682cd50387bcab249e24f8b5d84569d8c94a7e78d8c9bc626aee6a031df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0323ecf3f151fc605aac949509371afb335d4d6dd1554816869f7cc9cd6c309f
MD5 ec11216c26e73641f4f05305e79e3d44
BLAKE2b-256 0de72c71b001e0682e82bb4f12c24baf03b22843d62a7f8b1c9c586d153159a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072703-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9131b6fa22444550f100fb436e8f148883c9791bf6698819da0a134a18d9554f
MD5 28c0a20ae12faf9f7844f89cef18746c
BLAKE2b-256 cc3efbba42b337b776601226ce8f6095fd3480a99cbc076a1d3c9998ae364580

See more details on using hashes here.

Provenance

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