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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062400-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.dev2026062400-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.dev2026062400-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.dev2026062400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.2 MB view details)

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 1ef000550ae25674f12e40baf55b6ef5b120c87372fd162c2007c2d3b25b8bd3
MD5 73e456329b6012ff81aa15766ac87345
BLAKE2b-256 5723ea5c0d1d9cf13606a59bca050f73d75ac0da15126fba6e0a7568ed19a736

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fde14c948558c557fe92f2551a084d6b32cecb23f184c9c05968ba513512a322
MD5 606bc21d1ea858565968a249ba421e80
BLAKE2b-256 f9c74c3c46e43b945132304eb4e75d182210a6f29850e2dd810a306ddaffb33c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f02e79005c65619c78bc17ec9a0f825c44b33742b337d7d7d9566a7dc5d33001
MD5 6a1850b883781811ca7148dacf2deb46
BLAKE2b-256 564322f4e1bd3d07faf2ee00c26145c434af84e25cf4917349c28568ab0f6500

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8ff92ef245acd242edced52362cd5f7c0d449c5059c5aae96665559f0e8c6a73
MD5 a70c9d6f037fa2ff742095a2dfaa5df5
BLAKE2b-256 56a50baa067f3818ff04f0b9e6fe4980a9f20afbdd9a3d38a850e24021aaa957

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 f0e524d1d8e5a1c85345bf82acecff245be86c337af1328548b9a4bcc188fff1
MD5 a945aae23dbf8155e2ffcef892e03265
BLAKE2b-256 c72ffd89bdc60ee624c572e448a7085cdaf92a085c2aa5811340b17ac23588ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 61689f2711db93ae3774192b70c871188298497e973360a5d6382e1c37e27203
MD5 4d85e8db872560171eee83d8d97d7141
BLAKE2b-256 a95f61128986c1a5d5dd6dae8e8d2c2562e966a8e6655e48e41d661ec12d2052

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 54e195a23f247224190a5990c211e313a998bfbf27ae41582ff920068abf3212
MD5 9eede5034538002f58cb2e7df6d37738
BLAKE2b-256 c0166c5a417a133a812ee51abcc1e2d5afa5be101ef6aad600086b2c42b2302b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062400-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e279057d6339af842ffaba7d2c388036310665f988ef69537abb332f245ee438
MD5 c814facbb1ac2e63e14eb812ef59e92a
BLAKE2b-256 14be1fc545039826bb9e566c69cfce0e136353913c307b0d50ab99022c0b3d5e

See more details on using hashes here.

Provenance

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