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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_bridge-0.13.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.13.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.13.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.13.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.13.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.13.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.13.1.dev2026070801-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d69c5f2d520fb1b64bb316ab149e5b3378cd21ac081e2eb9b919dcb5065fdb24
MD5 d31878b96c2d7c28aab204646c087c92
BLAKE2b-256 cdd31df77e910c59a494c6a9d7693972cb0f320dcc8b587ed9b578634170c180

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f80f20a591fbbc73d10598645f229af67c2ae61335722034ce0838e2852543cd
MD5 1c04810597528926616c47d9fd56b26a
BLAKE2b-256 29e5e692f6aeebf2b02cf433d9132d77563d46ee47c15b783c7c4d5e144e20b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 208365db4010adff840334de566efcda9e95f9ccc0f87f0acf099e7c24d2a3e9
MD5 cfcf848dc4f5fca6a9e2f6e629db102d
BLAKE2b-256 c2f027abb77f110a827a7479cb7e171cc75a9014faab5c58894bd7c7f943c056

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9acd524053b76f27adb5c3c91d92cc8a5daa4eb9d4faf5107dc71102a10b873f
MD5 d002add5fd548566eecc595f29ad5e47
BLAKE2b-256 52f122964a28f3e05db5cceb40a19aafd5dd17c170bdc8c96fda4d6bc5a581f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 57614101fd7fdd144ee2f4d4f8d24587e39b7ad36e9ca20d662baa0a99aca4c1
MD5 54da6ee619bb6ff6b79f08df75ca0228
BLAKE2b-256 6c5e0c31009133e37304605e11a4bf51d6b38140b3b19d391e16bd6f9e10d947

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef0355c189fe2868b09a2eae45be0dcfc6ac2902b63a204be897bdde3a5e8538
MD5 0ac51d9fd389df4aca5fdbde1992af7f
BLAKE2b-256 4df45a766ac3b0c0c4383d29ba9b4a0eebf12b420071f3fc9b4b456164119222

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37dc3754f285f93f465697a6fc9feb494d0ceff43062aa82ab2bccd12f7d5efa
MD5 d84511610f911bcde33de2ed32272270
BLAKE2b-256 e7228853da7b2b7733e4fd14ee0e41facff06862d3d78f601813e4e0ba7ddb28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_bridge-0.13.1.dev2026070801-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 65eb07fa73f041a079903f4f0aa155fd22492ac10b44d8673e880e80377c9466
MD5 1bcebc619f5845e61f8ba87a511b54a8
BLAKE2b-256 77bafa306d2c8bc9760d4a79f8bb12d47056ed0dbd49767db134e247623a3be7

See more details on using hashes here.

Provenance

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