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.18.1.dev2026090200-cp310-abi3-win_arm64.whl (10.2 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_24_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_11_0_arm64.whl (9.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_10_12_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b23f172f8bac69b69f643a04b8b1cc8ab50c174afdbafe61bd00a69532c2edf5
MD5 26c8dc25fa02faccb13bf85b0aeb3529
BLAKE2b-256 9e8bb66159611cec86e1cd77c65d749d3f2151e91c7d737d4c3e896f4fbdd2fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d8eec5e9192f95d04d7b3ca96da2774cc72917f3691a3ddb7460a8d3474fc4a5
MD5 ca61c453ce9b92c3dcac765c55a92280
BLAKE2b-256 56a32612fb66018eb8321d8846ef329e31b1c65fcea2b5dd57cc9ec3d12caee8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7729dec24932b9d900bb25313c085afbffb6cb1e2c1a240d7c1cf4f7403812c5
MD5 5cc1be7456aa252de529daea33cf9905
BLAKE2b-256 b8979b9321727fad43e3f4be5891677e033432cddd88dcd75578642aaa33d068

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5858e3ebf9183d5ab5f9d67492e04a3d11b3ac8f2cf4f05cf9ad9f4357222d26
MD5 16bc599a31de3d6fe1575a67959d6fb7
BLAKE2b-256 79c72e3d25f936b44884735af8c8bd763091ef05a4fe2b120de4f0398897e078

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 ba85d9e78997d47c253bb2b607a7662e1e82426528d78aa15d6fb0703a9061bb
MD5 9f4612d3fa391b402c6ed234086d88b8
BLAKE2b-256 529fab97a67660327e1d5f29cc72bbec049156008b86e928ccc9912e879f9be6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c5e86f1a2fd61fb475b80f7dd4945bdc2bf23877dd75d6f2147f91231260d7b
MD5 1c6c67b169569a0cca4cb45c638a9d2b
BLAKE2b-256 55d495b22b34e28ce1b22ab53e145d4accecfdc7a590e8c9b85c07ea8722dcc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b69fe96bef54d98873fe82387cab7e811f3f6c2f6a512ef8811a291134cff897
MD5 22d81130ce1906715722eaf44e4efe3e
BLAKE2b-256 71735b853fd940ef6bd6d2975715e7705dcc92f5a2b9c485e5c34d5b7e5ce6d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3dfd4b18a4181208963eefdaf31129735b111a36a6c8d25680bd7c191fe09654
MD5 38f135126888e1e67d6eb7c705867f05
BLAKE2b-256 a1e739ad67b827c78d90872931c8656c7f92239b50dac5495826ecb533b174fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090200-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.19.0

8 files

This release

0.18.1.dev2026090200 This release

8 files

0.17.0

8 files

0.16.0

8 files

0.15.0

8 files

0.14.1

8 files

0.14.0

8 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page