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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0a664bfd126198e8f6cd278993db89d29c41dd44d57aa300962d49b40fee34c1
MD5 b61aa0c0f54358ada9ab90e6f69ca2eb
BLAKE2b-256 b0cc80c027ea9f94098f4fcf8150b561ce269a4ad6ed20b7de5081da6e61816b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d41f296a66bfdfe3e053e8b22b9bc733c6bc9084e76078f529d744dc67aa73e4
MD5 fa5a2dbc1713e38a1e4de7b2fc604fef
BLAKE2b-256 17970bd12e8914f16314a0c21f826b4a1c04d9936fda42e511a3676d700f6ee2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5bebd371718d61d1e5951b5058c323c66d2353c729875c8ca3a46a1e52319a7f
MD5 9a857a7342cb4abdb32aee6b55310f08
BLAKE2b-256 a1226bcde8ee2c7ff83518f07c23937bc22e57aa7df942d84ff7bc2dc187563e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0b06f1707a5998286e14ea43b22c090df9810e13948d146d236352cde902776d
MD5 a0bec9f00c320430ade7cc0f92b61cfd
BLAKE2b-256 8b1c35702590972ff9228da3d0638f9f6d71eab2a92a65f66d34a545b9c3ce78

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 19553ecd3a36993e6992fd5a50d5157e1965f8616c2c35dcd0ea9b477c7e506c
MD5 e56194f0978c692b379de8a3e3442723
BLAKE2b-256 3899b0737f999db26561116564b4c4284787e44e6a0a5be19726d54b14db2b9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d64cd6bfe3837f78575599b29e9d6e3466748bddab221c8ebcd7a19c5b3f22d
MD5 17968d33794416cd88551206a8cc758d
BLAKE2b-256 5e60066593dbe9804c7bf2bf8d8e76cf152827f7470f5beff85ccb23c84d5bc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9adda285af4d75706b20bfff17bfb26ad844921a106745e0ced8dcb90b547ca2
MD5 5f4f0bded1b556a53a191b29c351be85
BLAKE2b-256 62fb47ed3b8ae3a27d9ef196846fe0e25aac48c61f9c55a0b2d750a017abbe17

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072302-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 169f4d3869d1defcf8960842598af01b6c7b53f22c7f7ca5cccec99099a2cf43
MD5 cb64f559c4e214b7ff1092dd8f7d3e63
BLAKE2b-256 7cc5a5dd0ff5746d98ecfe84e944829c11b1d2cf9f3e15bd640157861c0e730e

See more details on using hashes here.

Provenance

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