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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026071405-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026071405-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_bridge-0.15.1.dev2026071405-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026071405-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026071405-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_bridge-0.15.1.dev2026071405-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026071405-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0c9c8941f0b1eabfcf8176db9be1aae964afe342db7382b9aecee4ef6dcfed21
MD5 57b2222b46d2511df8b4083840c4d525
BLAKE2b-256 028c6ec996a5e19c582f85d1a24f8438caa7d65aad44ce6f97250e92075de936

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6595ed44a608e0d6eec651e1e5c6691eb854f5b37f0a59ac43ecee87757349bb
MD5 a65126069db2deb02a44b8602d07c214
BLAKE2b-256 aa79bb7055b47a830bb849c65bd340c937fb354fb557cca0c4709ac86b38fa00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ef48e732337b4374ac3b411536dadce946c4a397048f47003980999b0822e925
MD5 90f41954830ab204263cef073b85ee7b
BLAKE2b-256 49e4a1641dfece3a6815a5771672b9a484341f10b6bd4ee8009917d95cf75393

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 85fa60575453bf3e173b7cfc2aa4f3db30b9cd6315cf0ef0469dbf21eeb1aed2
MD5 9804187358d82c96e8090303738ac05d
BLAKE2b-256 866a2e0cf247906154f8597ea8391d1fa0677d0f546623a5f560bfbb7d90bc80

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3e16275623525d6d94b45a21b4bcec36eb2e2bd40d17f557553ca979b88e158b
MD5 08fbf16dc8ea83c27a84e2cd27890160
BLAKE2b-256 162c995d1bb6963a466f908a650456acb32ee626b2f597c85f2ced90b895e008

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6a8565d7e717a754b0a8a4f6d8a4895ea0a1a7ba9b09cbb92dac32c4b384622
MD5 5052ab3ce367bb76bbd69a8fc2d50ec9
BLAKE2b-256 87ae8881fa6c971407ac1d9c9466d99ac48a6a68501dce50595e1a2b6e919e51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0451c99af2fa79fdc4491144f6e5ec179f735ff75b6d9d6b1c6e393c0b21b9c8
MD5 644e12ed33e4c14e055e3325e23f5810
BLAKE2b-256 5cdead7563ebea02b2e480e4263021251d7d2420dfd8f922666a6d300069e031

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071405-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0a12f5e8823a5804eae8939d87632c64d593d4ae2089129a5d08ca14afce7874
MD5 c12daa529231cbc61e0b2722fc6972d2
BLAKE2b-256 186d2b321113c91161d6aa6fe2d97be7af5310b1e0eebb804e15a3a1bd94bb5a

See more details on using hashes here.

Provenance

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