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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0c6ea7fdeb3820f7794e770868c408cac1a2d0dfc3640f899df334eed7675029
MD5 6a345e7cf5a8c96c96f40df183396a48
BLAKE2b-256 b5c34dd5bd5d42a56b89567ac627c57070981882d553177dbfcf5ad246c4828a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dbba2d38c519a18d5cadcf98a6a3b8f62f6eb77e807a7e6b94cb9599787c369e
MD5 fa80549887c8221f543f848532a33ad0
BLAKE2b-256 490c31980966a493d6939ccf3470c9d1e0a873e1e079b09629f88685c813f018

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2eb9b50f7473d746b479e8798a0ef3c5da31bcc9eb5568847f816ab1a93b8c18
MD5 c2a02dd277161ad1dfe77aeebb562750
BLAKE2b-256 9f32dcfb9dc31131060049bedd388568957da2ab9d4f7f68cbfa70208a7f6f13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 72de87c0a56bfda967461a9e8428add57f6b9d5db5cbdfb4bb6d0ba5f87b3234
MD5 1ebd171ba60ee3bbc051a87bc678362c
BLAKE2b-256 bd228ca2a9e6d8be6f451b07d33179bc7adab953c7c6243a119c87e1ef3bcf4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 59df69dde75418cad85e9c2b9623c8fa87362631b3f47c4f4d93546c0c593a2a
MD5 04786e93241785634501e560d9f5e15e
BLAKE2b-256 6a9e0e4dbaf2e3a9018a0a298e7b3f1345f7b5efb654637030ceca7e6848e3f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2220cce44f65447a0aef6416bd461c781cf9f8b6a16d9c32f748ebc8204e31c2
MD5 3feb80eb5861a2107f92eac365543f33
BLAKE2b-256 f366b73543f6b0cc559828b7e81fa3956b61c009fba1aec4452945cacce21ced

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1533c1cd30709794e080f34b5d5c813304547291174e9608dc626a16a6266e57
MD5 d519de64ef9ba4e2b205b6e8c7d92689
BLAKE2b-256 84fbb32ba981652953704c235dad537eaebe5e457094f8da313ed448f66645cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072601-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1b8c27ea4e6c737bc60b50a7e47f6e964398a6e41ab8aa1ab55d61ef7543a3d6
MD5 6eb978091cbfb02b91cfb7ba27a500bb
BLAKE2b-256 8a4f228a45c0060a5716157521a26a974d27a66a6a70d0bc6112bf11e07686e8

See more details on using hashes here.

Provenance

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