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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.13.1.dev2026070705-cp310-abi3-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.13.1.dev2026070705-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.dev2026070705-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.dev2026070705-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.dev2026070705-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

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

baml_bridge-0.13.1.dev2026070705-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.dev2026070705-cp310-abi3-macosx_10_12_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.13.1.dev2026070705-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3baf42544c98cae6927838badcd3729b71bfefa6dc2232ccfc6429d5b2d82406
MD5 ab6db6b539d2e8af700abbf9b645bcd3
BLAKE2b-256 52581e7e67710e8a46784d7c2cb595fcc9896e89f604f8fa243e7c49c1934eee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 80fc7adf50270b6fa504207659cd12d690e1beb5d823639039ca6082c6ca5311
MD5 1f0fbece31e151114fc6f80929116adb
BLAKE2b-256 c4262bfddaccc3c80d352ba8c10552a3e99b5567cb24df18e497b4560f5508c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8b81cfba0741f1ac617b5cd32526ee09ef20f3c073866f8149803d36c973001c
MD5 d096ea48fcffa2ea1effe84ad3a8c7c3
BLAKE2b-256 cb7c9f2ceb439c8785563bec3768cf3e77a10edaf8666839ffe24c715927ec33

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 026b7f121372d7030ccc46af25d36195d352f3e6046a5390e00ab50b846a7081
MD5 56a2a2ee53fd4b4efdb5cc5cc4617611
BLAKE2b-256 2cac95577d33eb57623478f754f06a1abf67412bb512024e9f890d8babce0620

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 74525e60580dc9507821b1fd7ad86de7ca7987fce6934b8a786fa28a6b41d50c
MD5 8d1e7d2c2b8ba984d30d66a1bdd12df0
BLAKE2b-256 1a3e3bd7b7987433cc3c490eee887cedb8bcdd05826cacc092f7443e7bd5603a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a21182235ba84435c31fe1e26b6d5b5c065964f02eac2d273557221bed37bb1
MD5 d35e71c9b9aca7aca30868989caa5dcb
BLAKE2b-256 fdf18d81de3726491a316bc42a1c3df517c7d526261969c608ea15f329a95fd6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89fca847f557fc8a3a05249aea6b60df1c045386c9e94dd567d188e6bf5b8cb1
MD5 19451d1ccdf0b7675cc143534c5e7366
BLAKE2b-256 e49f6f3b2dd7a7d2e2cf855a89413fa1b391d0e9c9b9eedd18bcc474ee0d5065

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070705-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 116b1514bc1edfad415230e93c1fe56634921c45d1d1af3ced90286294d4cf02
MD5 4873655446308402c741e8d0ef9a9408
BLAKE2b-256 dba4301aa489080b506f003e8d0787ebf31c41f39398295a851313114bf771e0

See more details on using hashes here.

Provenance

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