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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5faba9b9c8530ca715e6e13a1555a54d06ac07b7735ec12b635c1686a6b63bf2
MD5 0a253daffd0cca4f0d61dccf2891395e
BLAKE2b-256 29e174cf65fa915de325d6f68797646b51e9cb8ce0025ee54123385ce711e42f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9e689fa055c28aef4487f9c6ff5156f788ca00c98568a5cbccbefbc278c29494
MD5 9e7fa7e4ad3766ed31078eb13c844b98
BLAKE2b-256 b0d3295e44330d9d4b7f806aab27a9cb06b5917dd2cd9e034542671e7eeda67c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e9e696a2fc642005038fc8c483fd408510fe93f805ae6ec935c7af4e4bd12c76
MD5 ee093abb0b58feb1d010d596530a645e
BLAKE2b-256 5cbd06cfcca31fe24d78f4e516473ade4b0f72c89f9b9fcd93fa150fb226d121

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e3ece558c942fefb742d4c86a15a5920625b85cb0d0d2b365346765dd9936e2d
MD5 f78ae67fd07a3847b325cd84bb1497ff
BLAKE2b-256 0b21ec007a6fe3158f1b1c4d0c14ac175a41d37afbdbbac2faa47507124104b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 260901ffb67ab0e58f090a185f2cfc70734a121d8301c3c516916c9bb2db79f5
MD5 7809aa025111251746e211ba3c7a6bbb
BLAKE2b-256 7b83420a759ce03a20e8ae097ad4c4e768f42ff098da21ecdd6231cb1147d3c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d3727c8f2a058d8a2566ef214f4cea39bb2b372d40fc3b52e7a11ed895ba14d
MD5 7167e4f864a606396a407efe5a5adba8
BLAKE2b-256 d137eff4cf621624b863df573080d6a485dc4037f62968caeeab175bdfc62ec8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9e50cb5b7c7e8f3e948fd22baecb5c41e92d9b689d43b9680d2676186d6e5dbc
MD5 210de79a610050de0edcd76123e061b5
BLAKE2b-256 0a0fd554a9f2769314b7296161255396851941bf8e5f50527d53778699b1242c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062100-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 80ecae71cb5492a9a697c8649be248a9b55cd6427954a9ae780e5b9bf4312f5c
MD5 e49501d09b52043cf3486a2b190c4318
BLAKE2b-256 03e40ad2e6746b9fa4edcfd3bd761793a6ac9bb866be667bf149ea066da71b12

See more details on using hashes here.

Provenance

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