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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.18.1.dev2026082800-cp310-abi3-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026082800-cp310-abi3-musllinux_1_1_x86_64.whl (10.5 MB view details)

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

baml_bridge-0.18.1.dev2026082800-cp310-abi3-musllinux_1_1_aarch64.whl (10.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.18.1.dev2026082800-cp310-abi3-manylinux_2_24_aarch64.whl (9.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.18.1.dev2026082800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.4 MB view details)

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

baml_bridge-0.18.1.dev2026082800-cp310-abi3-macosx_11_0_arm64.whl (9.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.18.1.dev2026082800-cp310-abi3-macosx_10_12_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 79168251ad932d29dfe539d3cc8a194744791bea1755bc2b1b132d05abcd2657
MD5 83b24ab1aab8547b097b285d283ff14a
BLAKE2b-256 894ae44e8125e7b70a72ba26ff567b385e55a07d06faa3106262ab096022e165

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e40ca112915ad6aaf96964fb211f1b3a0e9c96905d1434abedcdf01667373114
MD5 eba78fc314e670d0b24a9daf0582f900
BLAKE2b-256 00725951e0eb7530d4215d8a99f3568acec817289865900e4f2eed4cd5a617ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8ed48e9199e7a1881f735d01c49d5c3f98bd1393ddaf1f2f69697be44f07d84d
MD5 ded79545d75ca18cdde638360076d2c3
BLAKE2b-256 775fd6aaf820f8d9bc2a57d361f2486d24a030dc6e92e646665321e4343677d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fceabd7b2c0b5107e88fb2eeef7163f160dbed4634f7ab1517f9f099c238d001
MD5 73b426831f8d755d44207cb494f719ab
BLAKE2b-256 e38ced7184fc4898b8abab26047ff95be584ae2765be3095a0e8eab5b7977947

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 ddf072cdec76a784c6e805105b6c17d4e956b10a2072bd5dcba255ed2edf0150
MD5 a43eefc5edc0d67b14ae932220cdc7ab
BLAKE2b-256 ff20e7b48d9ce521a85f6622d7e3f0b09688140857b2712905df8011f38c63fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e13c4d66b2b71e0690801f6a5ea2f6e67f0b782cd389fcfa2c8394cc79c1305
MD5 24e67da057c9f82fc9fbd106c4c73a3d
BLAKE2b-256 e1516c7a389b2d5c8ba034c00c2bf63872df852e2e4483e6fafc7b4e7b04a007

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64882269b4bd29cbf5a4705f916932ed0fb5db1cd4bab9cd4cdccded05ce1f3a
MD5 95a1ac49c70d7a13c202dd9800081b88
BLAKE2b-256 fa8b58b033f8e351dbb494f648514be6fb612727bce066609498bafebe7e912e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026082800-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 86d648d30301db188a6479aa210e0afeff88f1b57eca9aa538e8ea0105064d1f
MD5 f516b17a5b44db8409280ca974897b8a
BLAKE2b-256 7bd150c39339ed6855de41edc39642f0f34bcce77f7ae3270e8fc52186ec7814

See more details on using hashes here.

Provenance

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