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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9bb9495b650d268a43c37ef8da6a1102e7d0513d960ee9962c3477327331f5f6
MD5 d05b80748d8dde13a62a1eb61567846f
BLAKE2b-256 d01a6d431b5bbd7fa03421c03a85058bc40296e279e09353e7ba967e2903c1be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3d44cfaea766ceb405bc49238f98169314b7d6ed5bdee10192ef7ae34fc8e44e
MD5 f42b22ccc4b0820531db7e273d731d8c
BLAKE2b-256 643628aaf8f7e9aba86faddd31f0428a3f24fbbcd997fabc7122f60f2939ac63

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6f62b23380cba50caff6d9c5900f66d369d1d49e33d474683b8e5fb61a118f59
MD5 2dd92e05242318ba41cd8aaf575bd6e1
BLAKE2b-256 10f36c71612ed2efc7bd2d5d90e60009b3c8543b9c98c6f1ae45cb6d349cb64d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 bac3d9a185aa95f958544b30ebb3de5a151d27d928672e827b1d0788b8e65f42
MD5 e8d4bc2d59cc952c0ec448a22cfad9ef
BLAKE2b-256 c45e3a312a8006fde503638b1bceeaedfe34988c0d1aa47ff42ea10bf8f3509d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 70502f27c4be114bf695ad63ef8f678bf180c9ddec2eab487cb54b67ca18fd27
MD5 41d83799abe09d017229378bf488c3b5
BLAKE2b-256 726f659e3a8228eb9c00d5819700db63eb96be1faa391ef6431aedc401919eab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42ea2c9b30ea0940c0e93953bdaaaa2a69fc7afcd2026a771ff32aaaf5b60fdb
MD5 b6a5845c608d23ce89bd6abd8baed8d6
BLAKE2b-256 35a15060c00cb0cd9d73d2df1fe2ccc21bac00dbbaddfa0d3c320e8f1b6d65cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d0e8ab96d91c755341dc4da0ef6b02630125458c6bcc7ae65f4238cdb2bd5c0
MD5 a5682172954cea190f8835b67e8fcceb
BLAKE2b-256 876c9fe6ef2563c704ef34f0e76dfac7b285ca4fdc6955fde63b4cb02a91648b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072700-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 73342c03545f228be3e155194a68126a2569f513ea11652bb70255cde799476a
MD5 b5eb2d8c41e000b9d16730b906c9e338
BLAKE2b-256 e5ef8261156a89403cb046927b1700c2e82fdd747b621798fba5a36f381b76ef

See more details on using hashes here.

Provenance

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