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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9ee1884ca5c069de6cc212f5c011b63c85b2374ea98eff7cdddd46f251cba01b
MD5 8d3e8ac8c72acfb2627e433cec220a34
BLAKE2b-256 5ead46a72f9a5422fa99864274ed3a0838d3ac38c789b4bd8c8c330768c89fbc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2c4fdb808ad23dcb58ecb9ed25de9d5da52a269bac72c8de6946b3838dc8e1d9
MD5 cd3e413ba4551cbec54105933040deb2
BLAKE2b-256 efe342ff35d92dc0bb5bc366a7a0fda9ac1f15f1b890119013e943a18b604085

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 afe31bd4f76f65c8af85a31512342d587b015511c390315654986e2c92e63e59
MD5 0f721a67de93ecb3e67999fb3eabb5f2
BLAKE2b-256 3df4729a3afaa309ea42141a89b5bdb20aa4c083c1ab772e393c68bc96428d6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0b7d723b724a4457afbff5b62818803848f27bbde4b471be0e3b4dbe10003268
MD5 09aa95ea410f6b28f3fa33ad66855dd9
BLAKE2b-256 0d417bac697d5fdc4a12de787b02bbec91c3bd037ce02f50b83cb0f9cd9fb87b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 1f10e0aa82720f7e9d7b6590f00d894d9b5fc871bf153a65877365be1eddb3d2
MD5 35526e77d6ed12499ab358dd64883706
BLAKE2b-256 e3b4b5b1c21f97ad5eb54e86c4465fb2a6f601beed328c93ce618abb31b2ec75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4ed4952f4c477f54c41a57a14ad800f2e4b4a606b2226cdd35214968fbade1a
MD5 29511630d12fe48e8ab677aa8513dfe7
BLAKE2b-256 0d0b4d90f8f118454819392c646d9984cf55c32b6ad589b15e7298f71c9d2e1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36283e7320955c152535817d43cb7c60b7a505ca2b2ee6c560ede301137cfa7b
MD5 bd18b1e0deb38b18a33af09261154ab5
BLAKE2b-256 e91e98e88425528357257d737ed60b749accd7d1975c5945623ff9811598d494

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062603-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b4905116abc0ce15403f9721cf3aea164c96e4025756910859c43979e8cda265
MD5 0aceb12d0775036c9beec32eca5d396a
BLAKE2b-256 d919702ee8cff63ad05cc1daa1641b6fa2a3c7250b656228a0675c6647d15f37

See more details on using hashes here.

Provenance

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