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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026081001-cp310-abi3-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026081001-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.15.1.dev2026081001-cp310-abi3-musllinux_1_1_aarch64.whl (8.2 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026081001-cp310-abi3-manylinux_2_24_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026081001-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

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

baml_bridge-0.15.1.dev2026081001-cp310-abi3-macosx_11_0_arm64.whl (8.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026081001-cp310-abi3-macosx_10_12_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 142c1292330ade8dfaf149a181abc08fbf4cd6790ed2a5c3b303f8ce270470ad
MD5 d6f522120ffdfdbf2b078fec5cdf16ce
BLAKE2b-256 0d99ea0216577fb7e35fd829d7a859dd1cbdab1968d030eecd699544097e83c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1b114e7eabf3591d628d8ada2c6b1d4f51671917b77ef0d7bab74a66a701a4c9
MD5 63befc519e00e588fa4d36c15f6cf361
BLAKE2b-256 1bc8ad0f11dd1898c4b06497c2981c260633e88ce49c4b2e82d1b90de7c67b91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9ffe9a3570eaddc838796fd072e198b1bbcc515d4431211d8b0daedc8e737935
MD5 260d52660584cd6e68afe1055d0e3cdd
BLAKE2b-256 90bb14145ed91d9de7d8deff00cde3e3e0ca81edb60ac480147592cd1725a5d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8d6e12da1533deb4eca6a0d7a5bac83d218b97c980175952389bb5d8039256f6
MD5 b685d10554b84b10b5dd814068585378
BLAKE2b-256 c95ebfe50e38e97bd2dd4e4c376b8b5540faaa673ddd2f5aece8f7448c2778b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 b2c10dcefe5e57f04aec88f06985e6d3dba315af576f66242068f4c29ebf9796
MD5 b4188896e7c0665a31417d3b169c8617
BLAKE2b-256 4b5b775d6dac876c120ca2b3f5fc23a747e20f4fbbecaf5352ae690d4f05387c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4bcacfb6f3948a1c4f76d1e2f82b615193628ede225154374e1ea915eb13d4f
MD5 acf011e0b907242fef4db24c7518fc4b
BLAKE2b-256 bed044b5707ba42f3219a5f7750224ec673f6eb13dea0b3eab0b4b9c647599e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4d0216a87e4d462b3bd5f1d90203f19f9074c83582f36ed4cc07c1a31b804019
MD5 d9987d337fce844dfb9a9318c101efc5
BLAKE2b-256 3a628c381f5c53b09502c967f6bd7c3f631680e4c8ddba4b3fc6f82e14933338

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026081001-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 209bf3b7cd2d2887d65e5ea88aef6ed6d09ec8e811d319881ee89451f5c7dd76
MD5 db64c1471f7fce40778a0a5d0dcb65b3
BLAKE2b-256 5e7e76103c79721b067cd162a4575b6397ce2e6414d7f7c60e752436456133af

See more details on using hashes here.

Provenance

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