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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 85de4c4e9c8b95af8bed7914013b3ec9a90c1bb93dfc8edbc3974732c61d7c1c
MD5 5d406a4da8f659f2055b2a9d294bdf66
BLAKE2b-256 54aa878f66d8a3bd8c767784e2864209fe140cbb5fecde1452e77ea49d58af16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7bb423db19d62c48ccf21b3d2c70dd0db40da32a91dcefc0bb8459db84d1909e
MD5 2137970acebe9026e9437178232dcc89
BLAKE2b-256 b3f97e4e55eeed2b387aea04c58e5e5015dee1f6c1f8c7ca2c8e2fa5bec4db88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6c2bc58ef1f9029e4abe797af0f72984d5a356175f2fb60a25f10e38b4638ed1
MD5 46d5f001bed6d5922abb5294545f3048
BLAKE2b-256 bc645c37b472fff8e44740a88f07e6400233dd45f318e3aff7e75d0209ea35e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b754cd8a7f23cb705c69a1d8b63de8660c58d0cc967d648a19e745a973484624
MD5 41ea9816daed0436b6590acef02ae1ba
BLAKE2b-256 06998f64fb6a577edb95fcbd476b35ca65dfac2aae6ce35dfe001725217e0dbe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 ca695741857d520ef1b94c70b4fc5cc51825caec01d4e2f3c36a2da40109b852
MD5 cbe4359f2173f48ed3819a787a879322
BLAKE2b-256 ee764f476a960fa112df218787320c6ad0dd56c50747828a36f1a271968af8c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 953cb628c4f8fe619f25032c7c4758866844e5a8b3b2dacc85a2d3a9c329c67d
MD5 fe3269b9a801cab4ca61391a1eaeed10
BLAKE2b-256 02463552e6e761de8baf518df100b9a7f11ec9b8096e632cdd77d71973bd7b54

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0114224ce7875b8b2475930a3554290445d20c91a46dce832f8d21aedbfe7c11
MD5 588fc56607d0c027620f0b44304867e0
BLAKE2b-256 02f52eeaba2668d8a41184a86934a043d104f7bc6376810158da2e4cdeff6f82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061905-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d9ab91fe1c7cccc7214a75e78f06e93acd15337bd5ad3ff31ed6a83b222a91ed
MD5 25c365e035f4aae21f0709b2dc472e44
BLAKE2b-256 f9384a18cf8b67fa32e98cf415a760a29ff61ccac8fa0386cc09fe3658384fe7

See more details on using hashes here.

Provenance

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