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.14.2.dev2026071001-cp310-abi3-win_arm64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.14.2.dev2026071001-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.14.2.dev2026071001-cp310-abi3-musllinux_1_1_x86_64.whl (8.6 MB view details)

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

baml_bridge-0.14.2.dev2026071001-cp310-abi3-musllinux_1_1_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.14.2.dev2026071001-cp310-abi3-manylinux_2_24_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.14.2.dev2026071001-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

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

baml_bridge-0.14.2.dev2026071001-cp310-abi3-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.14.2.dev2026071001-cp310-abi3-macosx_10_12_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.14.2.dev2026071001-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 8ab9f368d805e95b7f8e5188c498377c4848c4263e8849cf42bec854df861e61
MD5 8c24f92d6ac23902197b4192a7e9e650
BLAKE2b-256 f7cb4f89be25a8bd11417385128f2877f046bc263045c9cc24bc7109628f95d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7310454345175888dc0a47e1ee8d157f3f038265ddc53f64b3c09bab67d2d9df
MD5 44c6aa02f239004034a945c42910169e
BLAKE2b-256 2355cb01f2fe895c88e570e0e27ba2f8e0055785dcac6a4963582f6d5b63386f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 66e1ba1dc1ff601da7d9e50e5756f1f45d1ee64415492b44a16a58bec56049bd
MD5 216d6b6880a6f9d5275d2e4c2639ad3b
BLAKE2b-256 d32490e7cd21c7c568217fb9ce2ea68440ced932c20a7a9009a738e0a1bd3dc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f12bfa330636123beaae734692c89f930e454c1b8f13ab41d72d7e9642990b35
MD5 0bbbc3eae15f0eb596d156ae96077f0f
BLAKE2b-256 00e99768d43ee54cea67cb3a3ceaaf1fa6fb3ca45c167e97bf4eb2aff88c0688

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5be6e58eb3b2d5191c0329b5b1c31b49c837104640e608e1e5e56e8f9e16a3c3
MD5 26c3c787098f49aacaf586fc28c62100
BLAKE2b-256 52e43b9bb57a994e7620f9689971f729eea77c5768283362839fe1b90a65b9ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb9bcb4d72a323d3013bd42caa232e16e56a32fb1f2b5f8ee2f711c16c4f08e7
MD5 13a0c5fd2a6f190964585948408ab7dc
BLAKE2b-256 70f0d996974852830a792da7c976e7a961254d4f06e75c65547c5572220bf71b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b5d8158bbb1f1c06090238b72107495401a554a6189a2f3a41201ab3e1c2213
MD5 43ce03563a15fc32eec5145a9a3b113f
BLAKE2b-256 5c5b35c9b12d47cc50c134afc60adcf6495fde8dc5bbae8f791e3cd8e90760f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026071001-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9669fdf698fadea729d1576f8dc53ee071241e631e5136cdee3e6c47352ec6cb
MD5 86b5138da9a6ac9d036ac87d625c94ba
BLAKE2b-256 c24bb45db6229df1b974bbe42c025dab3ecf20ded52f1d227dea106375d3595e

See more details on using hashes here.

Provenance

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

0.15.0

8 files

This release

0.14.2.dev2026071001 This release

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