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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a2a737e5ff77313e118cd6dd89775bf22d49f793c8d970b3793e809b6213d717
MD5 913251cf93a4a001d542e344d1fa1a56
BLAKE2b-256 02d17dda6f8e02ad12d4d9b1269f189fd17b390bf326177d85eeb9902c6adc15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b57e4dc881fd05e7ea76b81d4f69f69216463fdb7f3f7abadeef3af6f1442562
MD5 812dc20a10f178de12390ce0fc39182d
BLAKE2b-256 cef8b1542df5314f913c187cb89fa9a3e14aea9a186cd0ae894f3f98ce0d3c5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8ae89f6dd8afdd4605a09a46e6b0ddbf45f93fd5e893b41eec17f8984db0b299
MD5 865b8c8f9d85c98e07377db63e2145ff
BLAKE2b-256 fd6effe112a81de2aa9c518881c0fa07c6211bbcdff285e936059f81e09247dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 581ed2d65d2b9f546e6bff75fd25dc03310b163f364b563b2991410bf9356fb5
MD5 97240b9d68d10f62b1aef0dc72094ff6
BLAKE2b-256 2d4550578231b484e54d7c044f4b5c37bc3a4a0f1dbe4c5c23f60d94f4cd00ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 cb39d8adfc74c9a75abc124a81835684750b0f8b39c432982849c883179a1fcb
MD5 4250ad5e0c6fc37d5e01640db88ac741
BLAKE2b-256 e22aaccc49c9033eca15b214c568aa173f952144748153d375d78d228e40a4af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e8c09ab8ea020a3a535f43a9caa9c882a5d0dc4f01bb6d451eba68063ca42ac2
MD5 472e63d7cf1107e82cc78bf4906f9adb
BLAKE2b-256 6086df6bd3a1eda98a4c57cdadb8dcb5b33eae15b1eba044131095e4da095cd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34511c7c86f8aa94ba898132bb48b2c347afc426e4067c1ac7536c220b44eae9
MD5 14bca0022f1290d4211e82c12e72af68
BLAKE2b-256 f47e33c6a86765acbd7e11e23edff655ca0defe008ed973222537ab7d8554f7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062701-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f452b0074be00900ac6e89aafd0ced682a22e0af3c715b727620cfad42b308d9
MD5 bcb71426f99acd6957b8bf0edbad7bd6
BLAKE2b-256 c8b0a46d5d35225147ebdca333672ff626ef08988450d0486957091c7edf2380

See more details on using hashes here.

Provenance

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