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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 368d3dd46f66b7b4f70370bc901f236a750137cc94bc8985e917617bbd55967b
MD5 f679203733b70dc271dbe058b51f69f0
BLAKE2b-256 275061c4f995584611c570d1329f25f7e09be208dbc7e4e0fb72bd2868345a90

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 20f97fb9da806b56ad9a9983cc057dd493264fca21ad1244abcfa51fea57978d
MD5 e39fd16d054d574cf13d912c3d1dce43
BLAKE2b-256 f49e0a28c7bd292140d69c1fe646a6ef69b498ca58b769e728f049581095dd67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2de1b9419317266695aea9a1721a3f723075a5fcc61401abc8c18017a1c76321
MD5 a68e9ae2d3b3a9fd935a6a324a5a02bf
BLAKE2b-256 ab15455ab86e157d9b6c8cb159fa305e274079cce98583131c7769ac65941f59

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 17869c60d09625cb0cdcff5433bb10afe1176026e7613f5c1dab95072df38028
MD5 faf3f0ef9400ae9de1bf8d25c76ba500
BLAKE2b-256 3b71a2f2ca68b306d0c6f90c18322be963ced93bf7418c807adbfa2a9bdc92de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 fd98d0df12fad8857b22d4d09113a4166595ac38039faee84450de5eac3feec6
MD5 a8214201d7f4fac6ad674680946bb30e
BLAKE2b-256 f7cb2f9ec0c6cc987e31ae5ebff4d8149232c99517a4c437ad2e5ca9559be022

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a34a375e9cfe965f1b657bafbd15494f36622cb85a7cd62f3643090403f675d
MD5 28dd1871057046a632285ba708381ef0
BLAKE2b-256 54bb46b30fd5718a270d3abf9278b0d72eea951490f1613d5e935741d02decf6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec60921c5901853a2bdfe56b115bd28a4341bf37772fe704c01afc97df55b76b
MD5 5d6840865d5c971671ffadcc76caae3c
BLAKE2b-256 923bb764da78db70644ed23e87054bbc01549d9dea2b92aec88305c8a59fdb13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073004-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e00e087e38d3d2ab70dca7eaf417f22fdacf3ababf4051917e32f6e53f73f26a
MD5 d53f720eefc7eeca746ccf2110dc4797
BLAKE2b-256 be2bcfaa158f060c318d0e47e8e5fcddee2490745224ff24c0683194c12b888b

See more details on using hashes here.

Provenance

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