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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026072205-cp310-abi3-win_amd64.whl (8.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072205-cp310-abi3-musllinux_1_1_x86_64.whl (8.9 MB view details)

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

baml_bridge-0.15.1.dev2026072205-cp310-abi3-musllinux_1_1_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026072205-cp310-abi3-manylinux_2_24_aarch64.whl (8.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026072205-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.8 MB view details)

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

baml_bridge-0.15.1.dev2026072205-cp310-abi3-macosx_11_0_arm64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026072205-cp310-abi3-macosx_10_12_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 fdf823e8b6a12568257dcc4b558d64f33a12b8868736a9fc1fc508aa52f0a79e
MD5 b315b87e1ed363e232232fa1e4b95eff
BLAKE2b-256 955f083b903e974aaf953da06b0594ac44b8df8c46ac307b9ebfd5c109b0c08b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 daba375ee2ddaa91e7a347e7065c8347a71b9606f816074903bfd286e7d7f94a
MD5 2a9bf760aec5dc4fb605a6a5ee60c35f
BLAKE2b-256 02de37c436817a32f3f30deacf151ba363795be9d4ad6e431ad62ed34778ffd1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ae4ac250f5ca7ff7f9a60ce33d68e4204b7257e1b6108a2018c5bdcbc5221464
MD5 273a84e9e8f8f0a7e2851308729dc249
BLAKE2b-256 f71d974869d04aabfcf6f23136676eaeca7d24ad0bc4e093df7f96277cd48d7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 83150d10d52681c1a54e77afc149af65e7752a928a9c67f0733e810dfaddd203
MD5 ef6cf1e4d2e37caeb34cec16c0d2a0e5
BLAKE2b-256 c7d92ab10522e3af791efb12310b6912bb06f9f3d6f2f2e64a20be35195b6285

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0eea7f8bdce93e276fff38fa53bf20c6745165dce035f779ecdb1d5f7eae8e82
MD5 fae2581fe70d03127d7676a8397d1d3d
BLAKE2b-256 a1063ae01253830fa4374f7c505ff90a4c2d14ac237846d507a7df67a9521046

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58fa024c86c9abad886582b507322aae3279899830e11b6470a664e5e1b12a4e
MD5 3b8c89e402021b7bebaf00f8756d76a1
BLAKE2b-256 1c4453343cf3dd2f3f3fdad18da3906035da87150962eca1aa8773d9271f5d47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e50c8237ee6df7dfe70d67cad9f9fb9fef1b73688d7cbb4781e2e4b3e7b75905
MD5 dfab145d77f7cb1d628bc1cffd400cbe
BLAKE2b-256 35a1043844dc9a141371c62ce9db87f784614fd8391797226dd29db9f0c2c681

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072205-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e6e44044d19ddab55cf5611d1e2efda2f27fd18f2bf0e005f20cb18e958b6784
MD5 7e1c7e0032199e4eb030872fd3ab26cd
BLAKE2b-256 2aefd9f1a31e09fe4bcb94e630321073360fc42bbd4cbde2fc6679c87a2d0471

See more details on using hashes here.

Provenance

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