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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062205-cp310-abi3-win_amd64.whl (8.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062205-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.dev2026062205-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.dev2026062205-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.dev2026062205-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.dev2026062205-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.dev2026062205-cp310-abi3-macosx_10_12_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3d698c478b2652c0a812eea5d67231fb799669e69a231fa9132cc88b226dd7f0
MD5 fac6c48975545bd1fb10a06b71699fa2
BLAKE2b-256 aad96759da09be759c7d1e4cde252c161bc6ca8062fe690d53063370c123c935

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 78cfc9a943856b74f45f980882225d84445cdbbba3362a8a7b592640b3727231
MD5 a96ddaf60eed63634fefb9fb429b4a4d
BLAKE2b-256 3848de9da8e56218ae0f707eadf0404d248e469c40d8ecad1a391843ac22d02a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 db23a175edd58f5180da2a51f497acec391a373524c27c16337f6769d98b02a2
MD5 3a768425462bb70b06c96cebc7298781
BLAKE2b-256 64058c7d81bf152dd28f5e85592afea1fdcf28057b359dd3f6ba96111f80eb1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 95f99d5da5ebdbafa43b27312331c52405014194047fec77953ca30fb76c7168
MD5 2e6565def3f48fdfc0db21fb17cac085
BLAKE2b-256 4fe43041e74cfe048a8708ed5e2e84bbb04e730b248194ee0b10e34e6510fe51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 f1adf8969771e37c01e5f089d643cdd42e8de4d1a263af908cbade9788bacb83
MD5 b6c1294dcfb95fe144edd43d26dfaf51
BLAKE2b-256 31d1ccc02844e9b08db38777365b052e30c23202a05fe93e975ff10c006b31c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 96659cf0cb89f8fd8307861e7d6e1598feb09dc18b1dc412bbaf65b19f890595
MD5 42087231576f2e7a09ce210d9299c866
BLAKE2b-256 7125219b17f544479bcf3606648e86419498b473cbe5b6b20af5d3253ceb8a36

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 75005c27774dc15115972a8496ea6a527e21b98e22af455a707041f30bdd5c65
MD5 fd4af9a2d042bc2fe0348290eb794bde
BLAKE2b-256 33b0d6327e24f9b8f97bdda6e99bfb21900521391f600f4dac4ec3205f6c2dca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062205-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 92c172f773af9c996ad828e9d9cf886357c93896010179b325085b377649ab07
MD5 684084f43b74a137ce91cc053354ed4d
BLAKE2b-256 b27213e6b971d799bf2b1c3174b47307618a606d5b58b57dafae2ab9f26cb1ad

See more details on using hashes here.

Provenance

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