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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061701-cp310-abi3-win_amd64.whl (7.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_x86_64.whl (8.1 MB view details)

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

baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_aarch64.whl (7.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_24_aarch64.whl (7.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.0 MB view details)

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

baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_11_0_arm64.whl (7.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_10_12_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f7f1012537d1366fff6a500bcae67462f1d623895fab6f14b7d3f9521433502b
MD5 7adb45a3576381a01b65da6c34d21f63
BLAKE2b-256 86ae913be69f0ffac9db115ae05358872e88dc575951532edc9fa9ec0ce1106d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9f16d14514e92d0c2968582efa2bee1439ba2d09d7c15f00e2959d0bcc46391e
MD5 91631265565369438a364b61adefeba9
BLAKE2b-256 6308719a2fd5e39e767455f66bb7beda668f7baf1bc911b8c76965af4a52d3f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fbec48babd3f518f0f03687b65e5f5de688da21a450f028dc62bc32648b37ae4
MD5 43287ff322daa4c19255ac9efe299980
BLAKE2b-256 6cefe64568c5b91ba4b83aceb027bb9e394fbd76cbbe3b4c57a7dcf858721a49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 31550c28d9efcdbfdff2403deb3bb0380c4fef401cb18a89b1bab5dedc4764ef
MD5 2c560b0d5a4a313d0c4b89add5472153
BLAKE2b-256 524ebd335f0cdeb7f53101caa9c5381d6dd1088c00eb31b69add5417d51ba4f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e205875156bf7ec52af2c5ffa6c9f0a2959d777fe03f00f85af006c1a6dbe920
MD5 37e5cce4ada0ccfa164bf17e31c9f0c8
BLAKE2b-256 3eb8da797fd00cc74031203f5e035b2dbd860311e85a2afa38602194145c095f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c68dd0d7fa5927e397f9ef99bb25a4ade8a2d17c2c797e6e6cc5207ab38c3bc
MD5 2bfa4b560cc43840ca25e824451bec0a
BLAKE2b-256 317940032243da62c7bc604229af4ad163e13deee5d06772e76146fba31bfcfc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d667df00943d49cdb5aaeb06b856e479cd1ab720b21bcd148afa4dab25152c0
MD5 a90434a5d6ce5ce3f538ee7a51853dc7
BLAKE2b-256 840f08b7a09ba587e8da0f094aced13e992a11f9cddf3fc72f03831cac66676c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e17bfbc833bf17fe65b57d8e3d3d8e2b601ad62cc6bc96ed32589e0053b89b67
MD5 0a8275bf6444005d6bf88f36b902f165
BLAKE2b-256 2e0881091aefc9dcb6513c25e953b57e0454b35b93c12c699fd4e1a99817a7f8

See more details on using hashes here.

Provenance

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