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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062200-cp310-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062200-cp310-abi3-musllinux_1_1_x86_64.whl (8.3 MB view details)

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

baml_core-0.12.2.dev2026062200-cp310-abi3-musllinux_1_1_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062200-cp310-abi3-manylinux_2_24_aarch64.whl (7.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

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

baml_core-0.12.2.dev2026062200-cp310-abi3-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026062200-cp310-abi3-macosx_10_12_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 925856c990af9880b0de38fee1b7da5177e3557e35fb0ab758fc457f6c7f3430
MD5 4b0265839c0c636c7573adc463121fed
BLAKE2b-256 4421fd5660c98e0a2f37a68a8b63d52c3d122e2e016094cd4f7590f17103fa92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1e8258e67d7308a2901df47e4d8958c80cc96d3c471c1fbba73cd3bb3b4d930b
MD5 480d7700056169a095c25c87751cb0c1
BLAKE2b-256 83f9fb4a87c1a1affad6b6c8ed98752e26f9c8a4ffd98975f77ad5bfac9e1353

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 506f62b8ab1d3c3296b40a33f54491687c4c989758916b4d5c75a924ae7523ee
MD5 04162990cb7c3111e4924f633b73bc26
BLAKE2b-256 4312c11cd15f87b8a3d5b6408a3c8c2c2749b967b50ce6cfda86dfb720c73d3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 4489959b3b9fbf03cd81c155326fc08df9df5c0cc6d3e806e7eae107a10761f9
MD5 9133f6dee7368dbbbb411595bfdda147
BLAKE2b-256 59a7eef47e62990973134bb4206e4069d72c62219f4d8dcb98638c4a895230b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5786e7c2ebcaabeec2bc2410c4e6a2bf485c83c05e5eb40c6c0c3e5d7066cdc7
MD5 69e6d6a73217c562aaf27781be0dbbac
BLAKE2b-256 b0c0b4325473b89cfa46987c4bc5f9bf68a289682e0a389de7f9517636401c15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a4c0f414627758e878ea17bdbd2e2644a070bf4f1789676a49f1383343af8676
MD5 dae73086e9d314d9f52e7fa649bebd30
BLAKE2b-256 90f8be5bf3e4ff5eadbf371aea7c8d854ba63fe322d4f15347528da1335a38b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ba63c51ca4c658e31e2fd73ffbe775599d77166562e4a37ac3a8ec399636577
MD5 33b1031a161b81409897daf7f3d3cb8f
BLAKE2b-256 ae28b9f7aee9fae5eca2977800419dad57f8a918569e360fcec6fcb93f86bb50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062200-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3efbb21d39bf729ca350d430c017825cd97496fd193cebbabbaf270546588bd1
MD5 28f95a329c6be51bd6ababa0154b6140
BLAKE2b-256 27aed8adb9327af2b6debad4b00de7824d6050a985bcd4b4f58e5a73e05d3b70

See more details on using hashes here.

Provenance

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