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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062503-cp310-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062503-cp310-abi3-manylinux_2_24_aarch64.whl (7.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

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

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d01aa7243c7353cb68b27cf646ad56b57cb9ba572c749f469d321dccb78360ac
MD5 81e050c232d0390a595f41d1e4d18a2a
BLAKE2b-256 8be7fcbc7563bd524732999cd50fb74cf94de729242e71c07f9e9e9633587d30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 475183a02dd8c4729be914b4a5dff3b585425fb2cd95c20e47bbe9e046a17b0f
MD5 2e8a5757c8ffc228e1b844fe8e30332b
BLAKE2b-256 d50a87e80deef16c5c6d49bb48f7818e63562a9f6a651a495c6ff11bf1ba53b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a7d82f64baf204ae05aa3f0470864c966e061ca9674ab3de9872be9bcc017903
MD5 ffa6749afc09095fb6cbf29f5001a74d
BLAKE2b-256 01e85b01d1eec7c0ed46e4a7da8d6d1e7a33e40fcf3af448dca5970ac6fd7f59

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 777f8e8f91960c2556f6bcc2592da041588092943fa0d7710a0b1c3a7f941c7f
MD5 f73957fc8cf142067e7be70fb396bb5b
BLAKE2b-256 cfe7788f5d23f3a054be7cd28f0b28f12b91700a6af981b1094dead3e1249dff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 ca87e945003d1f2c168a6010e5d0b00b55f174bc0f8152992c0f4aae290f60e3
MD5 5979641987c1e22b0ee5f71cb2c5f634
BLAKE2b-256 3084c51b497984148b5f7bffc539311ed71f5df9188ed6eb0360ca1f8ebc3d7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 acb0e957af3dfb8df62806679a1adc2cd3167ae70716e93978d7743f12a9a5cf
MD5 af909c9c0afe71cc83f015cec38fab37
BLAKE2b-256 dbae46eb05a71fb2a9c588a9ee2f03e785e8b54272e81b228149b43d45ad9b6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6909d211bf858543cf35a296a6ee90e049198b0f75b7b0263b4838f3fde3692
MD5 9c9bf0ff5745c677a99b10056efffa55
BLAKE2b-256 f966d1e5b877ed1fb0eda0d7dee38baf213b93308bf3708ffa7af247490e7f48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062503-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a707dd31a8a7261ab81b1ba42f5c023fc390d837e0d107aab3f4ddb586e2b92b
MD5 f505c7e1e3f7cb764f34ecf75b680e20
BLAKE2b-256 6989dab1c3b708b4acde7f287e39392938bac8134563b1971d73950709d930f5

See more details on using hashes here.

Provenance

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