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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 564013094a4efeee3fa3847576f90f2276370e8da27c7c56ca8786c782ad7767
MD5 5a01ea6ffe00b445bb1978fdc61956e4
BLAKE2b-256 2c9f9d9f9ddc743e33cb869d6241f5ae6f841e18072630f0109105f7db35f90f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7c427c57c5dc37773158bc386186497ce2597a430e1f6ec0689d22d4693076a3
MD5 9ad074416803fb87f8d33f5b42367ea1
BLAKE2b-256 767be32da0a5fa8d1109143467f86fa2a668efb2f2448784807dd12905e4981a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 997ec50308d796a51e89a56a6cfb6e01c8cb5883e41233c6a55571c04f729942
MD5 ea1c30ff8495b85751643561977b3f55
BLAKE2b-256 7aeb878782df47c48f03cb405edcb6d3f9659f7e7db5a94b831c1d45aa24377b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 31de73216de7ed55e01bb5e3675c08333c3d62cce5cc590667ce17a2eee87af7
MD5 f4607a73615a6165b07778de53102ae0
BLAKE2b-256 26bc79dd7872f60d8f7c0f14e4e2be0d11b1e37d47b9d911c528d90b00667db3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3b8e0c2a7808e815465bbf906075806a4eafdf9714e2c97d1e8d0e0544dad967
MD5 af80920e727151a90f51056be97ff76f
BLAKE2b-256 8eb3899355c68c5f3ef6882448f35b0404258867f4d6064588d9ed83a754f059

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e87acee5148affa847a21aaa099ae00e067fc334a3169b4ff619a81b6ab4461
MD5 cb43d057f57c2ce7c638b70ea78aa0dd
BLAKE2b-256 030041a1342426f25f536b71fc80eeee84bce5f98099d93f978ab672a4caa15c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 680044cc33065ee72102e7f0456f3e21805a15ca71ca3e6510dab0c591ee8836
MD5 cd3a2e777b1b47399751e937fc1fee7d
BLAKE2b-256 64418ac2ec99a23219918d81d11a84ddfd7a0b97a7ebba1909dca229e3de067b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062202-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d0e325e61bee60e0563ee9c4a9eddd53c4a68c6f2b133a5d384140274cdd808b
MD5 a5fa088dea8735875934556fe29d4c37
BLAKE2b-256 de0a13369f7e6a0458cf9ed5ef045ef2bef0b74a16b3fead14049c3c5ecac166

See more details on using hashes here.

Provenance

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