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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 17c8893f9b35975a820bc270b15a3463a2d9fa931cb1b261fb0743e15d7530a1
MD5 640f8636263493d49ff21b1d021f72b0
BLAKE2b-256 b1d2edb99c80a46f5f3ac9d50271bd3ae9f73662c5e44be97a71192a2b5fa0df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 32c62a1a0d315dfc9d84260ace78d93f83d127afd85b554a961b3f8cdf1e88cc
MD5 fbdfafd5c5be9c7859329b338440d2cb
BLAKE2b-256 67b7b9208cc5b76dd0deb38019afd5ead80cb9ad33499bc88ecd0f7d79b732a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 93f73f0dcbf380bd27e5a47d5e42bcfa86298d1b7389d0f481c37a9c8baf2e1c
MD5 63115e74057adc1e96d7551c6dacb016
BLAKE2b-256 7f6690cdbe5a8ca6921fcd37198409456c6cf5fc3ebc4e6a3881f6d44777f4cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 dd6774fb9a31f8e2169a28ea7618840a948bfbd07412ff44b9055e1b72ebf25c
MD5 c32ccbe9b2f3b70e667841cb2e5cd2ee
BLAKE2b-256 d5b2bc7f4a147bab97ba0bde0d32dfb1a7aea600deea9025799cc4d033d639f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 df55e4b311b4d236c2ff78c1a565fa5d3033e86e808dc095e0cfb80dbbca5cef
MD5 cb5dfade63a180f46c0e2d1c87f83047
BLAKE2b-256 d23775e284a7ec626a8fa3b4ad49ba27d002da20b8634e1b5da565ce8fc379e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82cabed36b84087878e79c2b15c56586ea545bb4ae36767d5ec155bd5a3cac0f
MD5 7b9c1de63ba0da0c0aa37485ab4584c2
BLAKE2b-256 a4951474a4e3ed822515603e577da939fc146f65710dc42aa05e5b2608916413

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3b7dcea92b4ebcdc876a5ceec131183d4b02b7e62453275bbec7e8c9d1b93e6
MD5 0a43455ed3a4496a90011947e3094409
BLAKE2b-256 8bbcab06c30dc81702f770da07927e9e9482ce87956b4502c6b652cb011ed2ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062607-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ef622158b67d88df6c0208192301e4e63dd54ef080a20de17211ad44b2fcc3f3
MD5 26ff3785ee439c64f8e7867d42b93d92
BLAKE2b-256 5f123e4d92ccf25ccce43a340e90e6e2f4c671db598954cf7471ac7aff742c52

See more details on using hashes here.

Provenance

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