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

Uploaded CPython 3.10+Windows ARM64

baml_bridge-0.17.0-cp310-abi3-win_amd64.whl (9.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.17.0-cp310-abi3-musllinux_1_1_x86_64.whl (9.6 MB view details)

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

baml_bridge-0.17.0-cp310-abi3-musllinux_1_1_aarch64.whl (9.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_bridge-0.17.0-cp310-abi3-manylinux_2_24_aarch64.whl (8.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_bridge-0.17.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.5 MB view details)

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

baml_bridge-0.17.0-cp310-abi3-macosx_11_0_arm64.whl (8.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_bridge-0.17.0-cp310-abi3-macosx_10_12_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 4c847d835f0956810364edcdfead7cc21475d8092433e8e4ea6641de9eba5f24
MD5 cc25db143603d1c19f62bdd427203761
BLAKE2b-256 07c154b6b5beb127717a4f0d129483d62de308c18abbfb86e05578414562ec6d

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d8ca5e8a56e53753082ed6f1cac4f872d319268313e6d1e2af518f23c2d96dd9
MD5 3afe705eb9b51aedf41fc222632801ee
BLAKE2b-256 34cd25f7882fc6f5d302be17b6ef77a47cd92ec0b367cb70407540cf725aca1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 729a4596543326c951018bcb3c492a2fe558cf28b80c6d1a5fc9fd65b83016fe
MD5 0539ac72791fe0e2a2600612b1a0a08b
BLAKE2b-256 7c5451edafba3c1257c7d5e6ee1cefabdeb7b576b3aecda53818e5d534e8ae95

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 eb302710f602501bcaac9886da497356fee6a08a671ba1bc73e6f8ec014de171
MD5 4cf23be1ecca7a24697d9aad2c3d508c
BLAKE2b-256 19644602be5321e0b79156ead14acdeb06df1836a372dff733ac6c90195a28e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 16f8b351c27a13cfa0afd2e4aa61c0ff5b9e5944c1c8ceb11fee2cc7476596f9
MD5 f1da8df9decc0ee220000915104b96c8
BLAKE2b-256 5cdd4de25d842509589df9b54ac819cd70c22c589126154ab7db0ca28333086a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aa0a9cb07217f61bfa7d69dd34ef4318ce4c971415ccf0be3e916d00f5be9996
MD5 d3ebb4568e2788f3b601882f8efe42c2
BLAKE2b-256 fb659f97c851fad9fa4cf47975044dd36d777a50826d8aebce286898d2d52554

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 475e4bb57fde46634d45605d44a287f52a0e1c8e5a5e723e631e7d56a9924e94
MD5 4f8d7c19da18057877b81b3ef4810852
BLAKE2b-256 e2a09fa26344f6f43baaa3c35d1524a3513b4634a4304d22ef42c899d41aecbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.17.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5353156a259a8c1f8b4e758463439eee48762e32607d71c9a726a66db07e0b9d
MD5 c48b3164a977990202f187b8094f57a5
BLAKE2b-256 51e5ea12f771a55aecab08fd42e613b5ad665e37b1bb9e9dbd455b4bc6f780b8

See more details on using hashes here.

Provenance

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

This release

0.17.0 This release

8 files

0.16.0

8 files

0.15.0

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