Skip to main content

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

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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.15.0-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.15.0-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_bridge-0.15.0-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.15.0-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.15.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_bridge-0.15.0-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.15.0-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_bridge-0.15.0-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ac33da9a3a4379f0bebea8ac1c9960e885d176ff80053e37d344e99517a910f9
MD5 54209307d73d3b7a74e4dc080779b8a8
BLAKE2b-256 996f77c596785b5478cb48be257c75a3cb9ef4d8a6a1f17a16d1ba89d0767bae

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: baml_bridge-0.15.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a7b9c3e6080ec1b94668490578b6e17cc98ab0920bd2f01683abb5cc4f5fd14a
MD5 0d621b81ee843bfa8ed2a2bf06397e10
BLAKE2b-256 d7b21e9113a564bf87420a12583d6770c351d0d78008dd498107d87b8d4464b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fc438867db3d7c8f6cb724e6822bfaceae1c4d794ed80c89ac43b18fb3d218e1
MD5 cc5ec3322b7928443920ee9e96adc73c
BLAKE2b-256 a5d94b0cb29eedfba6ed343d41d9ee511d39266e7421f4f7d8a72e890c83530d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c6ab2d4b4e75853d27e485e79a910911df6261b5cb9c368e9517fad332efadc3
MD5 b248b38f750318c45df8f0c01436c4c8
BLAKE2b-256 bbf152c1b612952d10d62ea355d02f56c26942bb5f4abd5ecc4a64973696b965

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 06c4c7dc2cbd03e66fbe73139ca7e5acf4cb925001a1ad27eaabe1994f0d3495
MD5 f0d30c11951d714dc4e28962dc35a85b
BLAKE2b-256 eb8b42a4b722a3b7b316c078b854a3bab21eac7d4304a65da594b0ab8a7794ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28808b8abf9e81bf3b4cced991f3821ceafab574df834e2a306f8d3c9fb7cdb3
MD5 f2e677a51d494338e4a63c32f3610c95
BLAKE2b-256 38bec3208511bc52591fd4e4622d2a97404635d9c05c27e572bd28f42d16810c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dfb905e80d4da8a22f4664646f1ecc7b4f1c6608bda023724d0f8522db1a8234
MD5 fe43202f05c06855b0f6b24f2a3ed4e9
BLAKE2b-256 ba250c43aa90514e18197dae56e16b46859ed3b9de525942c08efe068ebded15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.15.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f2fa61bf0bb5e49d2bff8e5eaba944a6897ec729dc8c0b1f1890ccc39bddb0d3
MD5 8aa983277e29a6ea351fcaa8ef2f13bf
BLAKE2b-256 a93d75f3004e8e9be768082bb5f605ad4d07f094d7828ae6f21f1c1a04a4bbb1

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

0.17.0

8 files

0.16.0

8 files

This release

0.15.0 This release

8 files

0.14.1

8 files

0.14.0

8 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page