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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 bfa39c7b5bb137642cabb2e71d355cb22b9dcd79ff5511caeb0b2da50be08eca
MD5 8ff3417d456f478fa03f871630200554
BLAKE2b-256 f179f6f8980be499a21196fead4ba24ba7decea0ed5ce80e35e42a150ae63a3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 176caadcd15088f28fb4a802ddac75bacef1dd1fdcacfa55d386002ae5acaf42
MD5 50fba17b4746e8f8eaffc0424cad3b75
BLAKE2b-256 a7b0a8a81ad401e8153216014719fc1e6ed1af7e85bdee4f28e6051831d6d13e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b6818398b1c2e9054277e84e68f1f57d8cded11aaa7e3e3e08444bf004183061
MD5 c24c6802852a39d01a98641cdaba33d9
BLAKE2b-256 823d27e42a722bf38ff9e40faefde4e164eb5a33dd24c8c437de30dfb8c1a6cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fae7a85bd0992ab5b9431764f48ab6ca6c3d7dd284f959ed4623f75e14592111
MD5 9409beae41e11b660275c70c20edfc5b
BLAKE2b-256 b63e2149732622b8e8779d9ffbcf88a25c0bd50db5586476135c681995426aaf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 6d88bb96aa2a89248d4aa657300b4510cdaa8bd27d9ed924cfdece42fc1f6183
MD5 2d6432d43578807bde02c2baf9a9faf8
BLAKE2b-256 6d60de25ee397ba0b5aa49e26f6f1a5d774b698923f705c2db876f83293d4651

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 522ab529bbfcd52a1902196efad50412e2e7a2e8aa9592a5d9896cf24241e24b
MD5 6ca000f7bafa850b4790a0dea51edc47
BLAKE2b-256 6757473cf18ebab73bce8156a443ef73656cc4cec93acafc934bc83399a96a91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a79f185327b1a885fab2b061f3428bb7f37e9b7538bdde3db8dd02e0e3daba6e
MD5 85d0145bf571816cd5c013b982537150
BLAKE2b-256 d9d1a0f6af412ed9c6f88a7a714a9e938dae78d6339818fe0a60769e6494d314

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061501-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9d280a49e2d2fe3d427b3de4d1086daa6b76ca8c7c07fa7b6acc966b6abc4670
MD5 667be8023a6ed2ddb7e27c43ae1e5fbc
BLAKE2b-256 a8dc3638b0b2a6a55052baad625aaf36e2260849881189b9457d972a13f2b913

See more details on using hashes here.

Provenance

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