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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026070203-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.dev2026070203-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.dev2026070203-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.dev2026070203-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.dev2026070203-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.dev2026070203-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.dev2026070203-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f4ed14844daf6148eed8680f984eaa9263da351613b98b10407c262fedc15c4b
MD5 a6c1b256c3230c51248164250cc950c7
BLAKE2b-256 cf397f8e53e6d2f92460e36290afd46b1ca6f5ecff5c6f532972b75a7ec49d92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e990f7eb35cb50e06e472b1e8b033848984234a5130e722be27f464adf44d55b
MD5 58ff556d076c32b0c6db0ed810c431fe
BLAKE2b-256 078836490b0abc71a456100cb065e42ee12e72792f1ac0554a14d3950e89fd3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4da5867a05c3b37b016a16bd734105fc77652d5b03193e9ee7a49c87e75480a4
MD5 ff17ecf3939b4f4ded9b56b21ac4967a
BLAKE2b-256 ce6a80819e30bed85b7d66fcea89eed33328c83cab20ad21883b3f93e75aa200

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 03da0277b9e27b67e956cefce9fbaf54980815a2337c9e8fa235dcf75aa10648
MD5 e1d764bbc806303659eb061972e803da
BLAKE2b-256 24a94c8393dcffbe9ae106b7081fb5690c8c04e8ab8bc635d0d14407bdb61f70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 1ad462f79c63544a0b7dcf46ac038f6ca855368b494b26ac183b63e8121d8059
MD5 1861acb123420b3c93da54c2acc37704
BLAKE2b-256 9bbeaef1f7171118de3e0af8023d0e1703dd33acfae8961564c934440d897790

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a3637777969dec95ecd8326f282b0d23004ca38f2b3b270e05836e5fa7acaeac
MD5 9defd9db8cee3f897ded14999da592cb
BLAKE2b-256 6c82504ec67da56efb0cc8993261799b8ee6e8352b3e6c9772071c947a76c732

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11a99807465299939073bc947eda1f0762a46b4b03579ff9cfefc03b5d41da38
MD5 8024d42ec5aa5e2acefd539d3f52077c
BLAKE2b-256 e7b9d199c6846f330d4a06dee147909360c9299e3677db960a4b487568e65fc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070203-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 35a0ade9b85182ab4da2c559dc2f84034124409b024e5f43267b96bc2246e4a0
MD5 34cf1f7c47a069c81dd6cba8dd47cc78
BLAKE2b-256 5d482528e8fdd27f9135f8fe5ad6d32ac32b83d1632492d2d6875467ce030b00

See more details on using hashes here.

Provenance

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