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.13.1.dev2026070700-cp310-abi3-win_arm64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026070700-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026070700-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_core-0.13.1.dev2026070700-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.13.1.dev2026070700-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.13.1.dev2026070700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

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

baml_core-0.13.1.dev2026070700-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.13.1.dev2026070700-cp310-abi3-macosx_10_12_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.13.1.dev2026070700-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 28ea2aaeb7e1ae43d9ae57c5e62bf3014d6a49f79b16cd341b89b8d3b93ce5e4
MD5 63228ddeabb4acbf74e19101f9b9a552
BLAKE2b-256 19027230c844ac5b217dc04140786fd0cd8f7352b7df515001f80d20aadaf145

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7fca0308dbfe61032821249947b8f78d9ac591ae3b3770a6fc4728a03871f348
MD5 43827a2556ff2e8ad36a583356d61a13
BLAKE2b-256 0a94baa9361f068bd17c189b3d8735137689ee978e0031c339e72e9fb6604bdb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3df4f23f0bbf243d6ffa79eaf90a2b37db5e8e62db8e8d5986cd2462face0951
MD5 656440a7f6aa8a75f9ec0d8470b1da11
BLAKE2b-256 d483197e12395220ce5ca96c2480ffdaa1dd3d296c979f3440f4f451085ec9c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 4db009d0c946cd207969574ae8af696b4aa6976c8c9d8adb573095a63bffb985
MD5 f535e064c4605526cc3997dfa3a18e22
BLAKE2b-256 136ca4edbf9be72ea6f9b2d4ef8d10ae7525cd10f92faa8d5a6aedb0a3324a2c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 569a09d59ab7b660a7b103a5affcce4b2e0f38da606e830e03ec5d32ef249058
MD5 56afb92e6b9f56abeb3bcb506637013e
BLAKE2b-256 8098d79f70b1ccd5a3cf15e8fcc5a16999b9df642af4ae8b2b6616d77ea207c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a48adcd874348bb2d97b45f590b9de3503b2031e2ab86e97a09a60b46e390e5
MD5 489ee3833c0208b5ca95f490bf091406
BLAKE2b-256 c6948bfa3022a83916e5bbc4910b5027fcf2be3f7024f087be95fc9da5d29c12

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe0bb46bd0426e8f7b43cce0e4f041459d1fc697f51645bf86df00029ccd6e2e
MD5 17370386df9d175c454dae2f8c9e1ff8
BLAKE2b-256 177d3a4ecb503ee8c53e4f53b1d62313ab70214fcd0f1e560b49aac9456c2c62

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070700-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7413a69526476269bb0cf9f854512146754e7d1c774fefc902913dadc4483a41
MD5 ef6b8d41256d226f3c74acb7d32eb9a6
BLAKE2b-256 239962dd02455c1945482d6e3440d4a51f7529416521e6b81fafc708331f4cdb

See more details on using hashes here.

Provenance

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

This release

0.13.1.dev2026070700 This release

8 files

0.13.0

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