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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062602-cp310-abi3-win_amd64.whl (8.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_x86_64.whl (8.4 MB view details)

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

baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062602-cp310-abi3-manylinux_2_24_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062602-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.12.2.dev2026062602-cp310-abi3-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026062602-cp310-abi3-macosx_10_12_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 8fa3375130fefdfdce6df84318b5df5cb161b5a37add75d2e111a2e526eacbec
MD5 3cdc954fc0e9f25f774babb470aa4d28
BLAKE2b-256 6e3f6c0ab3ba3da9e5c94352e7e37bb58f1d38c1029f000fe2f90df6b6e14037

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fa117524e7a8adc7f72411a77e20f132d41d2043f974acd34d911e5dba7ef9ed
MD5 cf549526d2bcaaeefb564a603a7596a0
BLAKE2b-256 f5e59c1db4422cd1e4738c8d6d710b4e041818fb916532bc841e4063ecb3043f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 760261935fcc3c8d912f72c9934ce675ad430cdba88cd6605b83d7d2dd6b4d9d
MD5 919d2671f670b35289f2a68f4c640227
BLAKE2b-256 7c93ba586f4dfbdb2850085e014f534db47698d620eb0840c69179aad1f52e07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fd84ba8ab126c1d71cb2aba82eac3af36ff305c71e18a0d445390ba99bdb6450
MD5 ef32a866955fea731383b778645b9336
BLAKE2b-256 9b617d20079fc7f1783a5c946130ee8c8194af315fffadda3039e1bcf475627c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 2ab7dbe14e89f5f44a6c0d52411c6e473da30eef3f510b6a83e9066f4707b425
MD5 a9cb64e86a7780641c4e24adbc44efe4
BLAKE2b-256 ca8ae566a38add5d93e6a3e319751d2b3d986a4cb4fe34e751d02ca2a8a622b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dbc1e21ad27331842c311d509d472003141b59de026abcbda3a02e927bebcb0a
MD5 87682a5a402efc2c93b6b727fcd1426a
BLAKE2b-256 186b9bbf91c6662c50d9cc0c678a01bbff0eabbacf99ac7df29c709c1a4ee5bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35e2f7649804f73dd1615e170e86bf30147ab2e8ebdba746de0afeaa24a888b5
MD5 7271d737088ac476e4a7c52795d32ab1
BLAKE2b-256 31ecba8ee3db709f7fe5a8cfccfce2a03e9e90a027eb100ad6f0a01345990f0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062602-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b9d306df7657819e9712fad1c0e11a4ce7f564cb601c3ee8a090682c4fbd7099
MD5 413e8ca31c872284262da3b9ce9cf240
BLAKE2b-256 e11afe878bd353aece7af5ae094b4a405b7a2b8085f8e6a8ce33c37df8d9c055

See more details on using hashes here.

Provenance

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