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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062604-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062604-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.dev2026062604-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.dev2026062604-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.dev2026062604-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.dev2026062604-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.dev2026062604-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.dev2026062604-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 932789e2c20db49d07dd7ba5a6416dda56bd955ae6e6597ee16ae27f18cc5070
MD5 3f0cdce0661e67164deb4fd10ec324b9
BLAKE2b-256 c9e2be1acc232df0a9fc3c6e853afa9b1579db076ddfcafd3057bb4cc521e3b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e7b9afaf9405610dd06b84af17866f76be00302d775ba0a1d145fb782e4f8072
MD5 abb8b180c265f893c43089ae3442f116
BLAKE2b-256 37c555baa618fc84ae9091660e0f4cd97e02880fd13938c61cf8d3a43867da96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9571fa93dad69250fe2b7b9713f4e46298b00ca16272d8524104f3149bb1873f
MD5 ff6ab14a0249ffab162580dfc1d5b0cb
BLAKE2b-256 b777b32c52fd57acb72c130357d5a9d1bf3a43186a926f545b4dd283c2e2b1d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 a1914ba4320d6c20c0481ec26ab03e53bad0b2a2c9e19fd9dc5db14a17c5dede
MD5 1f4db029d16ddeff35880d8fd28b7d7e
BLAKE2b-256 bd1fbd6e6ab7503b7b74b9e5221cc86705b06c2db06453fbec5f19970cf78a84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 2ac6497e2a5687f9d26fa3488af08c64f9765bce92869a5bb8424999f90671fc
MD5 e3152578c8ebf820ea43dd1983a78b07
BLAKE2b-256 e8daaa4fcf782a877ed40e02709d8702b8b44a4a8c75061094bbab74aa919322

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5d5d8861515d52d5a379a00efdee7a067ab26e7cfc731c8a1fe5aedea492bd83
MD5 006b39b549901cf464ee5e9acb28d655
BLAKE2b-256 acf9ede6952806a3e5a267085c67b31236b3fe73bbbb53508b0338d67ce2abd3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 79d7fafc41f79cba6fea615092e66be51096d917a2cb7d1c2b0aba2a3fd31229
MD5 fc2b8c54bc086634286261b2fd1d6137
BLAKE2b-256 b819ec23bc1a351b856595865da7eae193496aa3500f9f4134757698301c598a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062604-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 80f25883b03fbf8594d8272b5369e1dce18cd20dd64d84a609210a41074b8e88
MD5 dfefd23c2c3f1e4d3065e0d8423167c2
BLAKE2b-256 2b232bf74fefe07c6728acc6958a3996e2f46f224353532c180fe44b438be03b

See more details on using hashes here.

Provenance

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