Skip to main content

BAML python bindings (new system, bex_engine)

Project description

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

Project details


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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.14.2.dev2026070900-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.dev2026070900-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.dev2026070900-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.dev2026070900-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.dev2026070900-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.dev2026070900-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.dev2026070900-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f8da9fba9cc41d28ab60ef9c2fae839bf288c8a99d4e64a192f220210874f2e2
MD5 c894fecb6b0f0d88c2acc95d505e87e9
BLAKE2b-256 d4d2c12bb154fd18901bf15e6ff2a4df84190bb5bc8921bc7e952bc19141eba4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 75ba35f8ede88d5827d16ee437e1d67ace0912a768a61d39c267ded2cc3fe7c1
MD5 7e5ea7b1c6f7c0817e9e1866a4341f88
BLAKE2b-256 7d0d440eed89306c70380e82ad0122f0b3aa30aba5a7239d501ac3742e51fb8d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 865788767be2802825eb4329208fd3272a6ceb1d0452cbaa0f1b73c0829cb6b9
MD5 0dac378dbbdf55e94ed5d08f12bfbf40
BLAKE2b-256 d5ce4874d309bec8c9daa370402926ae3187b86ff41eb0f435afd90b133d0ff8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c2531efa0c463822ace3deaba0bf165989fb9f2f41e46f8ff5e9279a9f860d7d
MD5 fa269cd2be97e485bd4fec1501c4033b
BLAKE2b-256 63a86e717c5520e2bfed548f2ff43700912d2fab9fe179ccb22c4ba1eaf12713

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 01200561b2cf9c09c90429efcb46229b118860f17885446cd588550e52331b63
MD5 2fc78d6ad222009c694a23ad2b252253
BLAKE2b-256 fabb6d7caf84519722ab806571e01db5b1e082401faba08d7226114cdd7dab5f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 164e465b1028c9c17e467b611925e6a858a73465521e74fb02b610adf1b92eb4
MD5 e56428a308636e757fbf76ac9eae3d41
BLAKE2b-256 bd09b2c071c469760118c48a4bf04a40aa09d5031613879d500ed894b589d5cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 455154d8dacf4a46ab8ae9bfa728254612682488e812529f06dfa64d619c0b11
MD5 30a3588ad0415115189bdbddfa6e3122
BLAKE2b-256 3196feff5ed387f3c0d21a674dd787e5240db8aa18c7a1f133f7686e20bb0c99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.2.dev2026070900-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a48c0d5b0e2d0ce6798c368331de37855b3809ff17268d56c6477e85c03dde5d
MD5 410f5460fe09b56b71f55887ea81c32a
BLAKE2b-256 3ee956553c44b8db13266d07771e7fbe59ae930c0d0e7068184355501bcf97af

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page