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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026073003-cp310-abi3-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026073003-cp310-abi3-musllinux_1_1_x86_64.whl (9.2 MB view details)

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

baml_bridge-0.15.1.dev2026073003-cp310-abi3-musllinux_1_1_aarch64.whl (8.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026073003-cp310-abi3-manylinux_2_24_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026073003-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.1 MB view details)

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

baml_bridge-0.15.1.dev2026073003-cp310-abi3-macosx_11_0_arm64.whl (8.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026073003-cp310-abi3-macosx_10_12_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ca8878a14af378c68151969b26f78527c4f5d8e7c39e15c6f0a29a5f54a23cf3
MD5 96505f59f83d24ff1cf2746c986b7f39
BLAKE2b-256 ea967d4ef06756d355da0cbfdf05118346a5915abae239f3ee2ab0a8fc46e86d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b2ded8fe70e4080dff4cffdfc78d4a04cc28cdee088e2a60b09d613b982df221
MD5 6700ec8a15b160fa28ce7e61f1709d59
BLAKE2b-256 39f1ec9a00545289cb13b734e41ad3ecbbc38973d4cc79597ec32e8b67e830c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 376356cd0d7c0e323c0250313ba6de715dbbeae0b5125997962555a3821ab05e
MD5 d69439a09f38c8bd6d53844c3392daab
BLAKE2b-256 72f7df4da50ddcc033300d289fa8b0f8fa9db2a5a1ad05007a44c008c7ca2b8e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 2a4768b275b3a4b755f3578e6b47d77bc1ebe5e2d3786fe77a98bcfadb747c76
MD5 87cfefcdd6224860fcdeb012b5eef5f9
BLAKE2b-256 132f4d23975d0850dd7b622382f17039f6d789ddddc56c39960eb958926b7918

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 bb31c3d768f390597b7c95e908d6667c9538bc4cfee51ca1248068df170298b2
MD5 972f6a597efddf0a68e36a86366c3202
BLAKE2b-256 a81deece9a163240f1cf1f8d3e4356d0ce48c9126eacaab094c1b639064bff82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7772d895b73f1023a88a0f933aada41aedfefcc07fa5eb3e7314b62d6850e4a4
MD5 089067b34633f478622553eff9040a9e
BLAKE2b-256 b3ed61ab44bcd08ee0704e93ff14bb068ede8dbe6d9b38ad178cb9f3ab1725e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a0d1aa2a13f77cab7991fcb5a592617aa8b9bad72133bfab53ec669216ee4243
MD5 ca0e88e864950b47b7fb4c95bb2d046c
BLAKE2b-256 93f8d2bae2cc3f1be4e814b51cbfa85cdaf2bdefe00b741ab5ae68e1ae81f957

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026073003-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6898287e24392e0d542387836bb14ba93fc64c3b262bc1007be955867dafb43a
MD5 bef6069ace982642f53dd1dab9ef6c73
BLAKE2b-256 3ae5c1fc302752391d45c1a52b062cd9d06a3f32b3f27fac82054aa3c0d25839

See more details on using hashes here.

Provenance

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