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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9e4f42cf2b895f0988d3730345b6584c08240606e350eee69918fb72de20de41
MD5 bbba20e08b08575ed9ec7c148796f434
BLAKE2b-256 e6ec59e494461cbdef250c270b53737abd854568c5fe4ec73d9719a7b392e8a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6303868ba488473758ec6aef39a85193b3448c230c04dd013771dafc0789bf0b
MD5 08ee554ceb46e0765c9a3f6ec466f056
BLAKE2b-256 83553c6f6664bdafa181d35257929fec01604711d14efef025083f067f089417

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2440c96e6908574af8ebeeb5e8172dd1359e0610a8ed1bea710d74bc1b33efe3
MD5 bfd6d1cd2d38b7fa7374bd1757de8975
BLAKE2b-256 ed83c8ff7d2c99134d88d5e0400b3a7528fbaac4fe090277d6c6cccc283039f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 a0b26ea03258b81573781fd6d626c46ef247158ada3cabfd786dee7fc1742550
MD5 e614dd7176206bd9b5b977abf9808b0a
BLAKE2b-256 34a42da992119f260cfae38f9bc2f785e3c291f03481b04a449e958c4681695b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e26d6e950425e27da29d4cb9b9edb0989278cc17f4275942531f1b80e8bd509f
MD5 1f8619b6a9f534a14a5d8d69fcf9c13e
BLAKE2b-256 af17447acb52addde1193045aebecd00bbf81699a114a8988f25d171b7ff5282

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce8e39856dc156c661acf14f6338ce342a1e934ecc44741126ac1e3500abf869
MD5 608eb4e6d724493b48f966c095269e56
BLAKE2b-256 266edfaac67fef2f87ffcd4f8e7a8412e3909a414018e0cfced721d8f3628940

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee0e98ecd1eb6c0b6559f0d5b285f63c836278fce56813341a050d0820dd5753
MD5 e837fd35113a60aed4b0ce7e567e0462
BLAKE2b-256 42aafa0b89f25dc4743f184a4e9f04a00269a73df547c30480fb6ca8fb38e800

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071502-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7d4749b95b38896688ad0cc3091602ba1662b15389804c9dce1821da3ec85139
MD5 e3f1959502082bbad981bd39a11b547d
BLAKE2b-256 0815aa6ab70b7ef5cb33dde9ea5ae023171bd915cb115ae5bb73ab8e432e1e02

See more details on using hashes here.

Provenance

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