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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090800-cp310-abi3-musllinux_1_1_x86_64.whl (10.7 MB view details)

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

baml_bridge-0.18.1.dev2026090800-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.dev2026090800-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.dev2026090800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.5 MB view details)

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

baml_bridge-0.18.1.dev2026090800-cp310-abi3-macosx_11_0_arm64.whl (10.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026090800-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.dev2026090800-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9c0c9a38a26f1fb715587f1c1d7ae668e0aa6e14f83d3ca0dde801ef5984cb79
MD5 9d8b0d1045747f5ff6397fd5601d715b
BLAKE2b-256 9d3d93ea53ba910db6f23a4da166b25ec116734225c3ef65775fb29ecfebcdd7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 da3b19789bdb8df86a314bb693788e3ea98ac513069073620a4cc2dafde34d2f
MD5 c3d4d465003a9ec00dd47d6fec29b6ca
BLAKE2b-256 f1d3a9e1fee087c1494450d64eb901f9aa5f0afb4cb0e231c0b4c8ddf3e6addb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d7a0e875b80e74f10f74caee5270ec9ef2f5a3a94589c584d2346c6fbaffa71f
MD5 afba1437eb02fc5aed3da7fa33c1eab6
BLAKE2b-256 a2bc1a76c499a2c42715b57a968b63d05d9559389920ee9467982104a82a252d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6e4b912c3b7643a08ea0c84d164451ac2824ee0628b4d663836e8be8cce51105
MD5 8629e76c8c43ef769295b19f0927411a
BLAKE2b-256 183bc90c1f9b078a91601043686506c643a4cfeeb608161eb79eaccb3b753ff8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 33188836083129fbbd74db58bd3240dc34fd5b7048379482c69fc1f9f2da6571
MD5 ee6a455a171352d22cdbd6bab5b1a043
BLAKE2b-256 68dac841ba4cfe1f029c4e26245c487a0305b30fa54c5437e8362b556cfb896e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2dda581f440f1c9708549aaddf9a371fa3d7863e4b697a33e3b7bcb62278336
MD5 6cda963ec34adc153ae0a3b0b372e82f
BLAKE2b-256 55ef4adb8ce5abbee0c0e109cdbd2fc691ed3dc3794489e2cdf1652a2123a6c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4f6d57fe0f43280a78e98e60e75c3d73d389407327da0501a03cd730054b515f
MD5 c1fcbde194755a6893c57f9892729338
BLAKE2b-256 5fabec8ad4ea0314755116cc7b641a81ff71f2861a2a72fec0097e4fad66a819

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090800-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b207b1ec62e318baec7c179e4eac0a0d33bbe07d88d0310612f0376b4260cb3b
MD5 337a49cd7182978d85c4d7d9951ac606
BLAKE2b-256 035da499c986254609cb9ff1f0b997add732c4e645884025b3b490580561d672

See more details on using hashes here.

Provenance

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