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.12.2.dev2026061500-cp310-abi3-win_arm64.whl (5.7 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061500-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061500-cp310-abi3-musllinux_1_1_x86_64.whl (6.9 MB view details)

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

baml_core-0.12.2.dev2026061500-cp310-abi3-musllinux_1_1_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061500-cp310-abi3-manylinux_2_24_aarch64.whl (6.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view details)

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

baml_core-0.12.2.dev2026061500-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061500-cp310-abi3-macosx_10_12_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.12.2.dev2026061500-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 046cd1a7184267032922ef06335c4b25e6c8e0d9d3119003ebbaf84f442c856b
MD5 7d8bf26914997ce05f0159c04d8a10f0
BLAKE2b-256 4dab8cfe6d1e231d8a73832ae78f2594d9e509ca4dfbd5fcf8e741db1bea6e05

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.12.2.dev2026061500-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5fd0adf80a4a68a83d0379a00942fc7ecc930d5276dfabe3e91aed9a7eed7c22
MD5 9fefee74e879d1ab662a4687deeda98b
BLAKE2b-256 d138c865b4578c825222c3e8cda338d842cc6014a2afe5adf39c3a76c4644060

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.12.2.dev2026061500-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 165f9848585393c37ad09c89bd12d362ce32b259807d3ce8660a03792f9620ee
MD5 919f3064b65bc107377d7d7ccc7e738e
BLAKE2b-256 09e0a7e56116666341d98edf17e8b51f0885694b0edc7cc21324ad8655c46d02

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.12.2.dev2026061500-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fb75380c9109541e3e47fc29bbd83d1c05788405ee2978aa3a2d3fd59511c1b4
MD5 5d924708a5fcf8f1fc596f07049599e6
BLAKE2b-256 01ac0b11d687f0acf197a51c13303218a044d38c76de0fb0d9a4e42bb6376a07

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.12.2.dev2026061500-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 f0cad2a4648ab9310c8c23f2e1e8a8cbfbf818e205919a4ca33ace4263e31b33
MD5 b583b67f3634569ccecba012cdb563d4
BLAKE2b-256 bbb0296190df0f2bdea555337ebe39ba1a0cc6b887ecfc411b12ff560becad06

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.12.2.dev2026061500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc89cc3536bd35a12e22d4c13e41672b365e75e88c0e69c8e8b3d3d693d50f71
MD5 5c5ab3683e314c7ccc5a6766a57ec9d6
BLAKE2b-256 0c6a7e48065d4bf61d96c341ce7f15472d189f77c5e0a18dafabbf50ceae5f96

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.12.2.dev2026061500-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ed9d85b7eb70fdc96fa0c4e55a1ba11f2a44e6373009709a3a14c06b5b71555f
MD5 59af2fa8a8ec1c3516eff1e2750a44c4
BLAKE2b-256 7436b237dc62d487fb19ad44031b4ee58e68f87db10ec00b08c645f3af0c2477

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.12.2.dev2026061500-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061500-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9d4dfe37847601c8d4f1c92e6b07248c1517788443641d71610ad82654644995
MD5 0446a177e4463b9f94ce4041fadd7578
BLAKE2b-256 3c610e6ab9a88a461c046aae354130f37b1f9548e2bdbdd3c5be29c5b71eeacd

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026061500-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.13.0

8 files

This release

0.12.2.dev2026061500 This release

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