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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062706-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062706-cp310-abi3-musllinux_1_1_x86_64.whl (8.4 MB view details)

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

baml_core-0.12.2.dev2026062706-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062706-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062706-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_core-0.12.2.dev2026062706-cp310-abi3-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026062706-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a168041b348ed0c0335b544e624c16e21d0ce92c601f22e8cb83c681e607530e
MD5 e0a9407f7176cd2752c4f5cac52bb9e0
BLAKE2b-256 7a7a28800bb3b1949f0a29e09750e6403cd056961094cf034722326c8338f9d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6f51aecfaaedf68807307c945e7171d508065542e225d2c9bfa1495d4a48bcea
MD5 210e5956ad4d2270e294e3abe7cbd8c1
BLAKE2b-256 b56e0237a718ef41b6114260a04af0e6a5788526f6ff11ef60b94e9f430ff6dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 992cc8f41a18c83d66ced8a82e6a5820f189890641cf2c46793e1d3a8b0a2188
MD5 836eaaa8b026997a80c2d7f68b6447e0
BLAKE2b-256 b33b32b216952deaca18a3b701674cd0e144b5409a10d05882cb567e29636968

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 927bd7020fbab86616da488f60803cb4c861371d256ff62e8aa5a735e91c5aed
MD5 5b9ba99fd98dfff0f60977f18a9ff702
BLAKE2b-256 94b8c0a0d2c3213ef0eab346cfb7dfaf975b14596c03a0ccf2b2874213bbf8dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 7ab5e48f115cffc33d9a0f0af36e9cce594e2f71048bcda1e4b5b0edb6c3ac51
MD5 3bf292e1e7a0623f8dd26a847a72cbe0
BLAKE2b-256 c1105b6522c53078984bf94e75f711f1aa8ecba41931aeba9ca9e3d628a4b01b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 279887bc9b2544a90ca6d872223488ff66208d1483b2293864360a3c1783f90a
MD5 0f7c15897a56e4a3c446fff9e5c93977
BLAKE2b-256 cc10fe5df86d696a585044b6eb8612aad960b78befc61a1231247febf0b46ab2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 123de72b4c7da0918f38f9bedfabff4ec3207565a4728518dae26c2d42efc785
MD5 daaec759857302c8e3582aed78c67e79
BLAKE2b-256 1c9e3d1070ec3238d10951de72fc6259f833983d974b51ffac7ea7d7a4f09dbc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062706-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 26a751989b02b670157c7c0120c1bac5eaadf755963ac8d72767fbfb522266d8
MD5 78f557fd6b9772e79f6411564dcc604c
BLAKE2b-256 b6187f4be6115fedb57900aa080aafd8b69e608e307b6ce0aed16edf867fd2ec

See more details on using hashes here.

Provenance

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