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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.18.1.dev2026090400-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.dev2026090400-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.dev2026090400-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.dev2026090400-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.dev2026090400-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.dev2026090400-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.dev2026090400-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5a2a4445af1f5b50f77e613508a544940210b1d46856e576a0b05a87bafd9471
MD5 ca8dceb2707955d198cb91606001cd32
BLAKE2b-256 0fecd9328a24802fbaad80924438e56230f25213d4bd9f8974d312038fb733b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0dee2a72b629e1055ca56195411ccd34f69af042836900a335fcebefb741ffcb
MD5 15034341c0e44572d076f96cea61267b
BLAKE2b-256 af790a64bf4543780220bcacfe7e9f1123ace26d64e0fdb2a301ee6befc3bd36

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 403e29a3e830d40bf592e82c9db1fa02b7d3d29ff4a558c81d7bfc621b0c7d5c
MD5 2bd6661480a7b50d401521d9a815e27d
BLAKE2b-256 bdf34978205e33e6654473f365b23bceaeb87226e95774e6b184260957b1863e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8792bd005634652749372936b0019ae2cdb4214eb06c44e16f0ff5dfd27a0885
MD5 de5e43c2d8f0cd1c93140d9e08ba0cdc
BLAKE2b-256 96119f2f91a544641fe6ffe66c10e83e748a9b71853f897eb130d25b83e51a90

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 22c6e111c90e91440e3909101bd0db63bacaf5b58dc24c0337d80058cad2c012
MD5 3d399f0e869de4b8760c8e4a843e2f58
BLAKE2b-256 b986b226a44f83d4ada179f552ca99cd65874c3362cc1496d110999e2ad33caf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b93d5823a5fb7730bc94f8c7b14c9b4fd7b776ef1d58daab0bfb45e567cafd6
MD5 71100e1214856c1ae2747afff65b4811
BLAKE2b-256 ca117cdcfffe291e5aa84747b75791a782c499b44b6829d40c283b2caf9d65c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef01bf5bfdff3d8cdae997dc2e4e381be68b3f561c08d3aa7d4fe5b4672d0105
MD5 536b3ca932f7f38b2cf490a7ca6f6219
BLAKE2b-256 e78ed2944bd512417b210a408170882505a1447c6980c7d8001c3294d78a4787

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.18.1.dev2026090400-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f45ef495f2832d0ba0cdd26cc3b3f922bc745a246394c130da9940beeb7340d2
MD5 82e95e8381b9dfb8ab0fb1ae9a345c8d
BLAKE2b-256 2fc5280b248e068efb1bbed5144065a4b7176bf9b2a8cc2137212d89020da244

See more details on using hashes here.

Provenance

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