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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062600-cp310-abi3-musllinux_1_1_x86_64.whl (8.4 MB view details)

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

baml_core-0.12.2.dev2026062600-cp310-abi3-musllinux_1_1_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062600-cp310-abi3-manylinux_2_24_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062600-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.dev2026062600-cp310-abi3-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 30f64cc47cf362a7da3ea06ebce181e3d47723c6003e3bd1305ae9807d458703
MD5 9240f0575fdf353b7b4bfdf1ecf7f50a
BLAKE2b-256 dc3224ede2290b11e6b003de435ab8021a83aa85011f7535496769d4995386e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6c4e3d96cfd71da17e8e58fea247085f9e169d7d9064195c0770f1de67e7cdd0
MD5 9d1b8e791807250d5bfdb02ae13f341a
BLAKE2b-256 f15fc2c81e329284d875df8146655678a12b7c974ce8edcd22ac7b96405baf2c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c8ebd9e8f93ed8b1f98aaab00b178c0667696e89bfc885beda9f6ebc8b5ab749
MD5 01f559f00c41845abd43b77dcb39ceba
BLAKE2b-256 b7ce11c958656026dbf3b94c1f78532fec8fdb7d7743b8f0e3699cc2af0ea156

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 263fee43c3fcd95693c921e7cf374877009ae3fa7dafd565a97b489c0c1edf2c
MD5 2a9b8f679a82e9bf6caff71510962327
BLAKE2b-256 0116b57ed2e8b83c26b61fa7b25c22c72d896d12a7a7100ce7f36ca27b58ebc4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 337ed22ddd44a30618a6832bc8deea286fb9a42c8cf445d7af1f65d6b95e62cf
MD5 8564514878fa15f492ab619fded1cc65
BLAKE2b-256 400c092797fde6fc614d48b9aff9da187d60c646bfeef6d27932d282331483a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 968e3f552124d647701671523a8020525a1b17128e82e50ac1d17fac6bc78ba6
MD5 b325b3963a28130608e7402a92774b65
BLAKE2b-256 7381f9f012ce0ea7386920711844550991a31463b5873c39331ca9d282d28472

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 16fa1f1715485cd60922b14e1faf2288070180a5ad2d5e50e2f55448cba00ab4
MD5 ced242bd70b43da0d513967b06f9ef05
BLAKE2b-256 788058046436819c7b9c31c81913a5cc058edaea69d8a7cf88938853e7023e91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062600-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7a1b4246882ba61875c12167bb9705da75605f66c0ab3db5d2595414668bdbef
MD5 a88a557bbcca03c210ff6fa982e5f434
BLAKE2b-256 478aa31883169dfc944397c6bee4cab70f67a9799ed419c20022368482b1e01e

See more details on using hashes here.

Provenance

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