Skip to main content

BAML python bindings (new system, bex_engine)

Project description

baml_core

Python bindings for the BAML runtime (powered by bex_engine).

baml_core 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_core 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


Release history Release notifications | RSS feed

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_core-0.11.3.dev2026060903-cp310-abi3-win_arm64.whl (5.4 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060903-cp310-abi3-win_amd64.whl (5.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_x86_64.whl (6.6 MB view details)

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

baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_aarch64.whl (6.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_24_aarch64.whl (5.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

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

baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_11_0_arm64.whl (5.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_10_12_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.3.dev2026060903-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 20cece70fcb7394b381c5d3732604ff856236e98c5f03e26062e8c79e6ef01ea
MD5 5df60680178e550a53005011c02479f4
BLAKE2b-256 16110fe22186707afdcfb2051f35a7e9398221a2cf14da55d49370d7d13198de

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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_core-0.11.3.dev2026060903-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e9d3a2f8d902c2881dd45e3c4499f48a6d617857c7dc0d89dd4489b6b1730d94
MD5 2fc82f2f4a71622803feee6aa0e6b788
BLAKE2b-256 76738912be188a3ea4a23242bb12fedc4ecba8f86bd2c3af19bef8860837e752

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e065474ad85a6271ce626444a0901e72a149178a7c1cd58a2c65ab3980bcef26
MD5 e8e2b55b1f58f1e30dbd62ccaa26c399
BLAKE2b-256 6fb87070138bf0203aee30326154f6ce897d9cb3271c51e12ae7634edd109508

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 bc7350dd5bf6693c5cc0e3d20b6092266f921ec3552db8cf619af2e8a769efbc
MD5 adaeeb2e8c1a68ee74096c4b0bc10f59
BLAKE2b-256 852b076a0310598dde0321c0a33d1d6e226e167dadaf40498fdc38250f66e805

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e2b20313b1110ed13d703485f2d7113803c45ec53d8e9fe63f87ca6c4da966e1
MD5 882e3f3e9f5a3495d790ce2487b8fc08
BLAKE2b-256 f943657f5f776886f14b75ee8af92f7884da04ca308ed70d4c203d73f7cb9900

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b2abf3e1735ab5f47b2738db76d35567662f962a71fa338f31bc0d21b28f745e
MD5 05a4782393c0fe3c0c19ffc99986fbab
BLAKE2b-256 b2c98191c20bebf97aed342054d10478f993981f3acd4aeb86550f0bc9637630

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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_core-0.11.3.dev2026060903-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 228b9328a370c8f8711449722cfbe9db6093b94318af0f9a4df1d07837d8387e
MD5 a962dc0e7b557e8efc97b97868cf7154
BLAKE2b-256 46ef2582ef83cd19f208cad24bbf660a889a12f83fbd71f6485291499282704c

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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_core-0.11.3.dev2026060903-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 89fb63e3ca26075993e99deb145056f37e6629aec3d8cd90c9927ad8c841ff81
MD5 ae14e69b175b94a038fe85656e55c506
BLAKE2b-256 7d9733de233318cdffe818931583848f510ff49dc30649bc8bef9eaa305456e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.11.3.dev2026060903-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