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.18.1.dev2026090500-cp310-abi3-win_arm64.whl (10.2 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.18.1.dev2026090500-cp310-abi3-win_amd64.whl (10.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090500-cp310-abi3-musllinux_1_1_x86_64.whl (10.6 MB view details)

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

baml_bridge-0.18.1.dev2026090500-cp310-abi3-musllinux_1_1_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.18.1.dev2026090500-cp310-abi3-manylinux_2_24_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.18.1.dev2026090500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.5 MB view details)

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

baml_bridge-0.18.1.dev2026090500-cp310-abi3-macosx_11_0_arm64.whl (9.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026090500-cp310-abi3-macosx_10_12_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.18.1.dev2026090500-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 96d8da7621e012c85072347f31321def0996dbb2392bbf9e3479140711c23742
MD5 becd040a8731f68796e3b16ebdf5ab0e
BLAKE2b-256 1e6e21a5494401f5c4d81f9f350175a782bb08cf7a84262ad363cb4e594f5190

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 615b27d655a52cf5115bec7847a7c786e48d3a6c620ca0c93e5bc6d2084b50ca
MD5 09f0f04e1c2031e481b1575d3f044d80
BLAKE2b-256 f71a637442f32fee26aa727e67ca184b24649c59b195c7540e34d0dd3844a9a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 79e60a13d06cb0a6feda49a98eae8308acf8641f50c2c79f1eac7e3f94b5d7e4
MD5 a130693792ffafd8ff3e29b3cd635b9e
BLAKE2b-256 e9d6edadd6c3abcfdd959d74fab18a5a246d638ed1c007d2da30fda14d482f2b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fc5c7ac67b4d1634aff6848f0e7258e867112f5e007c9b635a7dbcdfdcfa7d7f
MD5 faeb9e81f875b5e2db956e1b3726c5e2
BLAKE2b-256 2e2e36c373d611fd735ed581f2d4ffe55e4acca9f11ff4d36c736739aa19872b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 46f62f31ec754d2a4f9377db5a2a4afd9c23c70d24324b63a8e7b9cdd509e499
MD5 71675ccd3062dcc914e814c7a8d6f32a
BLAKE2b-256 6c4df17d93969cf25932f9794c1c256c104274ab52c55f7fc25fd6904ab3e8a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebbd818157bd1c1a168f6dd22dc3f21a994670cf35c61eccaf4124c42f776fcd
MD5 6dea393a7cba18723930786d4b0a25fa
BLAKE2b-256 1726e0e511ec41ece36b1f587f25ce83bfe1fcea89a0da3528071371d933b516

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a21957a04d8a75006a70a37f9c5e34abe4bc47799ea2d70e91a2268e2df5f303
MD5 af03ff527b673c713a11fac0e6f6c4d9
BLAKE2b-256 9a358b0d14600fafe3a9a6c73a49c6f880a95961c148a0cbad2584a172b23600

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090500-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 01263578fa50c5bdaa2fe583cab359eb3ba538e9826e9377738674904e1810b4
MD5 3b9c42421cbb0e7dd174ff2c7465c84e
BLAKE2b-256 ea6e392ffdf2f7be458fc43f39eafa417e4b6317a77d6a84885cb5317a8c60a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_bridge-0.18.1.dev2026090500-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.19.0

8 files

This release

0.18.1.dev2026090500 This release

8 files

0.17.0

8 files

0.16.0

8 files

0.15.0

8 files

0.14.1

8 files

0.14.0

8 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page