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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 25c02c51f8306ddeebcb82c32e039481a8795e87cf2e822a26a0c1f69293532c
MD5 1902b18ba5f277ee17f3154a3b551936
BLAKE2b-256 0f0490333304ea1e0f53011ef3deb2095a09454fe0a90bc80505110041d154d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1b7287cb363a76737aa7752b58bae936d651e12ae9f07a401c3a41ae12f1636e
MD5 6b39c571a27205bf1a9c64e2282406e7
BLAKE2b-256 de2f26f42f7b58fa392815c39f72886e962e1cc64d2d5aee6a6a29ef48e1c2c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 99d6188715bd3e39f67d55170cc08ee21973a8d7065117c607662aa32ef7575b
MD5 7ce1a177c3ae196710a28f77eaecf306
BLAKE2b-256 5812983d0af92fdbc9a4539d0ee300a62f1fc350576f196169ec2134348331c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 4ae3b24444d4e9547a1b2731c9e143f0b10a1e43bd626d81d3c4eb64a9f370e8
MD5 ede806902433914a60a050697fb5e703
BLAKE2b-256 5aa2a132f3abff8e10723a555155e0d53d25d2888d9a9e4d915af1936c8cbbd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 c1884ec91f3ec5d9bc35ca01d0d6919ccad9802c826cbc572db47cb04f1f07ba
MD5 03f7ed537790505f150e0c03dc704d48
BLAKE2b-256 67c095aa372d4e62b8b3be69b921e31e744edbee0c120b55ea44c6c1b86a646a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d5d8a3d5829582f3f2690513d2f81bd4665fe0c990a3a1a02bacbd0ef703a8ce
MD5 fedb759d753b1cfb07784db5f37199e4
BLAKE2b-256 58c68cd30ecff1767635b47435032d620213a89084d65acc96ba4cd6e8e5b7cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bc81b55fdb3865d6dbf506ac32c15999436fcd3b1ad5bbc73b7d27912bc653ca
MD5 469bf27eaa271f6c2bf02cf3a47d6c96
BLAKE2b-256 de8864ebb57166b91583693964403d07fef4190b1197cdbae6b7c403154ad687

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061603-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 aa9b065c1ad8d0e008ca63686a4eb4e41da6d5a1631bb0ad1fff6858cf61f789
MD5 7dafe1209aec78d7b1ef788eeb4f6d59
BLAKE2b-256 84ca6a13e324f70ab7e2660f791ed60d78ebc51b8e3d2a6bfec58dc961c1f8de

See more details on using hashes here.

Provenance

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