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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d734f71b8f2dbfbae8b622eb52b3daf703bfe2c90b25c859fc89431afbfa84aa
MD5 8faf385e2d13fea1eace3ece60796ba3
BLAKE2b-256 5962e261a80ee146b8f5f47d6ae0a464b29b966f26fdf10ce63f45342d952eb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 34e1b85b0419e8603a85a9bbbe32f9646dee068cdffb95f398952398740916e0
MD5 eac325bf2b5b9e4e5aee9cdf2c0898e7
BLAKE2b-256 d254bf69e0508e3d8c65854a82ed29a0cdb8eeeaa82d296d26783fccc63a7a50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0c5cb91a130024e737f23b8508543e4da56b05e3818ca90851451debf8702b7f
MD5 c5f6d8a2ea605fa9d4d28b11bf65b384
BLAKE2b-256 0c58566a6af483188b3acd2af011cc4b93cf6ff4039d389da7eebb654b7012c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7306a071375100ea32be415fcb6fc18272f8f4691ceb4b2b239c9c72679dc65e
MD5 bdf44496b92c823f312ed9a76abfc7a1
BLAKE2b-256 d617467312d9c29beb7c294daac4346e011c95fde3efc8373b6da0ace5a68d9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 999cdfad46109eb6626a18eadf3058e65f6320dd0b3dfe951eadb77027744392
MD5 e64705ef9be31030ef9790adc33c07e1
BLAKE2b-256 006264811e1a49a93f3540673dbb81869bed7f5e80838d33fb4f32b521c7da3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8eaaf5371f71c43b0c02e9a64f89a0bd0f1c495debc76b62580c7c4be3adf7e
MD5 0978c4525e147aa83a7cb7e8256f382e
BLAKE2b-256 f11d3feb085752fa1c87900e0f2b82452da8c72a13e53490970d0dd8876846e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d96b6b284f9ad7888f8a7d50c2c0d9ad353ca1b4b3e80f1ec003b32e0fc13e17
MD5 2525b9ed0eb163575ac167ae61507537
BLAKE2b-256 3941551afdb2843e5d278687dc1f316652234fa6fbbc4b5795a717888fee14fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072203-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a76b84e2906181e9b542e56eab850fd193b8cd1a7cd8c8b65dd54b04ed2ce937
MD5 a06540b04c14594f216d58bd45a96d07
BLAKE2b-256 81540e5c01a541d2479556a75d3a560aaa3344e1e226d49ba268169e0714397e

See more details on using hashes here.

Provenance

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