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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 aa0b757fe8e2270de7002d82dd2596a46d7965bf744017bb29512dcb8c34ecf6
MD5 20086383b4c532ce152c22ff4888606b
BLAKE2b-256 e0be66adb42bbfcc435d77c3cd5931fbc2549d2de2f3201800fa439fc0f5bd1d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2811991dce78286a0f60c926d41f7e7cd4945d4d7157e747eb925fb0b9af9131
MD5 335c476f2a0e8df15d09b94be1cbb0ef
BLAKE2b-256 56afc8f3d50978c1cb1b43f66701d1f104f07bd640605b853c8172232b83cdac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 073558d1e04af97c1cf01dd8b2ebd0a4242b79d8b23c54e8f9e3c082e6911e0d
MD5 dc8d93c12f9eab465a6f77046023f60c
BLAKE2b-256 3ff8305905d2fcac1e74afa0d5a93425f778bbf539c110c5325ddc3ba162af38

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b1ec787fc754461c94a1480a3621ec718f984aca5977865170dc9ec5635cdadf
MD5 94600c353239cab24371f1b910859286
BLAKE2b-256 9ae228e446adfb0d34db7b3971865ebfee767baebe677c52554f704d79df6d07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e737d3f1eb99200e946f45a64f307db795301e659cd530a96823eb5a05075aa2
MD5 24fe4eb41748d10a2f33f7f33a99a812
BLAKE2b-256 50432c8a3d6e1b533612cd54ff0480ce048c46124257c3bf734c2ba7fec0b936

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 daa82e49601b33452af4d650a373ccce686ae14562f9cabe2f18bf1dd19d3eb4
MD5 18c7770561d474d007a443f8d1844b27
BLAKE2b-256 1f78fa0e17fc8c48c09d9cf13058c5a347c463c9348010ac8cacf5369f400f18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ad2e9981d5800e23a689e898313fa0be295a88dc3ccad89f55c1821f807488e
MD5 20ca57ec9aade5e575fb637ca113468b
BLAKE2b-256 178ad7d90465b56c5ac9a80ef3ed78cc6ed7b567378389a92fd22a2d0710b559

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062505-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8703cc185f96606439a966efe8ec00ce046915d7eb8adef1d723de03b3691bbb
MD5 bb907eab8af189e00a448813b187ca8a
BLAKE2b-256 1fa9157a37f0852216f0758684ab81b8bf5d89aa9cf24f6eadcd16ead730fff6

See more details on using hashes here.

Provenance

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