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.13.1.dev2026070702-cp310-abi3-win_arm64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026070702-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026070702-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_core-0.13.1.dev2026070702-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.13.1.dev2026070702-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.13.1.dev2026070702-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

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

baml_core-0.13.1.dev2026070702-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.13.1.dev2026070702-cp310-abi3-macosx_10_12_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.13.1.dev2026070702-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 21a81d7807865ee3126a30001d2147b2021258fada0357e76da577d7dab32f46
MD5 4a5e280178c419c187bd970bfdcac1d5
BLAKE2b-256 e0948374cea30c8db96b95295e973a443eabdbb40eb4ebd2fc1e207c71bdbada

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 61e9abfb057a022872ee60aafab4b5e02f121be111ba2bfc54480bd30b6f3f2a
MD5 5702b34798ca9e52e06ca915ef14f0da
BLAKE2b-256 154b01504457a723f4c3a14908829940acaf1f416af0e94300c5eb1b62064278

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1d9be84eda7ef541f485fc7aaaf6a1ae138c54e9edf424e152ca135da10500ca
MD5 d46dab4d92faaae317cc0a08f1db6e54
BLAKE2b-256 3304cdb1be0a6d3147f1fec371f3762d4fb49ea87318317a5084c7f695cadc2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 1a1e70512d66122930e2a030ebf4f0f96bc0effc7a508f58ca32947b0fb0e11f
MD5 9ff17166729ccad2055e2fdb58571c4b
BLAKE2b-256 56f55808973e97d5078db4162ff4933d50f3e2a5ef7c1bce6b5dcbc1df991ec1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 35798483906db1bfd84e50ba0f9116675d9d6787fb0d82142a9d938c1e52d149
MD5 b2f57790e1a3078e27eac0bd6a4793d1
BLAKE2b-256 50849a8ec04150aed5b18b131ae4b42256d0980d79520ce1fb4486bdc2e4543d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 774f8d6ae5f1eefb70043db8f8c8c0d93d56f6d2d16babc3bb93d58c89e9ea70
MD5 bed4a0c0adb7a96a2f0e3f99ce18936c
BLAKE2b-256 f948046969fd4839a63f9e737a4b74f99e42868b56686fec6b65b06f94e046fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2792068332628fe7f95f900c718b705986a000d493704351e5176ab3496cfe54
MD5 682ecfc45477c73df8b7f7c853f4362d
BLAKE2b-256 df008d77a398d2102ab840a743fa48e05dab667a1b17fd26852dbdc347cdc6cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070702-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 dc590e8488d56a649f8395b21336b34234c0bc7d372415931be33ba5b26c4029
MD5 9b80ffff3fd0ad203a08a379ea31471b
BLAKE2b-256 3c6ef3cdbc2cd6aa8b98cc987578e492935a2624051b482f3d6e5ef667db1c60

See more details on using hashes here.

Provenance

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

This release

0.13.1.dev2026070702 This release

8 files

0.13.0

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