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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026072901-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.dev2026072901-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.dev2026072901-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.dev2026072901-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.dev2026072901-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.dev2026072901-cp310-abi3-macosx_10_12_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7377256221b2878fa4a5e7028e14b924ca5044135e8b7a2e9017eb3485f6e843
MD5 d0e87a19a44705f934c018b0238d7286
BLAKE2b-256 a6b9a3abe4900ad5b1267561c59515cd66385493737b5544937ee136a2361243

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d633769f56f3e7ebbb567872047849e91c575f7e3cf1fcf567dbe5d7a87ae75d
MD5 dc67da3fd112119b59cbbef18408548d
BLAKE2b-256 790a3a0002d5305a0e57c36636360d06fc2161f91b343b0cb24e8bfb1e5a3b0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 bd3069d4e67994b80b9e31a5074b2c6ce5a629cc0d7887aba323a477d69116ae
MD5 306a4159249a022a174aef613882151f
BLAKE2b-256 e5f1c945e57a9773841eb46d54e19ebb6f4666173f031a4bf5d52e94061ba792

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c14525652718cf14450b7c7b985f866259352a8519f27ecd1ceb0891a4997f6a
MD5 f4116c0cfd99830ba3df2b5ca8acfe10
BLAKE2b-256 066ba45cf5c1dc1e3a5db121925c5aebbb8d9b48d9a8fe7c5bfc59cd2269e361

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 4b3aa88fe3625761d796e7d7c5fdc6a53c9023c94ab1c793e22ee1c509e85746
MD5 335de63e7b85963432063f319930913c
BLAKE2b-256 41d99c6c6c6f87812317504dd1d3fb75c6dd03c186dbfac55b907f2cab9a66c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3887a8ed03922b32f59409e1e6f2eb1243bf60e898484cdb7ce716099364aa65
MD5 6966d023de549349cacc6d94055a94c4
BLAKE2b-256 31295baf1ce6c8749b2c4a193cd0f948b188225d712db65091d06da0e18f64c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 954254fe0bbb42538a02dbc14dcc7701f7da621fe82ed4c93e591661012d4012
MD5 dc6d4a8f125d5729914d1b73895c3800
BLAKE2b-256 081b4701028464da465a44af677ddd545863298110d71755c56cbc9450737841

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026072901-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0947063c3c501b4e9e3542d0e5973cab5590cdf183e71236b15b219fafb3c1a4
MD5 58d17745cb77b408e493aac7cc614dac
BLAKE2b-256 8057eb27834a87904990fbc1f0485fa5d1ca26e7f209b8f723347e21723d3d01

See more details on using hashes here.

Provenance

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