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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061902-cp310-abi3-win_amd64.whl (8.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061902-cp310-abi3-musllinux_1_1_x86_64.whl (8.2 MB view details)

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

baml_core-0.12.2.dev2026061902-cp310-abi3-musllinux_1_1_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061902-cp310-abi3-manylinux_2_24_aarch64.whl (7.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061902-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.dev2026061902-cp310-abi3-macosx_11_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061902-cp310-abi3-macosx_10_12_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3d6f1c872498a4564de83ade4d734b9b80095e05076daa779fc21426da9da0ca
MD5 7e7c0791de242fc628bc1ac30a0605ae
BLAKE2b-256 aeb65b8b8ed0afe9e088ef2d8c26fe5de417f8d66c0d5ddb318ae4ce57924fa4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 123c9acc0a225c6c540c689b71555096e45796347134958947028fc2cb0d0e1f
MD5 24dc3c14c06669dd849afa27a0da3e5e
BLAKE2b-256 567319f476eb62a7007e4246b8f12e430cb06661d61ac834a028388286cf853d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 eff9f9b85801d107ebf8886d6e13bc3d765cb3dafe4620d6e316c2c51d361722
MD5 3f8892d2b279dbc55df1fa69f8110713
BLAKE2b-256 0652380935b46b69f6449570d1c3827839845bb808775bede5e239ba3e6be4b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6b94aa50f8d9572d21a7ca87228c2fec33dc5049c193c2c3d6c91141e6abf0b0
MD5 532f4cf0a59cd4373b17bd3ee087533d
BLAKE2b-256 8b3b2bbf907a34100c5f6e9c0b93dd78ba812c6400aba399cc5a3203a0fc7bb7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3b46caf666545162d7b77035d63d79626bcae90bba480d70a6e19eed72d65d4d
MD5 2651ad9b78135261f7e9f38c57232bb4
BLAKE2b-256 9008f26ee4faa432649fd3731e7cf21150115ad200894b8b6b2dcd08e6e6d32e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db6c18ce108780e1d98f24b8c63c8985bec4652df2fa8aec96d1755008d52a22
MD5 d3853bba58a3d1a44b5cdae4ae274bf6
BLAKE2b-256 cddcc95fccc230dbe7dc86593fac56bf29791fa7a7769d6647aceff637710eee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cf7f97f10fd1a6d382913996183576138e00f0d7df1430722ca3b1c9b8a5219b
MD5 9e68c3fa3cfde5375cd180e2172219d5
BLAKE2b-256 02fdc049d183c268aa3ad209979094ff25b4227c978a73718948d2f68271f959

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061902-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e0ea85c9a9bdb3bb488191557baeb0adb59ed9dcd4a2e205a08dd00d1232f530
MD5 411a5ff52a6a90b574571e200b596b76
BLAKE2b-256 eed62fce7aec066804f9fa2611695dd122349e6bb60416cc4eb77d5ec3d98cd2

See more details on using hashes here.

Provenance

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