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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ad15f0135029ad6f9b1cb13b15879c4839eb37139225289044d2e6d4c412226f
MD5 27d575a7256a38413a950aa3393f171a
BLAKE2b-256 0a7939c477808fa4c14c7f07750a000423ee9297e49d8841198ea38d4356b3b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d532fdd0c220db2267539161c10afad52c494f62436e1176b3b0a47979143db8
MD5 224ab1557ab98c577e94998b30e442aa
BLAKE2b-256 50ee3e8dff5f888a4d68ee67e90bfe2cf9e0c7f9ddffdc3549004f9f7edd23c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a8d6a99fb8dfebffdacf37801eb5f60771f0231f7255db8a79ba31bec553f7c7
MD5 b4a1d1ef06e3441e2c0d9f9ff400ae2f
BLAKE2b-256 0e1b8397c7dcf74558bef593c6b82a32b3e4f6948a8c881360bcd00b5e7c440d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 849534eeaea6708b2851d05186fd1346d01c6b560a6abcbb942477bc055dfe98
MD5 04e84931da443a9c07a7a1faf0b415f3
BLAKE2b-256 ec28070e82422b05e3ff840287e9748a82af90d4e6b88e3e3e7b14f3a94d2304

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5dd86ad3debd55b063855a36ed8ee3380c459f42aba03f94616a3db9336a2891
MD5 d2e461cf78996658f4f25c6de750c336
BLAKE2b-256 7dc1c9619b6d9cefac330fd1d0f35a5209a1863cb63e143364ec934ce5fe4f62

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 499739c8a1627e7db00110f80777a0643dc77205fb6c5943f5486006c0b9af9b
MD5 a6c0fcbbfeef5ea6bbcb36a35ca5314c
BLAKE2b-256 cf4f13fa4faa45e9909ef1d90d20c35ce21507731985cb8bcc3505ae67298581

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26b926661565ae0b8263be5a67ce410f66e55209ae098ad8b594b8005f7d5b5b
MD5 343c5873e1b51ba9b453f79094d204d5
BLAKE2b-256 3b9098311b81bdbac57b3e786bdd82df733cd5b2e1f6fa765eff871094eb2ab6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062301-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 53f952f699f2bbe4b05575b3c6a22f47e1ba6fd408c6095178425cac9370ef9e
MD5 b694b538987576d16f823d0273536e36
BLAKE2b-256 b742c7e903f0febee019913992db0437017e39cba90f2cb7d39712d9df39c223

See more details on using hashes here.

Provenance

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