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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.13.1.dev2026070800-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.13.1.dev2026070800-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.13.1.dev2026070800-cp310-abi3-musllinux_1_1_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.13.1.dev2026070800-cp310-abi3-manylinux_2_24_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.13.1.dev2026070800-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.13.1.dev2026070800-cp310-abi3-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.13.1.dev2026070800-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.13.1.dev2026070800-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 bfe592478748f88c66251611a420ecdd1fd5d3d7b65f7bb1bad4e417af65e0bb
MD5 f01c376faa1bae21a2f2638bc4735558
BLAKE2b-256 1aaae219c98ee3e5262c932d13a56339a7b85671b85595c7aeef125222c241fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 009a1c44cc98c79dcf0f3a46b43d138690eff44e8af6e5e404d22073ffc9de29
MD5 24f0d4f45c1509eee904c9599392c1d0
BLAKE2b-256 38f94a4ea06595216f6e00b520570d48b0ea1c352b18cd322ac90a1f8a75c2e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b1465cb2941569ff57da353d13da629215752f4d896ea0b2f6debc9018fc9728
MD5 cdae1288df603f8de4ed8675892c4cb4
BLAKE2b-256 c511d2b2a8b8d29f6b8a645977b77340d33e1f1a59720f24f93ed2a470d8c821

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 19064f0e4cd76e21ebfc2cfb0cdd289d7779b4ef4a6a7381334254207c4f31f5
MD5 af115cd74a4d232a5cb651cbb17e426b
BLAKE2b-256 7f4e82eb7f7b6b8713b3c6a0037e18cedf1d1cf3206820fc19ec645a06506591

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 586eddc89e9ffff163c910c02fd9cb237d027a861005c801d4cb662eca0267f7
MD5 92f5f57bf6740585bfef5aae78357d85
BLAKE2b-256 2b2b3fcd27758bc7276fa133df586b3d3e681ea67e22944675abf95ee7c6d235

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 27e8e9a6168c84f84c441ce3fa6b9ff1cb61f4ffc22c4609167c3fdc00616af1
MD5 1987a996f58eec9e82a457cb9894ab65
BLAKE2b-256 8dbc12b42d9ef500d458287f016c4dd838907980bdbbd00986d43959cbcb8846

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8ae7310f270341a68ea88b06cc7c8ff2f968b1e466be21a5ae96bc9030803a36
MD5 b7dcb868475be653aa17d8386a751dde
BLAKE2b-256 bed611da73f8c8c6396c90a80342546df83649bcf9622645827fc8351f3cbb53

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070800-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c28d069da9325a048e1d6a8c15cc07ec070af31848bc826004d5a4994ad5171c
MD5 6d7042dadb4696e86dad75ffb84ce0ad
BLAKE2b-256 89d103448cf83ffc269e32773b8cb9bfb7a23a2002cf85c0053510e091d77a51

See more details on using hashes here.

Provenance

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