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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062606-cp310-abi3-win_amd64.whl (8.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062606-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.dev2026062606-cp310-abi3-musllinux_1_1_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062606-cp310-abi3-manylinux_2_24_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062606-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.dev2026062606-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.dev2026062606-cp310-abi3-macosx_10_12_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 202b64c6de624b134fd6fec5f2da8c488b04c26e95e8efafdf3130b584efab0a
MD5 053450aaabc8c2c242f2b36564a75f2a
BLAKE2b-256 a06e016c86e7f2f02ce1db448e3dbcd714f85da945af62d1aa4d240e78c112ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e37e4f7ee1561bb5db09b34a029c74141095116f97ad5053d5a6a85991f9b85f
MD5 2d01795345ff37779b0e108017ee2968
BLAKE2b-256 071ca67623da9b740484f24eeb397635838a3b2f0e12d7fa036c63c3be5fa371

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 90ed44e614452ee100e7db10442939143ed2a2007b8c7cf6ea36458e89f4e16e
MD5 427f0f8b14ca65791d77fe5755773909
BLAKE2b-256 35067f03835f1acd8aa226ba9805d94ff4636c5bd14ed241fb72f5394929f215

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 3cf03f85378a7e31c5947fdc1bf53f6188a264e2af9c108dfa3c5bf2d2289eeb
MD5 7f61e07826e080339722b3dbd7efcfa2
BLAKE2b-256 e83a0ad5bb57396f61793bb780ac7fffef919e3807c608bafcc94470cf0fde81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 77bf24db6da05e7971ea61b7955ff10fc12b14fa98908b9fb3e6d3d61296b6ae
MD5 1d6bc6047bc1f9d9a3f54f32ba8d5ccf
BLAKE2b-256 2407c0d9d9f50e9db17551f0ccc5a85aea935f6611089c0c68f15475a34147b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebc64842ea0c1161e1583634b4929cf0cc9acfda9f2e38e177c7dd314e5b7a7c
MD5 9feb35666fedf5f0e9a7182919e7d4e7
BLAKE2b-256 9843e4af99651edd0cc24c14e4bd344756addcf080e6a7965040b3f7c9eac986

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d358884cdb85375258fb0e98a710da8df9bbebccb7412d901c2143c7a06f730f
MD5 3cdd50ffbc5930b4689b9a4f6c82d2c3
BLAKE2b-256 0688376fd2538ac5a3f4817bf33daaa38c38a79f95fe1b22c40666dcd13a7a3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062606-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5f0f943508a12717e104813fc34268b6a6a5cb967d019739f453497ab734a425
MD5 1a41980f09974d9d6b1adf079dabcd76
BLAKE2b-256 4b5e4c4f217dd1665b5852535034fbf541ad7124a71de7d9c28a0db94a750998

See more details on using hashes here.

Provenance

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