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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 11bae68b6be8697107b537befcb93e512627ba250ba8f82df961c02c5bc668d1
MD5 023b3f00f496ad447edbe78a24f8bcff
BLAKE2b-256 c4cf0c5d67177537148b42b08127f44bb77a98f96125455dd6981fbc874849a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8b8b6b32d163dca92a3d98cfa312b4df9c5dbad23802a2fc5bfc285843d7d759
MD5 2c6a623439a0af3344b851c14b300f15
BLAKE2b-256 cb252e2babed6ddb13272283bff1e49204890c9014e9e4a0d0bbbf2f4f5b9c5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 86abf841a6bf753a9b02839742077fc23d8a076bd5d86ac90fd9534a7b89c6ee
MD5 5356ea10637f9de3ef09742e2161ebc7
BLAKE2b-256 c4dfb2bcc7a6736e3ce641c6e563c65415f0ac8e49196eb65bcfcfe8663ddd9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5ebcb113c24ff82339c725e0cb1854c65a1505a6e3457ae29035ebeea5d765ef
MD5 0c9c81360337f2b3f849f63a026e5fb4
BLAKE2b-256 4e6f13b7b92149daae7b2cfeff829eead3febc6acd84a5e703a1d108ceb74d3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e9545f543ae6de64dd1545714262d0a973921809de67e88272094847d0eacce4
MD5 c957f8ba27da94d86717152b3a2d2577
BLAKE2b-256 5f0b08b976eba77459840a64cf312c9f29a3a456779adcb5ad7f8c8f501a4c88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5cc19b120ef1b31809b5aec66e42e5eff49d3e6f18ae1bfcf867e2881b1a55cc
MD5 430b48bf21ba2270a37abddda239abbb
BLAKE2b-256 7adc5937d3f44a921015578deae5e0ae6fc5aa627816fa685fce658bbf420119

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d99e114e28e81a4ca1f582ab5903cedd055536425de200a255a09b9ec072405e
MD5 22c3c71c51565683ebe0fbc8b6a8c3a2
BLAKE2b-256 2b6011c80895c3505cecb6559d04ae4a181f34a93be740f7c713cf7b1c74ee70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061602-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e016737a727dcf4c2f59186bdd3362ac6dc3adde341e57fe19cc71a6f953055d
MD5 ca0d22aec780e76cf8391f6b9beb4fc0
BLAKE2b-256 47a8e35c6c67b5eb8cd4d5aa2a4ad7e65b7f09e368dfed9b904ccfd8b5603172

See more details on using hashes here.

Provenance

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