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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061903-cp310-abi3-win_amd64.whl (8.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061903-cp310-abi3-musllinux_1_1_x86_64.whl (8.2 MB view details)

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

baml_core-0.12.2.dev2026061903-cp310-abi3-musllinux_1_1_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061903-cp310-abi3-manylinux_2_24_aarch64.whl (7.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

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

baml_core-0.12.2.dev2026061903-cp310-abi3-macosx_11_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061903-cp310-abi3-macosx_10_12_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d14f8b60a82c108966c5c192a5cdb3d209a2cbe1e222d68e756e86fbe54e1016
MD5 19ba562572895f8ac78c9bffa7707542
BLAKE2b-256 17e94e9a41091eb3eda0fab141dd8514680faf034272026ca72fc5f9de04d1bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dafdc5e814decc4ac1d80fa4ca103224a4bbce800ac8dd962824af7fb012f925
MD5 1a30b47ca803cb5d66257442b51277f5
BLAKE2b-256 c6783ee8c98bd567033fe42ded3a86d8f6da4f3208b38a651f619b02cb37b7c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ee1a0bdac1b0ffb96ddc74692fe6bd9b9f0a98a192d55e0a3afae568195a4b8d
MD5 7a18fd3ad71e2ca83ba8b4d62f017b99
BLAKE2b-256 6085f6e4b658162e36c895708a70f8e5c7ae1170c370ad17f185f1a89627b19e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7b995b00626768d807918a5607dba9d5e02cc5d700b7c837bbf8204fd0607009
MD5 8f2c93d5aa9a60e0534611f39de67643
BLAKE2b-256 4c4520969495c5ee375b519cdd8f406f37c02a1cbfa94a5316ed23673a4d09b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 9b49ce62c6b3e630980411a1d4ab2cc56e3b4b4f22e44e63fac418ca1a6c731d
MD5 10ff215799abfeb72ee874f87df94102
BLAKE2b-256 71cff4c53809c9cba43636119a72776b2d2ce2e31dbfd9f64ef6cc61a57c41d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2c33e931e0cc8a396a04225abb59541cb6beb86c5c46ffe8d6a1848b7cac72d
MD5 48676b93339120aa85e1f10c2fb24e2c
BLAKE2b-256 14099c828aa95946100a54ee0cba9b23f3b09a23287c5fcfc7cc6dbdb4e91d08

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a1ef4faa459c84424ed841511e1cf6e341dbbe49b0318989e81f6d5174d978d
MD5 ba9977d298c168ed8b856acc6e2af808
BLAKE2b-256 641db2efc21f19eafd7e466ef8559bbaee05bb06e4ae4f97767bbd695c5f1e83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061903-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 94f1e3ea929430c8b78a04f1175ba038bb45fe0821cfe1f52df1592bfd96b986
MD5 daa60dd520f44bc8d0e61960bf72b36a
BLAKE2b-256 80e93fe236f274c1834582e714706de20b68bab1ddc143e0c507169d849417c0

See more details on using hashes here.

Provenance

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