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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062601-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.dev2026062601-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.dev2026062601-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.dev2026062601-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.2 MB view details)

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 55e834b8873312b99af5a09ddea1f9845f3f6d22f393993efefb71c547e1dcae
MD5 4566f99d4d56216b4832c2e071af8e5e
BLAKE2b-256 a415f89f0d7fd8baf1edbefc5d0f81747d52148d88e2ff0b3a0ad253ab9a3e65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 61bf4b1c28dcdb6a81399449ac563093f844eb5edd70b45ee7aa4bdc3122e4a9
MD5 a860ddb65f4fe481ba2a787ceee3ba95
BLAKE2b-256 2e6d13df7b2fdf31578a67f4620a6a0e2cbc7eaa8433b4f1f0bd935eeb7ae33c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ad4c142727a5789ea6d7e331125f082500e5b85f2a74f5a54519afa258b6ce8a
MD5 0793cc68b90cd2fb821ec22df55e6a54
BLAKE2b-256 395eab1b8a184713b426fd33e0951b49005087c9c3d5d9810799ff1ce6980abb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 52e0b9899456ac0a166b3beb5688d33e07d3158138656c1539de339c26c1ea13
MD5 1ce4a9cf9e00ee9cd87f203bd4f8c3cc
BLAKE2b-256 62dc8dacd2bb117bf48f24f42302aac230b69564d51caccaf1a98bf0826d0d56

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 6c928c813f2475d4f31b5191cb0f0247d6f6a2ca8f0b67cbccd28fc0dffd9097
MD5 f48c73131826b893fc2d6e7d00b98c59
BLAKE2b-256 4b44b7411913af409a4bd26cb2bec2822471d3e078e8ef870297045392fbd17e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2e49e5e902db9570547029a18f25e54da28d3bb4d510f35f81de95f13246e2e
MD5 7a123a841b6b54983240b537b5108689
BLAKE2b-256 97e515aac226af325e717dce76242534e5c607fe5cf63f44c2cafa4ebff36c2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f093fdb8f1e087ded7b3d21a51f2e180c716a50f526322f3825a6b1abab1869e
MD5 ce607b50e09b6b4d8e98b0b9f3c2fe4a
BLAKE2b-256 16bd131490c2103db8363ef8f2c62edab3041b021547e8feff8a4062688820a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062601-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 34149850713e062ccc025188b6b9dac0dd591d18bf6ca13b2f8f657354bc16e5
MD5 a06f8f13cd41cae649f7661999199f3e
BLAKE2b-256 454c2f8346d1dd648c1ab2a1cd13884c954e307d1ec2db2b203feb6f9fb58e00

See more details on using hashes here.

Provenance

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