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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.14.1.dev2026070801-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.14.1.dev2026070801-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.1.dev2026070801-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.1.dev2026070801-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.1.dev2026070801-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.1.dev2026070801-cp310-abi3-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.14.1.dev2026070801-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.1.dev2026070801-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 feb4875f78e4b109e1434ee20b1ddea021669eacc94f073e71ed9548544baf51
MD5 7cb679d5824f2cc0d97e2131dfc869eb
BLAKE2b-256 b1873a10df253bc4728a55ea1452c2bda20eeea9fa3563160aec43a3317b0eea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fc135fc91dc6539f78590147867f6fe05e7c088a8b8b439e521fa3d5f8a4e49a
MD5 9f32c9c99539d2d22288c0ccde13f325
BLAKE2b-256 d153e982158e6b4dc10648092295b7b0ead4bc289d5f97ed05d795035c079407

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b9e2fe992aecc4c48bcea6919e9987ca27bf33f88b5b04dfe2dd4a5a5d3ea78f
MD5 3a0838b4c697251abc27be170a51f930
BLAKE2b-256 43db66aee6715a3aacf9c09ae037096e50b127b67dd4a23408f77508b903749e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 4201aee16e51ab404f9376d216e167d768d4c18fa737aea09a003c3a6d760266
MD5 e09b665ad901d161ae0f677b187b488f
BLAKE2b-256 b7f7c01b5e45abf7702b01bab2f842db8efd911ef81a6223822fb98d46751716

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5973b4548502ccea06d9a70218bba5415a5404d7dd19373c256a71feee02d1d2
MD5 b9693f41466f7f981ea30651ecfbd784
BLAKE2b-256 8ea03816a2f587fde254b0f33fe72417f99d73d143c0a6f9113043c8ecf1585a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 053c7dafcc7b66c0895b5df7790b454a0914445704807d6e1a5b7cd5282fe7a5
MD5 b5092397ec0d5603ce0ffeebc29609c1
BLAKE2b-256 aab7f8317d2aee11da09d0d2f8f561869eba379f8c7cb4a66612f118973e125d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e174ca2f6d0e1756e76bbd8180cc781ef3e4ada1683d64d27f506e5e9e67c4e
MD5 08c81b21af26546d8106bd04cc29f491
BLAKE2b-256 71f03b9b5d478da4b5866229f2cef91311b46fb4e435f503075bae72d607e583

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.14.1.dev2026070801-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3498ac900bdf36b77ed67f005cd1b1e4d149f836f971c905ce836d5e0a63b34b
MD5 4fd43a9bf5d435794134c30571917eaa
BLAKE2b-256 5c8cd0408753fcfbd43beea1b54a37018d4437a9ce03b4ffc6bbd8df2aac02c5

See more details on using hashes here.

Provenance

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