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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 dfba746671a2f65283aab8f56c1c949456dabfefc8d5d28ba52ca8bef8d50e0e
MD5 bb7b80c5a68f613deb18e8a8c332ed6d
BLAKE2b-256 e2fd23ff700d918b60b2c7dced79a387dfec78787e80591589433109be528902

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2cd59157f8f91123d7f7a73573be677b3f2e36db1646d45a5c8b60911f244777
MD5 0f083db4868334d8777e23ecd08066ba
BLAKE2b-256 7b7ac02036ce979de05115375f90d220a379f6916dc346ba313b310ca10fa51b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ceb44fe9fd2160e25fc9cd72f263b4b145ea31294ec5756e9bb7737934a12449
MD5 40a9befb9534d2b96d3720b0deda3ff0
BLAKE2b-256 443533538adcdbeef9eb96bbda586dfdabb9de2293132c5ccd9a7b71aaed4bdd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9cf84ae3d7c0043013d55c0d6436f4034e45b92d7929cf8a572ed2a406ec9c30
MD5 92f1a739fe87edbb83857d677e7d1b24
BLAKE2b-256 d43125918491fefcf28a36c09988a5c3f6e2c6a57d8f52fdfb058dbdcb14716f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 6c906a7865785fa9d22d55a3200b8afd012f6fcdf564eee6f504871392ca4fc1
MD5 893fb1749e1f96e28a264c9ec7dd3654
BLAKE2b-256 5e96533d8c696a1a6539502798fc517871926bf0bfce4d29ec781e969fbd088d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ccbd52341964f78640448f25f7c7a7489bf2862f26657198045c59c44611d3b
MD5 027dc5df359296a3b8b72700b3af52a0
BLAKE2b-256 e796a66cb18db014bec743e006a64a3f2bf354ecfede5b373fff25dc829db03a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 90e3c6a9b4993feca8bdd03100643e2b4c874a42e14b320d5df562b821a97a23
MD5 bc941f0dbf1c0a5270ef6d35ba72d542
BLAKE2b-256 a818b71e0d9baa75d53f9f6c7a71e320d67d61723ae85043d0b991166c62d819

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026080900-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 349329c6189447c3dcf9e10527be5571ce0682129f1e39fd71134052eebf83cb
MD5 86eb19be41f6f38b1eb82eb48ced1eab
BLAKE2b-256 857dc089dbd7425a25b238a829b3aecbff965e741995bd9307934ed9fd07c8c9

See more details on using hashes here.

Provenance

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