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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d1679e496df29013e59e9b7f85bb4566c1e7af72a337c1a501b1c1f32d034c6f
MD5 8f214775fc9121ccfe876b11809ee637
BLAKE2b-256 6755671b6b066077fc3613031c783082e2ff48e547d5cf6da6f48f9dc1f44a63

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4ed18ae9879f4a41dfb0dc0562e30ca3feb5d3fce010e0754ed068ff308ff592
MD5 724240f096d6c6bb8a4dc8431b826e85
BLAKE2b-256 15bb43a97a8e5d33a26ec79d5e9704b3175c2572c7fde0ba85f63e49c1b80258

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2799df0be68275b152cae3b742538fe92a366d921d2830d6fc3f912bb2dd012c
MD5 aa864b899a3948d2533874463cbc03e1
BLAKE2b-256 e219de7b862d0ceabb724b48d8b476dbc72a92a8d8c8feb6ffcd104c80fef37c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 79f327fcaf0caf9a8d03c6578bec34afdd17012928e3ad688bd27f4932593895
MD5 427fe84c271e1f0445a33d96b8d0e955
BLAKE2b-256 f56c84b146a46c3dfc3332b396bee03515d74ac55dfc9de2e3886d76ce54ce30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 b3bde53aa01ca7eee93b2aa32aabcd17b29cfbb93f40c8b76408e152a70acaa0
MD5 4b1b2cf2c9c6eabbdb5b05a9a52900aa
BLAKE2b-256 6ebfe155867f2cec8d27870b96f75c87f5e7b6db5072b6038c5104814f8b4800

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab56e93c5566ca51eea5f50b61f1add7c450e6b9a32e40197c083c7d01f9a188
MD5 3df76f7f91e411dc0ea32382eeddc31c
BLAKE2b-256 a6deec3b6345b7b82776548802bd6a1eef0067d8aa0d13442aae47a53c509423

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1006b1232fc58874bb19078332d3736d619de2865d3d3ba5341ccc5a96030d33
MD5 9df2063ce314abf4e3bd06fe7c8e7e4b
BLAKE2b-256 22cb131df95bf571a7876612cbb0664c356b7d6feaac098595c628a699368290

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072201-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1d68ba33a4e17a756378ed158f9c6a0aa4d6432569c8dc2af768ab2eac9657ec
MD5 6f5cf25d89b05893e14279cf02339cb0
BLAKE2b-256 7f0795ada6d0e91b38f2cf1f9c497170fc86ce11091f0eb5fbe5067a98389d86

See more details on using hashes here.

Provenance

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