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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062700-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b9561ec72a8d8d29a1320c2f21f2471a9b1587caaf47908bf40cb49f3f26461c
MD5 3eeb40ff69b15faf39992955f764cbde
BLAKE2b-256 15c847f75801cdc6865f7e92c189dae3c445db681ac559eb32c5739f05bd7f9d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ff830f83b6af544ea4c9c2debc1812bee3f75e2c420918507a0df1be268e4614
MD5 2220b0fd3475b9907053c40de682c87e
BLAKE2b-256 b7c474d3233b775f095837194fe5e0110eaeea4161cc694f4ea7e679cc80db08

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 723fefa41e382c557585a400fc615566955c878d15061f866044cf260ffd0975
MD5 627061d4e5f966f45309d53f24c655ba
BLAKE2b-256 25e2782063df5ff5ef81ab39cafbef1282a059985b5b36aa37be731c3ec3587d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 4ab8a2106a402b55d2681f8135f0cc32f17d8341ade9396ad49ccc0450109765
MD5 bbec309421f2972110da567b241c865b
BLAKE2b-256 ef845f93eb3d10942eaec5b918047a5f18b9a667693ddb6bd73e92fb4ff2ec96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 9e9642e51c30ba1c282e3032bff6113ce911a39e32766d08f45bd471ee134b77
MD5 b13ecf57abfd4ed373716100bccca795
BLAKE2b-256 9218d6a31157b7d2916d731a5c3f30d7bfe4e5d367034aa5caaeaa153041b24f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3859c195c16d81e10869baa2fb1d60f5b37eadc1e068245fca14b2b83a4478b9
MD5 37f60572beb8be2d7c6335be04c8b953
BLAKE2b-256 84882ba84e341b89a6b647310cba6f450cf0757a0d831bf9ebc376d0e58f13e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b466db18f54c39d5ebbcb14d13f1f587872340ec76d7c43eadd1c8c317ac71d7
MD5 f2509cb5c68ab185ef77e0e85c52d2c8
BLAKE2b-256 fd02f38957271d34e1535709b53dbbe44c2511be8ae66beb894a91017f629ad4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062700-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a5b7b1dc1693be6a233fb0fde3758ff669e146a2716c7729e275aa71373087e2
MD5 c09316f11d11e6d48b4149283f6a11e6
BLAKE2b-256 20b723b8423a43ddc83635e483b87c2f6a581585e525647131c148802e777e16

See more details on using hashes here.

Provenance

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