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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026073002-cp310-abi3-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026073002-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.dev2026073002-cp310-abi3-musllinux_1_1_aarch64.whl (8.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026073002-cp310-abi3-manylinux_2_24_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026073002-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.1 MB view details)

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

baml_bridge-0.15.1.dev2026073002-cp310-abi3-macosx_11_0_arm64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3c5fb5def767b15cd88ec781346edbae715eb94d6d41e963b66da29c1a26229a
MD5 4122d62be18ca02ef1fe715a4cfeb1f4
BLAKE2b-256 14421ac4edf95779c24fbe60a70917ccace714144b31458194a18b7fbef9da8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3493e3524211584aabbac54cbac222126f2b1c75ecfe7c0a99dc2b44a7cb10e0
MD5 c816ca06e7962579c9b92c736c7c3400
BLAKE2b-256 a6e177005d0f3ed6326f75127acb930c97e91de1591b5fae5ec70582336bb7ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0979c2cd40e07ec418a62fd5720c95cbb8ddd5a5421720f9262fed38445791a7
MD5 3ef06c7ec47b84e21a18ec657083d223
BLAKE2b-256 46d412765bce4dd40736927533ebd543e1d50577ca8cb3e2e01d6f5ac8e56697

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0bf22e5fd2aa2ba271335b3d53cbd4a3afc92455fad1d6e23b97a8ae0feae476
MD5 f9e3cb0eb53fd0c16fa22c25220f8e83
BLAKE2b-256 dca9d6f3748982336cd6042abf7698acb58010122b89303f84ea34cecd2c28e5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 7e69dd33d894b625ace857b4f218115f53f1d6de1f747384120a75a0185e2abe
MD5 fa92cd0aa6b72b136d82b6a0f889dd75
BLAKE2b-256 76b17f1ad6da66b5cf0beb4a4d9965e747c56740a4610eeef8b39ffd9017daa8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5759e2752789e80962eea6b43ac525936bbf1d3368e4f08c863215d6e89516e5
MD5 151b7f6e414e2d94df3737856adca6c0
BLAKE2b-256 95058d0aa1e7b5798cb9da538342f616c4da5d3e18eded45e03cdc7caed47a37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff101cdd112d6e30f19837728f65ad0682f91d5f4932f575a1a0659ea79b126d
MD5 edf410d16a1e8467671d34a8c95932e0
BLAKE2b-256 4a7586a7e443be41a3451fb5809523c38cee271ee322d80b18e5c26d814ec884

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073002-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f37def08773ee2da4f8ce13882b564c75aded85a7b5dce1c566139b5365256c0
MD5 3be9c810e57206b1fd31b048ac7af56e
BLAKE2b-256 2a9cb9f02d32fed01280d11681ceb02f6e9472bf9e695fa04d107049b78994b8

See more details on using hashes here.

Provenance

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