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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9e558a277462168e3c6845917daf7c29bd7eab6f9fd2011bf14abff4a46fc079
MD5 d72450ef0647a52a2909f4d8f78adbca
BLAKE2b-256 62a11e58bc66debf9bbc3e1c9048a7439aac8f6cef361d79e6ffd85918f46936

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5f9b36db699685cb36f2689d714c85f66a70f0a4ee04ceb66078bfce2b09ad63
MD5 26156fe2a6b9a822a28a7aa45456d16e
BLAKE2b-256 9b5d73f71f9903274439132b9472535b74c4a5b4942c5b51e4d464bb8e8748f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 28d2a6794d04a872498f9a816ac3846e920856f5f0fb22f5df87f35cf261528f
MD5 19f487cfadf86bf5be64c3dc37ea1c09
BLAKE2b-256 38a1271fb7cf1aac6e1cc6ee1f29d09ebe4a277921eebd6dcabe9bd54f4ee957

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 48d6f07f55c6e8d53a04536c12db8a33e0fe4525ac692556b4c39b323f11d6c8
MD5 3053341416dd7d3828b2810fe5063172
BLAKE2b-256 0e02a6aecd98637c0a264ea086a20161c97e6dfac253f3082a4b987e0e2e6df5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 376e4ab9d21ddab04fe3a3054aaad62ea946119dde8ce9b87176160c3a1635cf
MD5 d21e238c0d8985637e5293945c38a82b
BLAKE2b-256 f4a6766adcc99fbe6f898ca851551ece1635c5d8575c87673e4bb4089bfd55b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f26a1d009bb843980fb3ea5c2c8f6814817012f5384aadbd1b92e2a307aa1173
MD5 1bc45fa2762036c43d863685f08c6bb5
BLAKE2b-256 383820f2c6f1f52b7ae893b3a2a8b74f7fc7973d9d27ffa334596d669d5dfb91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7176285280ed6eff829ea94de125791eb02358e09775134af3c39ed622dc1c0d
MD5 d8ea30ad0b6fe42ca750e6bbfe500249
BLAKE2b-256 4c94f9176a81044a3db2cb0434988edbe546b79e90dcaad11ad15a2aa2227483

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072305-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 20396588ea39d597f23901d7cbbaef61406ece364f53e8db35b7aa63d42b4370
MD5 9df3b0ed939b4ed0eb24739fd3dd24ce
BLAKE2b-256 5640849d637e1cc24dff0d7eeab4b295190f32a4cd3c983e61c535192426f357

See more details on using hashes here.

Provenance

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