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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062704-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

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

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b21cc6326b525336f1121d44c9fe36df301f6314cc4e6af0981db63300b969b5
MD5 0fa71e6a3561164433d2f61da5e72bb2
BLAKE2b-256 4b7b373777ffc40c320de53d99e76415f2fc36a6a0d9eb12692dc45518f53d49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7aa2ee9a5525985ea25ae6dd93c3c1c9d734bc48cdda6ed9b2abf8878f05616a
MD5 da22137c5ca4d1d0f41a8928316adc3c
BLAKE2b-256 3ba31fa48698be749d8354920eff6ce7cba165f48df0149cc0a95040524c89ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 817c9f306f7fa35a0417399f0db1d39ad181523f7b93c81b9123d20431f0557c
MD5 34b5bf3d4fd5501e033347ac319985ff
BLAKE2b-256 7444ca26eb29550ed0cfa244a42958bc2c61e5093ec3d90d79c6152272c32a63

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0633ed344b59c62755361f773f3146788488a1658f367181fc0cdc44dce82d62
MD5 ea8698ff8ae5e954ca3e39c5e0ed3907
BLAKE2b-256 ffd6a31544352c92433fea6996a32e3fe3942561266aa6e6fe0dce1293d5e79b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 90994846ef1fc8e9cb61824c1a1c7722c5c404c1f18aaf2ce0a8845221964946
MD5 67ea98c8a3b5b98ad280737fc95fd041
BLAKE2b-256 9ad4fd8c4b078448732dee2b9402cd77a5c73f60efc1f2b57f2228af8c81f97d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52e35394c06504287f3729924129af528d4e75bcd9243809a8d6cdf4178e059c
MD5 c35df685226b5137158f007c5836a76f
BLAKE2b-256 ea310cf94fdc1828fc253de9debe1cfcba5e3385311a6e6c8a2762694ca8945d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa3ae004673c95d1585b8070afe3b905e1c30a0329396b397fb256b18e5bdafa
MD5 83dd5cb34f412544d32bc9130060c7a6
BLAKE2b-256 f4b65760db4d9669fca3f3847e3e510e473025ba475a8d88acc48179f34ae43d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062704-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 46563c3f102760b14881bb280d775c15f0718aef695aad2f1e6874f1013f8d87
MD5 77be9f589fc5387c65e537dbeea2aa8a
BLAKE2b-256 0ff299bdca74810ff67b4f91c5d9663fbd527b82294ec221d5902c7627604114

See more details on using hashes here.

Provenance

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