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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026080700-cp310-abi3-win_amd64.whl (9.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026080700-cp310-abi3-musllinux_1_1_x86_64.whl (9.4 MB view details)

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

baml_bridge-0.15.1.dev2026080700-cp310-abi3-musllinux_1_1_aarch64.whl (8.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026080700-cp310-abi3-manylinux_2_24_aarch64.whl (8.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026080700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.2 MB view details)

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

baml_bridge-0.15.1.dev2026080700-cp310-abi3-macosx_11_0_arm64.whl (8.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026080700-cp310-abi3-macosx_10_12_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.15.1.dev2026080700-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 077fbcd752c6646e9c99ce6702b2a8f0e85420c014e9282e972cf9926323b176
MD5 b840f485a1a27b8877d913c392c94d10
BLAKE2b-256 bcd1561e905101f776b5ba2abbaaff285c2a55901403d0f9235b398db58f6c6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7417b77a47e5297a1f06a25da97792d6bafdb3d88a4b52278efcdcf3f9a7424a
MD5 4ef6713da0546895a188f3d6427d704a
BLAKE2b-256 f5acbed26ff47f80ed804a8dba193560a3fe8307bae1853bbcf52dae1a45129f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 747ade196e170bc7930c127439bbc3cf80c46866229c6ee7e1a13ebdd8356134
MD5 0a851c6cf7620f96e16d5c9c1a8b4e0c
BLAKE2b-256 ffccb471968e8a9e867c7d3c43970007d60869150616b81294cb65ef6642319e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f70d16a73838fb763143132d235eea44d0bcb542ffe261adf0b0c0cc87d9284d
MD5 b3fda3064b8f5b68960d747fb8fdcaf0
BLAKE2b-256 6a7e23b37436be78f6526a28e99ebd8860528add8f887a1c29aeee88f08a9729

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 7667ff9ad94adf650a2267d5d5a8c17c50b9589d03482dfba5bfabe5bec83b2e
MD5 d808d6fa6dd6e97b89cafe07b00b11b7
BLAKE2b-256 6494a823528fd8c73576906736d950ba4c0d8626b092ef3194d9d509066fc516

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e58b35cb84821648eb93751fa87e9d1ab8900e50e0f2974d5f5e8f54a28084df
MD5 5848b1fd970b1b61de588baa56372d1e
BLAKE2b-256 ebc1e19730101edffa6b0f2b49481990ad1e34c4af201dca288ae5e26b79fd6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c43c1c0b92a5c0f1cf329b8725c62020e475ac9b55ac1b45aca831910e1cfaf2
MD5 522bb3d9eedaf6efe607620b6db2aa05
BLAKE2b-256 ef453ed8641d2cdd3e31ce9ba37a982de58b665890df7a6828502d38626b249f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080700-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d8205ade4bc904d86af6251daaa56f35c6b4019444be55f18800134274a18c1a
MD5 4d1d8a5bc79dcf960d318c61397eb2c7
BLAKE2b-256 e28ac6f1c293f68c0e2bd530b2b12b263683b0b1962544a042053341ed54c4e7

See more details on using hashes here.

Provenance

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