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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.1.dev2026071403-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.1.dev2026071403-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_bridge-0.15.1.dev2026071403-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.1.dev2026071403-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.1.dev2026071403-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_bridge-0.15.1.dev2026071403-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.1.dev2026071403-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 4d5cf42ada2b51c5b446a6cf4ff6b749618e546e9e57c8498422c37df8193228
MD5 d960e5728743fe84f28fa00c5773c445
BLAKE2b-256 734ef7a0d0343cd6b15b6b96e5b1127a15fcc8bb63672794ea87515b9ea6f71d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e0ef61600ed425e49eebca13b52a9ac86b0d51c8cab999a13378c614963585c7
MD5 8e60e27ad96ac48f1321687e899c2cf5
BLAKE2b-256 6e783a6e0cd0c9a922e357740a4f4dce319e25731323d9665a4900d2947cc798

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c98dd5977a20c2daa2f20532be756a0359a39da720fb385c06acecb7b6ac34e1
MD5 923aa38635101de4de9a636bb681e019
BLAKE2b-256 1b081e14ddf3513c83a9f9ec27d3294b465fc1e5516b3b70b4fe8d02be680336

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ae6aae3ebd0f6ee21b7dd233217ae14b8c86e37c23ff478ddfdc6355c0f82bf3
MD5 c01b3bba5beef82d512d0aa52f64a5fd
BLAKE2b-256 00a4e73bf15e1f9ffd1856ceb877db883a092d9993ea1be852ae28a8bcbb053f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 24540e559c12fa689c616a22f6a0468fa277e0044b29a95def3c2ff1f2541cc6
MD5 16c122402a63d5b4277c28af64edf836
BLAKE2b-256 1fb2ca1ffe25d64a2e55512fad539e377b2e885011ebe10c131ab7a49f8c0b93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ab283829ba1f6b02ca3fe48d6f864b0424f681327d99a35dc1d3ce4c6965147
MD5 3b2e18ecf26057f88a7296800529368e
BLAKE2b-256 e4f0f5eeb4670be3f3c313fc7818a1635bf1b21551a8c66df5984b3322bc63e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0756daa1a57a3d25fd1974710b92bc59e6949a9100bbd4a5b3856b1247ce7a99
MD5 5cdaea425e85828c9d207e28c91ec5e4
BLAKE2b-256 98730217167a107c9a849f1d29148a759b02f652d47677258d76b227ba2b6fa2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.1.dev2026071403-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0ada63fe673c5759e880618de556c98d8f02b91111c9a39b1aba6c9c1ebca3e8
MD5 2bb8cb6a64b4a6239a35c7b50dbecd50
BLAKE2b-256 eafa13527e858ce17dec6e491518d62bb0a467aa36f5ac6a54cf5cf8d13d33d0

See more details on using hashes here.

Provenance

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