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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 750a5b5118841f970837cf6674caa419e7202a88cb5cc71a561d49ef4b0f04fd
MD5 1bd28ad70f8798cf849b42f0a1e559d8
BLAKE2b-256 466d29894bb665c73f847d05d8c3e9658c1bca7612f0b5c517ba07ab015ace22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ea60a89c1a72f31585d0b6b5ba6a6aaaffe3968eb31314a04c5bf39175a3d02b
MD5 0af53fd2656fdb78a3cc5503acf4bfe6
BLAKE2b-256 97ac9bae35a760ca3d44acd86179354d0ab9d1620e1b7ee7fe9bc41e62dd3e0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b3a0971a19829df3bf1f68101d55b78d5636a73d4cb30a2d4e15b9f1bd82feca
MD5 dc56cfb2817795e93d7ea06dd99a689f
BLAKE2b-256 68751237c58d3f178b9e458e440a8b1a623eba78f8aecb6e868cc0b79b07d8f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 cec17864b52add5e359985aa138fdb3d147a7348d9d9f89b4a60e29f7e4fd5d6
MD5 5b2738e40e511cc58b897bcea5382665
BLAKE2b-256 62e8caf53efaa7ff093323ef9c99bf4e30bcd76096a65062dbb07735544af961

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 f9d1aa74d69032966f27ce5bb94e1f8e21ba155dc73ba7b1c55236cc0a59840d
MD5 22f7b6f8407b7ccda31b9637416f301e
BLAKE2b-256 ecc3e96e9ea82becec132e2426b33f3a6a6026d1fda9f841869702e29ee830a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00e9267ea726be66e8c49e76a47447435eb2c5eb3ec5884ca242486aff3d4ea6
MD5 8e2dc68d68af87aa9d08b87b4a625518
BLAKE2b-256 87f5f014ad00d711d44f27c9234073f7f0ab6b4fbb386f578f564e764d02de16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 24bc7759fc96af4ebc71115f9aba86d5021a37ab31523262921f475b26b6b5c7
MD5 f280ed1fa3553afbc9df226aae73cea7
BLAKE2b-256 02e34499fbeb8f383892d216e37df635482af354e01a24f2618c18f6bd47ba12

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070802-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 51d31760fbb48715796db6eab713df0b36a361713b1633fd968d56cba4e34950
MD5 0f37d04fbbdb2fbd1641d34b16311910
BLAKE2b-256 a3d56ad0d5c9e1a6bd759c34957c4862c2e5a5ebf3d2e0ccfb0656bc920a7e34

See more details on using hashes here.

Provenance

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