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.13.1.dev2026070703-cp310-abi3-win_arm64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026070703-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026070703-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_core-0.13.1.dev2026070703-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.13.1.dev2026070703-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.13.1.dev2026070703-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

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

baml_core-0.13.1.dev2026070703-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.13.1.dev2026070703-cp310-abi3-macosx_10_12_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.13.1.dev2026070703-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 285f65e4309b1eb151db1d097e814531522352544d2a2a18fb1f0b6218fa031f
MD5 d8c6b007b7d5ab665cca632307acf180
BLAKE2b-256 fb201aa805e175b2aab103e26c76a487268cca9bdc94387926fe8642e52ac442

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5abdb52b9604280b651127087b29263570c96df704f95765b34e232095e3c881
MD5 51b139bf9d00f437f42d62d281df8b88
BLAKE2b-256 f9af3d7b95f6e6027378e92a48d6c3b094ac781893af513c996e749e057d75b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d320a158215149306823fa84b83fcfd28bb58d80d25736a9b0254dccd51d34ac
MD5 92021d426e06888458ddedd0b83b7920
BLAKE2b-256 8f3ca44ab5832080049f520b557dbd616cc22e09452ade2b402c6c6ea37b9222

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 96177ffff60167a02340f345afbf615a8511014cbb21b61682f5f2762c3e1288
MD5 e22e199011bcc14cdc9c4f32821a5c91
BLAKE2b-256 cacd6fe5b89f996eec3bf019184154813f3c34ef8bdb1aae3fa567f4e6834e8d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 62b0529f7497942a64eb2495fcb1e7f9bbb786e25fdc2dff0867282899c2e827
MD5 ae3bc5f10dac3d83df9ec216c4db3aa0
BLAKE2b-256 5d3c8f0c874a0e6b4be0844467e5f57df8920cc7e8731f1ec13dc8ccaea20e35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 916befb3b136723b9732bc44682f808959ef7d4ceea860693b6b42b829f0aac0
MD5 abb0b890041285e4c217e643f189bf82
BLAKE2b-256 6fe03cd37eb9dd6bb92a0fd99333e59d84328288fbbe56b508da5c2cad2472a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 512a40c34916993026ae4ac4ab624cda731705cce77cab478b6e9e43a14cdb34
MD5 e5e4e64882dabce2c67c81563ba20b25
BLAKE2b-256 02ad6c043f993a7b9559d3d712c076be4ba76667f5826ff53fbaef3bda4f828b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070703-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 da148797383489ecefd8e9b2e38380e136ef3a34b7f3440898c40ce2e2738db1
MD5 23f2b80dae6dd7890017cfcf951c873b
BLAKE2b-256 48121bd48fec4744c99c91570428e4a5fcc3d62b689a88bf6b6ad516af366a59

See more details on using hashes here.

Provenance

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

This release

0.13.1.dev2026070703 This release

8 files

0.13.0

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