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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026080800-cp310-abi3-win_amd64.whl (9.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026080800-cp310-abi3-musllinux_1_1_x86_64.whl (9.4 MB view details)

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

baml_bridge-0.15.1.dev2026080800-cp310-abi3-musllinux_1_1_aarch64.whl (8.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026080800-cp310-abi3-manylinux_2_24_aarch64.whl (8.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026080800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.2 MB view details)

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

baml_bridge-0.15.1.dev2026080800-cp310-abi3-macosx_11_0_arm64.whl (8.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026080800-cp310-abi3-macosx_10_12_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 6ddb152c8f27c46c82072e4954b0fb738d78d6ddf92a2c7dfc9751a62b1f47c0
MD5 62a2354ae3426657a3a1206b7fd79142
BLAKE2b-256 b5d892dde13fcd31ca30712c20fad83980d05363d5ba7e921532161a8eb13271

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d5cbe9a6b08f3a83a9489a352aa9a83971aeaa83256f423f38b331131b26f66b
MD5 92b746c4c6a6c276eb2a614a028aa1ff
BLAKE2b-256 e8d02296a539983a783aed062c4e3ea3ece880baf9605636bedcbcfdd68df3fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8177a87da8c6873968dba6a93d459abdb1e7809a8dd85e7ff762228d1e8302f0
MD5 cd0d4417aad4369abbcbc8e03a1d0ea7
BLAKE2b-256 ffe288fb33f0be6a32df91f069bbac75785396dbc535636b5d57a05c561910fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 73a2b4e1662a792c235eb3b6efaef2ce5326fd902fd822ac726a7aa8bcb2155f
MD5 94ae2cffe33d7503ce7a4f4b3ca0db1d
BLAKE2b-256 94182dfdd3ccfb90e62377a9278b3a9610dc58d5c6ce6444c41b1d2126496a3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5d76ae6f6a9445132c2d2c4f8bd6053d5968d2c67a528155b9939359bee343cb
MD5 81ba1ba2cd48c7d35a050c42ed53ded8
BLAKE2b-256 928fc1a935311e6be5ad1eb4c1b3e9ca86dcd76e0d8076cbe15d780d23100514

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d7582e9c5ebc91d490eb18142faa86338752e48f9eadb1ad0bdeac3775684b6f
MD5 fa5a5aeb8f9d0f7c60080dbfe13abfcd
BLAKE2b-256 5ef4997f3e807e46b1f98ba4d88676ab03cf460ee55642b3ce36106a0130985c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7206b30834957ea410506c78f57e3ca087697068c5e03f2788fbb0a142b747c6
MD5 d18f756da41219aba6129a27be314ebe
BLAKE2b-256 6fcc4c911ce85aff3816dfee39a98da877bd9c78673f68e3fd7f5d256ff484d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080800-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4f523a5a418c0ea3b021d62116fea35a1394226545941890ec48a37c6cde9810
MD5 dffa7e15e4e6cc9bfd3f328255507977
BLAKE2b-256 50ce6cb7a627a37c58aa08dd53e2f185b2eb89bc1ea7302bf188bbfa224ab91d

See more details on using hashes here.

Provenance

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