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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062300-cp310-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062300-cp310-abi3-musllinux_1_1_x86_64.whl (8.3 MB view details)

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

baml_core-0.12.2.dev2026062300-cp310-abi3-musllinux_1_1_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062300-cp310-abi3-manylinux_2_24_aarch64.whl (7.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062300-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

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

baml_core-0.12.2.dev2026062300-cp310-abi3-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026062300-cp310-abi3-macosx_10_12_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 06259a717a74c7c74b866ac0b6afe9d61e77bcc2f00e41718c5c662dede918c1
MD5 16a20b271b009f6ad8186d832f229065
BLAKE2b-256 61190b2fa90fe8431ca47ba42bd439a3dcb2a9f2e3bdf5c5eb89c60131e3ed1d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 cc85b1303496e4538076386b7a0b115497a483da417e97541054c8156608f2cf
MD5 8ee789eaaad2fea98c8f5bebb3023889
BLAKE2b-256 698a34bdfdf78ebee1a5d6a15515b1f875a61de24be21c46bf423a1e73853027

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 32246bd68584e87f629ca1ea99fc981934536762de775d2eab516bb11ae26af9
MD5 219e3843cbed0a1de8221593e94cdace
BLAKE2b-256 bf46997ffcb515d29caa58019ec6f0184e4c3d0a1e669365947c0bbbb498381e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f16b12a06dae49c3d302eb6043355ba132a5947ba11dfb484a869a9d22e6d643
MD5 b7913523b7cca74a6a6564382eec3cd5
BLAKE2b-256 66b1926beb264e39c95c4c4740d6bd6792a3c48bf4e92064dbb929c3507aed49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 1616f3fe633a3aa77a129b51523a700baa6d6b878058588f35370b88733aa64c
MD5 cdafd45ec2ebf001d956a903aca47991
BLAKE2b-256 8ff6d7a62e7e732f71d58c8d14e5a2c9f65bf8406c319c8ae85d5084515ac58f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00c937607f3ff5afe2a11ab49bb7d793ff1a8b093cbb8e7dfef2723d42f3c042
MD5 910f9d0298ff8a0becd1b890c0151389
BLAKE2b-256 cfd2044f0eab4565a8f7a04c839e12ca6374b23ecdaa6a6f1b7bb1a8170f206f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 17a0a0ebb7d928e8853eda8d200a4c6c6b0507acca5fb874a584397bb91995b9
MD5 b509d18b93ddbf6cfc9486dc16f5beb1
BLAKE2b-256 cfb961586ed22f89b485bc4c5dbe5ef34f2f3f3249479c8b268fced3501a8b0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062300-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2b9c25dbc094cdd557a3ac2dcfb9399f00d9a59b86e3347b0ba7ebdbe4fe5e74
MD5 b764b5f25465c936a8ae10900dec1c9e
BLAKE2b-256 10e103c553749cfc872811b03a19433a0b0e6d2e66a40a12bbc8719f8b1b815b

See more details on using hashes here.

Provenance

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