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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 54a5debb2533b0879aa4f4e03c3a379e959a1b76e214e0f305008570f4fc2a0c
MD5 3cb927d3d97dc49a523d209cd8040ed3
BLAKE2b-256 2affc0e24e7ffe285c7426975f47cee71a0cfef5975e9acf8619cd681fc2bb38

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e825790adb976846981ad92487c8b9f57c9248c7b6ebc85a311d11b6fe362eb8
MD5 ed26d02be970b306cf6904d79ad5b6e3
BLAKE2b-256 6325a2ed7702b246f18cb2f3c71d2e2d5ab392a10af48e7a36864e50538f1e43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d051aed24a1c9e996126f2a8e6156a50f8a8eb26ae78e1f36abb67af8554f4f4
MD5 3bcce16465a3a9405eebf252a3858aea
BLAKE2b-256 fa6ddbfd80ed95c4c4b49accc007ee9ed7d202953447d010a7423f05471c2f0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9ed78c3d98eba030f0aba133a27400e57ec08694e48e3d8b797832622f21b669
MD5 36fe95af6e69a5abb3317a9bd77d2a8b
BLAKE2b-256 6a1dd44c849090dffed87d52b1b4d687da066abdd9cf24c7d054f32138bf0652

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 2e254a554e8ff95a8f1f18acc784a663095afe631238333e8498bddb6fd16405
MD5 f299bd52c4a28da914ad99579ae2335a
BLAKE2b-256 f6b5fba7799b2edaaccb7eaa34d444211b000ac52e3962cccf9da575f4c8ab7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0dac4fc80b1838c0b034eeafbcc8a13fcd6fa2d320505ed1ef5b2696394628a8
MD5 a2edf877a774a0f7c2884c2f4ae52ff1
BLAKE2b-256 a332063a916fa07e78bd9bb4a8374a6b18f299f82f726ad7b96ee1405e4c2a11

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 86f9b796b02195c395389a83b39660091a782ff4c6a1d388fcd576e53605554e
MD5 a39bac6588f8c7d212976cb9dc42f8dc
BLAKE2b-256 c3d0ccf036cad0b504ffbbad844980262c8f959012e1a04c4c34117b72fff2c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072600-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 add84fa2717e108f789375e37ea6f835324ad774a5d59a82503884d04c1f729a
MD5 afdb4fff122d4f0df9a0d0d073bbb01d
BLAKE2b-256 291581cdb8c23d1cdae505c2d6d7e29be9bf2a1e8c94f25977f18f91279971d4

See more details on using hashes here.

Provenance

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