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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 2bda9909cc7b92a93c1f95bf0382f0d8fdf5fccb1e167cf266632edc94e0f9bc
MD5 c5bbff03ffcb04823aaa7b6e65700d80
BLAKE2b-256 07f9cd7d86df7cd5fd520bcb0f76fef8fc2cff7810dae59862275b93fbf27b8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 15999913b8df13eda9c68f67652de5d2ba0945a6ff8c679136bfb3bcfa2f5da3
MD5 1a3849b1930413a2f923398d92190a60
BLAKE2b-256 f67aaf26f3d2f2220f627c2ee33d81b89b804412db564309c98bcf3f3eed877c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2117396bcc64f495cf454add5e5ba422351f4c67ad45ffed602219fc515f6958
MD5 abdb11b3d01eaa36f1d8e588ff4adf1d
BLAKE2b-256 ab9937d0e992ac7758dcd39430bc173b8bac96d116a699bd613352cba1030fd3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e0abd7975ccd5f58d15946bde3faff9d398d4b67fbccf3842f598e1c7f75158f
MD5 02d07ee9c89ecb2c627f0363bc2d2262
BLAKE2b-256 d06f0d61192075397c48a2df693f777e0a1c1d4f1c9b3f41ebb6b6bc38b5ff77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a6eb86513f9658a4c4194dafeb9fbc5dd395b96d3bc37c57ac91bac68ff85a54
MD5 ffed5b7272a89bc6d59fc7f5bf5a4f80
BLAKE2b-256 ea904117de5573b49f297976e1a6c6c0f5b13693ab08469296a86965d7c08832

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 665e4451dc4c17b92ba93e796a84752962d122d21edf12e1dda399a5dd0aff71
MD5 6bb887c1f04f5fe44de8e24cc55d7638
BLAKE2b-256 29a7cbad65c75fb1b236789eb7dc5bb32778af1d64dcb930d9cc690cdbfd0ca4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a932d11b465de90126475caf3ccce7ce3b1401ce39c3e515c5271b8710da1ae
MD5 83560737266ecb8258c24f52030e6abf
BLAKE2b-256 6098fd5b4bb55a199bbc070fb94b177e197da7908e50f53cf1849c04a5a420a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070805-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 612be1b239d5fb9a75ef62a670c33cc0f9a5f45322e72f27ece18dcfa1ca5e51
MD5 6bf42f971186f17f044d5ece3204fc25
BLAKE2b-256 8fa2f46e546ac25e8560766737f0a4586ec0e675afb016ca953d79eac83acd02

See more details on using hashes here.

Provenance

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