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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 abf670c5ee98cc274eaae94bebafaf0afc7a188729cd7bfb2569e406eb446e38
MD5 5414fadb9cb826763b056950501df41c
BLAKE2b-256 62f514bca62231bb00cd9ff8a999a51c7c20b20132a7640e13240a49884083f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 69902931c741279ff1ffa9842da86fb0b780e8e1040b176b38bccf49306bb8fd
MD5 09e8266054b7775e27f9defd49aed2d1
BLAKE2b-256 e74a251fb2c46726c2960bd45ee83f8240b857cba7f1a7eb940d7c2dca0dad36

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9f263c174ce2a365027b2fcc167b45eaf9d93bdd21e098822fdf3e010ee54654
MD5 0db71044eb8d42425bba6ce98aaaf708
BLAKE2b-256 2da8dac91f654c6dcdce6b9692f5a7d4ed897de1c0223a468e67bb7b27d04f35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 893d70c579b64a87df358cc1907f01cf93ce241ebed55aff84e32e24a17f1452
MD5 b1d62dc508812883b23a49cd0db711ee
BLAKE2b-256 a6a2a8d499afa5dc5c0feac0791d856f794c3ab1942876ab69790638e01e98c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 8bc18136f712c4a10d98c94a10b8d7e1ca9bf6f138d5017bfb15c4e5379389ea
MD5 7e87791631f12155417eb3e6f9583cba
BLAKE2b-256 474768656a775c05196ecdde3038ab90d4437c7a90c56eee73ae006607c8b0be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8292362227f648acb3c75678d80ef2f6b919a73e7fa29fedeedbe0dea5fa7fc0
MD5 2fefdb6d870708cd8fa0eb3fe1c67382
BLAKE2b-256 db3b67237bd8ae8c5c800170e1a2fd569f41262d809860e1cb120fe1d9ec9c4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5212a0175d89b290a8c1fff271d5c6778f8b8a0a558c913e47f06dbe54306354
MD5 0650567f13316120ca541ec770285866
BLAKE2b-256 be19c77a5e9dbde7c9a52f526f79c453a97f9a8953bfc0b856e9be6426e6e73a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061601-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ce98c431e01f0efb81f0754c6872e21a2922ecc0a1c49f1161970f18b8dae73a
MD5 55dbe31eda3b1828cd735aea2ac8474d
BLAKE2b-256 d424ea2d828a9cf244303d7f6eef811d3edf358ec4fe30327b15066d9740298a

See more details on using hashes here.

Provenance

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