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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061604-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061604-cp310-abi3-musllinux_1_1_x86_64.whl (6.9 MB view details)

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

baml_core-0.12.2.dev2026061604-cp310-abi3-musllinux_1_1_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061604-cp310-abi3-manylinux_2_24_aarch64.whl (6.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061604-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

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

baml_core-0.12.2.dev2026061604-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061604-cp310-abi3-macosx_10_12_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3224def09b41a69c9ef0e2c8ad52710be6ed655218681836868c640ca4d8dc81
MD5 8ab05d3b29fd6c99fd2417a0b137c2ce
BLAKE2b-256 6385db00d882a826e84edcb79d73ff5754eb1d76ef1441086043398c7e2d690a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 94005666dfff6d0a86247249a13fc4558f2868d9a00e6c1267873f9c16f50749
MD5 0561669aa4e17ca6aca0770f42eaebd4
BLAKE2b-256 291d3359fb0adc44b6d06b9310b9c828f59e06aa03d05eeefcc7ebcc0f0b7897

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 06502fc7e947a643ef7a494336def8486015f8468e5e0e52f506a09a9b3fa6e8
MD5 8a5c87a28dd8decd5a01a3d948c1fa78
BLAKE2b-256 41fffcad0b7e3e590917b5ea7844644476f12a040a4f99125ebd79c19b1752f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6ae7f45947520145bc082a76989d056c060989f29078111f43f4293d35d3a1a5
MD5 6098a5329bdb2f540e2cb30b260d41d3
BLAKE2b-256 5a4c4211a89acfe49b0b93250b19d8735b6e82471520b60a9b7f71599a942b71

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 cb64469c7ad80704a8d212ebc03e905fe6e67ef85f243550cc112ff90e3d8533
MD5 d5989a0f57089945b7fb4e08a64bdfc7
BLAKE2b-256 87ed04d59dbb3d1fe7fe983c41bd7a27a71e1f2b56cf756715150dc593aa1934

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ffeb9407d82626fa6e982f5a473db5a270b9677d993a63fecbeda1f0ee9268af
MD5 b6d77074cc7e8531aef7a4c3bfacc722
BLAKE2b-256 d4b7fac6aa877a132aa9ac75e5e438d275ae3ee53d018eefaf28195a182fbeac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6458c6fe2e972133fca3524d7f6927e3945009b3fbae1d007287333aa28178ef
MD5 c9ca68bfb6ee5240e1de0999181d6127
BLAKE2b-256 e8fcf5869b5f6482309c78f8fc69a830366fea662a6e2a88e4c08ff8f54bd2f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061604-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 89d9942f05d27d5b2a11e977203f990cd8d3cf8eb01a20c7ae6140bdef596b3d
MD5 68f9ea9d49e9cef90ddfb7545f042ee5
BLAKE2b-256 191d7faaf3040987b3cfe9742213e3578a55447726bb69495e2ee187e3635bb3

See more details on using hashes here.

Provenance

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