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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072301-cp310-abi3-win_amd64.whl (8.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072301-cp310-abi3-musllinux_1_1_x86_64.whl (8.9 MB view details)

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

baml_bridge-0.15.1.dev2026072301-cp310-abi3-musllinux_1_1_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072301-cp310-abi3-manylinux_2_24_aarch64.whl (8.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072301-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.8 MB view details)

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

baml_bridge-0.15.1.dev2026072301-cp310-abi3-macosx_11_0_arm64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072301-cp310-abi3-macosx_10_12_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 17f85d125ac577311aff70c0d9863d09ae8a0aea6372b6e4403d16b9a6222257
MD5 59597bef3934576f41ece8529f698676
BLAKE2b-256 3b754e928ade64060c57043e9f4b0a26af608f547bf9fba60bb7ccf65b0f79b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c3ce73553578733a881cf1556026b36f1bd06aa9f639c1de1feb9b2e332d00ed
MD5 0cf1ff70e1cf09e72431e6049dbaaa7a
BLAKE2b-256 07f33c8bb8e5f2911dd99d888528d3a2c14720b03da7d37f5543816e10141f87

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0e00c6b27b279d2688b84109cbfb392f3fe78d41da3003e374cdfd3c967e8371
MD5 157a443b81327db019139d88eb1cd8af
BLAKE2b-256 635be8a866f843e60668a5e127138a217f0958d0f988945d7fc840cb80d0b252

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 496b356f44759365ce7ef8a4feb96925b7c352061d582a9cb9f63c458f1509f2
MD5 346829983a9f3a3c5a60d828dca89223
BLAKE2b-256 848c2c7583aec745dfc0b88edefb87721b61a5078a0aec9bba2bff325abb6aac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 4b8736f182dc1efe4fb18a2ba5040380d8c1a8ca68ee4be063bf622ef0ad657c
MD5 78aeb1f4b2d6ec22daa30fe7f5b4e6b9
BLAKE2b-256 c25e3d9f70d330e8cc8c2001cf7976f1e0f6c43a72a083bcce120c5e45f750b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cb9bd5e89d009460d32a3ebe16be5cb23590689d534385520b88b5b29322a41f
MD5 008e9e525734ed3524df759c4f58b181
BLAKE2b-256 b391eb98f81b0cc299f18ba8425662cf533868b2595effda4c34db12955e5566

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 336868de6e7ffcb84613ad78669dc071a51451d37e206a0200afe93381375ab0
MD5 e9d4f22cd382184727070313c6e35b87
BLAKE2b-256 a492095aa367e76be34a37f2778158cea17304780c3eb4f7137e02017d2ad80c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072301-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ebf7e6b36082be6b9dd66c1568e7701354c61cc62f980c165d2af37dee1abf55
MD5 90e04eb4e12ebaf98cf3ac08d8018cf1
BLAKE2b-256 a8347f9cc180b5d73886d7126fbcf2b3cc866e1074005264d7cde86d4698a619

See more details on using hashes here.

Provenance

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