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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062705-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

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

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3bd88b53f5e9392e5b82e1d95bd790acaa3aa50f35ecab8aee089bb2fb9ade4b
MD5 cab2c9477032f1b0965dfef5630fbe79
BLAKE2b-256 c28eea1a73fbbf80b417dc2dc76a69bfe18a068fe8186bd923c916e5020bc534

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ffd17b71bfff51b5a87f1d50770fdb128423bbb3431930615cd42395f5bf6781
MD5 3038724046c7d74ba9dc84eeaea8bef6
BLAKE2b-256 85da138e25024c08722135839a6f72f3fa2f0a0f1324b42708f5be2d0c16bed6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 442b121b43a23d6e9ab9bc805457e22fc33a0684495aa08b3980e293174263f4
MD5 83646fabe285ac010a01528d13ceeae9
BLAKE2b-256 9dc7cd0a48824903c5e79425e0c0e9c79c8b16f2da7ace14b3c5cd84dbf45778

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 be2bbdfe8b1a9bd261c6665714dd39dbf50a393ee9da4fccecb8540e959624a3
MD5 e01602b0b7e7c38f082629c478be85ff
BLAKE2b-256 5df5ca8112f660235bec03bc9aa527985ff6879faf89ae2dbeedf24766a51939

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 de0444ac3f43087343ba5db27ecff910851966083969a1c68db9a7d2f259bef9
MD5 5fe18f86a0f9d94be89586ea1ff3550d
BLAKE2b-256 7fa0432484efbdc305b7f5226d5b9df1db7de4bbb2e1227cc5757562d4ce8750

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a745b7b819650a417d002d0f6123d7d3d2c70467755605ab36002dd19f0ca407
MD5 a1fd60f716587ea151262bea79d420b8
BLAKE2b-256 708b8adcd854c993f73b12dfde93b9e78f6ef079fe8d7faa0c5563b94e062d9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a4a72c42348dda6368a979ec5efe6a8a270dc2a82ad22ad391d3b0caf016605
MD5 129558ce30b8708c6ca450176382807d
BLAKE2b-256 46acfbce6f3a897fbe1907ff27a9c1d7e4dc3444c23f1cbd8b2ebe194fbb73e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062705-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2eb5f99b4e7a62aa0b65ba5b792cb228d68d2e378c76ec9bdf5d178872d240dd
MD5 9f709516fe168cef0781dd584ffaa626
BLAKE2b-256 61879317af3053898d2a3c5cd619fd7383d8f9b181462eda1cd2f727e167c7b0

See more details on using hashes here.

Provenance

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