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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ac9d32fcb5bf0c8ecb8d5eccea65d761854106e167f6d801158119147f0af713
MD5 2a243038df813141780538bc341d0ec1
BLAKE2b-256 4e94c5a555a130bab762f9d653f719cd9042183179a84549317aaac1053eb761

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e6354f6356bc9b59f99db76c93b49f8262b91224cdc7b6b900870be19d04beee
MD5 ab64637a5f5e3d52016b90114632b03c
BLAKE2b-256 45427cfe495b868ab812f248e64e759d3b44dca4975a2e6f3ed6c8238bf4dddc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ec2cc24af94ebda910e3fabe8297b85396a1e73a95ff2e17c73e4062ce4201b3
MD5 3b50d5d2330119c9681785e1d993a01f
BLAKE2b-256 19fb02d18006ef1db89c81b04826c4868f653ea71ebf5fe863876b615e0a6bed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ed1789c44c96a418221a9539992a9a55640879196bff9c2d0bb1a89a3d82ad02
MD5 8fb7b973a9c5afa87f965958f707c8c6
BLAKE2b-256 2422dda8d1df56e87d3d71f99c63fef4ab4d41d0ac409e2cf9a20a51006841b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 de999a6c92e7b86b0f2e6a7fa8243e89d59a150392fe7fe0e4aff2b44d0dce2a
MD5 8fcf7eff47dff33156b88e80f71c7b53
BLAKE2b-256 64360b3b06bd29eeb0df80a0eabd6e81e023a376c1d6e2af6a2c9d61a1383bd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d0a078796887eb6b295ec1eb90167b8f6a58d1b25554bba2ea1aec355105dcaf
MD5 0d8472270d88b8efccdf7beeac525e0c
BLAKE2b-256 5acd397d9f306c365314317aac86b7a744b37f0bf61636c855dc7e0f555968b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0cd4ab36375dce782224a6a4c8d25a2a541affaf15944b9684532f542401cfbc
MD5 c9418144d0f5cd4267beaab262ae2b1b
BLAKE2b-256 cc633272dee4b9b6437e641c3b95fb049e6f9f59cbf0a502479910ccf8fac742

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062401-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 788be335fe4d42d31d4982ce0e13315d3585eb0052355786e9847e40d4faa0cd
MD5 298288bbe62ca11190ff0a69a61e3458
BLAKE2b-256 9a88f630e2e9fa783ef63fc7c2f1cfd9f228733bf5e8666ca415e9b323414b90

See more details on using hashes here.

Provenance

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