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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072705-cp310-abi3-win_amd64.whl (9.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072705-cp310-abi3-musllinux_1_1_x86_64.whl (9.2 MB view details)

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

baml_bridge-0.15.1.dev2026072705-cp310-abi3-musllinux_1_1_aarch64.whl (8.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072705-cp310-abi3-manylinux_2_24_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072705-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.0 MB view details)

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

baml_bridge-0.15.1.dev2026072705-cp310-abi3-macosx_11_0_arm64.whl (8.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072705-cp310-abi3-macosx_10_12_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9b30b12b53367dd403b101f612f138dd76bcf9baef3548876403fc220b68d355
MD5 7055c16f11c2843b2d96c93e7d8aa767
BLAKE2b-256 ffa04badaa27b623a41d35dad1c318daa6e463c0199d8e8bde283996d6702f9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f73e1badcb1a4eeb8ec656739124457508d5e520549ef617f0d6259ac068cbbf
MD5 3362b7970263a8f4e5d48695638c271e
BLAKE2b-256 9fd7a857bffd9363ac8c4bd4678f6d00a0ebd4ecaddc76fd2fa1b9897ae93477

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9421269f658fd38c85f7f505ebcbd97e1eb973f5fca5bc5918a180bcef7b801a
MD5 76de7748f109e17068fa1fa22de8d76d
BLAKE2b-256 7b7a00cb0d2c2441263be42b8ccaaf0b155dbc3d28d1cc62d18cfa31f20e1578

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 491485b95df6b7984ddc77b15a91a3af0da5e27f05cf75980dacb7d5c881ad0f
MD5 c40a2917b686a231e86ac94b8667ea90
BLAKE2b-256 293aeda157b85bb0ca2d9b3212dc27b122e245dc40aa84995490bd39a5d413d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 b854f1bf56fdb02159016ff9211f988ecc20c8e62e4cd2c46e2a4f0aa8138796
MD5 5816e4136e24ecabb3091dc6d51c9c99
BLAKE2b-256 04e81dcc6f3ff4dfd509daccf50b7feee7bc0ded9cb55069b602d0274c4203fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ee9d14059b57792c0212cdead76752d66d0c0a3ed399417658c9ce1cd436d8c1
MD5 31e3b59697d0c7b0e5f5e8dacc8864b7
BLAKE2b-256 0420f0b00f2718e3ecea5a08e04d9cf803b9b55131a0431becd514267e6881e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3224da3a2bf408bb861ad8329043d669f88b098bf66973e103bc9160cdc9e64
MD5 56d41213355b0e6a38974d78f76e5920
BLAKE2b-256 91098dcbe239962c891cb8060f1d4242c8ad7551ad17d9ee26d782427d1e4e6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072705-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 422b863bc7a8a2da945469b3020dfa486e8f2edc0a146c4a3accdfa2b2557ab9
MD5 694446cf6f55d0bb3651dc64c0925e9a
BLAKE2b-256 3c8580c9e3cd5d9c558381220bb499841bc034f75109f3819519bb8a81205b50

See more details on using hashes here.

Provenance

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