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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026071600-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026071600-cp310-abi3-musllinux_1_1_x86_64.whl (8.6 MB view details)

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

baml_bridge-0.15.1.dev2026071600-cp310-abi3-musllinux_1_1_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026071600-cp310-abi3-manylinux_2_24_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026071600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

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

baml_bridge-0.15.1.dev2026071600-cp310-abi3-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026071600-cp310-abi3-macosx_10_12_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9a30848bbc6697aa81c1a8cc899c9cc6d2cf9fed54d103f0e30c10757dda858d
MD5 3bb406d97e4be0b9074445322f30ca98
BLAKE2b-256 d898d5fd87e9312b202ee9d9cdecfcd622da2c6dc7810dfe60f3bc2bdc091c9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 677390e4f88fc9624c9dac2e63cc0d81fa4424a90306ab2b6b8796c22676e085
MD5 44d3b849cd9952cbb13d64aa8672b201
BLAKE2b-256 d944a9fbc5053fadfe064e619151244fafcd5ee9203d5261fb6df75366dcde9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 95edba77212fa1d34dd5668253452c8b4687945df1e23459e7211150d06a4e9c
MD5 13cd77846e0352278f6f174a177ecb2d
BLAKE2b-256 6b1e499efdd8fe9fc3439801a7ddfa2372ec6b7a3129375fdca3ee4154e1bcf7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 30ceb552e938a1b3ee9a93d6ffd8a3f74becfd43d2f67f8fb2fc25b3cc8ccf9c
MD5 8d0a7356173053dc595d8076a61011f8
BLAKE2b-256 4747f83e1ead9b3e67fe1fc9c56b9ea3837e7816c53cd61b20b15acfa782fcd5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 64ae707833fd070d3f7a56042191d4803fe60faf44c0ac477259a863cedac109
MD5 df8d2c012084d2f96700bfbb7ba62aa1
BLAKE2b-256 e8598e966d212f890caf2ec0b9755c0061eaeccfc231f0213bafc49cbd29e856

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a9467cedf7a1a840a8236a5ae187a8114691a42f2272f16e5b2afdcdd6a7a690
MD5 4f588fa735e0bfbcaa62089bddab363c
BLAKE2b-256 f9961486091e75fa1187dbbf6179919ace19d49bdab17496c2145b61ae85c5ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c0c9617e9424ba358e536e8558284f1b007134c93f8cde45b2171597768806a
MD5 aaea8adce8cff36a8e390f77bdaeedd6
BLAKE2b-256 6cd995e25a84dd9061efac18ca91d597e7b1f1cd401365c031618ceabf61b24b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071600-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b8df1598851db509410137d6ccc70100308cf375ba1af5f9cc220f921880e4f5
MD5 899dd5c96442457e4bfab3318aaa8563
BLAKE2b-256 4aef69c85730fe1f12b562e9a6845e5b6c617967f5136466d87ef76d6e48d233

See more details on using hashes here.

Provenance

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