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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 435c25f1392104803d3a605b4c30fc649fd4fc9c6d5acd24ed34a0dcef46b6de
MD5 cc0a068291a917079ac2520d423b6107
BLAKE2b-256 66b081edd24ce3f70b031e0d6b3b9e0caba336f0d23d92c58df1ad1fb96db578

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0450628c5c1b83cb6fa5690ce8baf7b37f527d750dedab402320e68d40e86f7c
MD5 d700be1e27f5540052a902744dc7a781
BLAKE2b-256 541c6049982561845264ac96e1739dd521b70687ac3f5eeb2f991044dd17d77e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b9728b3f66dae9e2511bf01b0dd6eee595dc1cbfe37f54982321e8c1b611342e
MD5 59e9c9bf0bbfae8064784d73e50143a3
BLAKE2b-256 e1d792fc80efe2898cb3e61ef84020affdf0bf6c8d964f21df3af19a2cf64f7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5ee21856abc6de80514df0fc63606bfc7f1f3597786d26b7e0aea72ab41e07b3
MD5 c685f59dcd192384afb3dc3d4edb0109
BLAKE2b-256 ca7ee3674fe550c2dbe2c39a4d16942736a961a61babfc909e1d138a7bfdbd7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 4a16187b1fe502c73057cccd4f713f57ce3aa6adc481bff7ceb8b896ee89790b
MD5 e5513806663e8e969e6e90c30f0dcc37
BLAKE2b-256 16993fc016a4dc62bf67dda3c64c3c17d11d55e16ec9c2e4469db5660b419e4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df00f7dcecd1ed9b3668d769559b9880980d63fa66c8844b2b19816bfc9f0d3f
MD5 c2dd4ac0f99d3f8325ab3cda0ae7755a
BLAKE2b-256 117fed5ae5904e8145d5bb353194e3d79c2448319ac7c013ca9d0d0ce01299fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e4a53afd6e8107ad57f30cba5b2534aee3cc7726eb52b7461c614837eeb6e93f
MD5 e3dca6617eebdb1445ba5196d9b301ca
BLAKE2b-256 a3fb23ab3875675badb7e0ef50b5812e5c7006a23b348eceb9e63fd6954eea04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072202-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2c0ec04b2b240c2435175e33aacab0c731f74f7373bea2d774dca2baa8ad926c
MD5 04e31df521687d57ecb93e01d27bb0e8
BLAKE2b-256 0dc57ce86ef6047efb140ba001d84780fcf1785eeec07eb824150b54254ae59a

See more details on using hashes here.

Provenance

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