Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026062902-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.13.1.dev2026062902-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.13.1.dev2026062902-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_core-0.13.1.dev2026062902-cp310-abi3-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.13.1.dev2026062902-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_core-0.13.1.dev2026062902-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b2875431762387729b6bc217774e11b5ae4d060d658147f0f8eab064ef365ee7
MD5 83e1ce3634da7711520898b7d4f31a77
BLAKE2b-256 3224a58142819cf38091b3131191ce68ce318127668d8f9fd74e681921168ce3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2ad96012a69fbc6161bfec84042a8798d0e5693ba32fe17582b4531a2eaca7e0
MD5 6b599f304cdfc6b5391ea98106bee45c
BLAKE2b-256 d980375d519053178ac8218fdd68e11f1d10053dd03b0193da4ae790abf674bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4b8ef1cb5b41b22676c881576da79c964334b67be65b7a0e250f65ca0b077202
MD5 7ad65674d06ba92d09a7a7dbf7e174bf
BLAKE2b-256 5b1708c7a7dfbef0004107f921459d6c00e98d6f780285f1be9603ec9b72d936

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 65554b5b49c3701d2fed88e036017e0c08244e2f41bb826980dfda7afc71eff7
MD5 9e6d74d79bd2126eab5284b07b55b31b
BLAKE2b-256 e2c8b47b740fa0c3a8ec5e70fd5bb53101876437368c3a6269f399b41167c646

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3fabee9140f50a6bc1314d6f9956f953488af5e75b8e20f0528924f65570d606
MD5 0e455ceba101799d861cf6e05e93b1d7
BLAKE2b-256 e724fa0a4a5aad29da0413f846f7b3a7eaf1f353a4e190bfdb36f08c45189783

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2f6e759484f8cf84c10c600129e782b57a1d4d60eed5b6a997898e8c6d76455
MD5 466b71d6819f55e5a5f696c244c3ed59
BLAKE2b-256 cfbf976bc837a21e8e620a212368626f85b06b501e3a6134d85a0a007aa5825b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82c4a8f59806db96fd2bccd549244d004b974f53f9babd6273b2f16c0306873e
MD5 1125490db53d74679c9165ad5259ae2f
BLAKE2b-256 70c9a7f1321faadd87429cf240f1cfa44f641c8e6bdd2eb3cc779edb87cd9a48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062902-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7804e6c45ce1567a43049a182e8a6c3336de3b4c054718df35110c37feb889ca
MD5 923c4c1124b3f6f581b81b20cfbb4fd5
BLAKE2b-256 6fe33eef2abee16da5251bc53e7ded8d71a9d1415ef8784442c48981d973ac45

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.13.1.dev2026062902-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.13.1.dev2026062902 This release

8 files

0.13.0

8 files

0.12.1

8 files

0.12.0

8 files

0.11.2

8 files

0.11.1

8 files

0.1.2

8 files

0.1.1

1 file

0.1.0

1 file

Supported by

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