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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b751c3817781c16bf0f2c1fe1594993acd3a83547de7ad2774d4f2d885bd3755
MD5 565d0a52e5a3d1b7164cf8591a84fff1
BLAKE2b-256 88caac3e7e78a893caba3cf71d1d6d1d71e774e129566dc4dd2e5caa2aa3e153

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 42348530ee12e29472d880227a4ff1f286986e295a3e817a56e2b64e7bbb7ae8
MD5 95c40388b2bae1105d66eb1d1b3409f5
BLAKE2b-256 6c8b59c7780361192b50d4e49bb7e84fef3111d5bfcea4c1a459d31cbe99f153

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f85405890ebab5b8837f04229d59896dffa13a6f973793c0c511a720a7b7224b
MD5 11e4c674128b21bf558552ae49686896
BLAKE2b-256 e6a41ec17926f812d1c16a0b2f9fed2d9d1e0015038b6e998cb8bf6b1989308a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7c51251c4f71e551f87a539dc937853ac9ef156470606edb62f2453de1e836e8
MD5 2aced7838d0be0651ecb1069f82ef138
BLAKE2b-256 864fe0970dde1bb2bcc8d4096a66b6893f333c7930c4a6b5e81e4b3d377c65a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 c45d9459a2a0532d5a5e2a6fd314cb02126808108c3e940c63413fc332967e19
MD5 c2cb6fb1994501f9bf5d77de93744901
BLAKE2b-256 1a759ae44c75306d277f45d7fc0fa4c3a360c8c79ba319a9a3e1e16acdf5ad74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e189d7199d12eb375a9b94802a9fb62178f68b7797d2ce00a84ef935a9aa5eb2
MD5 f28643f46611c52b900aeb1c48e26ac7
BLAKE2b-256 a91aabe45d62286ee1c73faf81a6c5b9012cd4aca31f0b5c7d2aefcdedd99354

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b37b4498027b3af3cb36a1827015a7e65d700b47ef998881fcce054a045f33ce
MD5 4ae7566f1e0df75a0d441263b1b6e6d6
BLAKE2b-256 5b552a8d69e2df9983d3924676e7e9533e7e63a98f7edba27c6d197b6de90edf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062203-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 46eecf858d5451a83aacf6206a6f21a7a4f2d74743745e31892b77554e5fc00d
MD5 a54389651d7efc79da47a944f1e9b118
BLAKE2b-256 773bebd43f3f679b896289e3ad5239ac56b979c28c074353b1e9698621658162

See more details on using hashes here.

Provenance

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