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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 385ec255be1f8907842785416e6f72be9069dd46163e90d00080a3f80e4160be
MD5 87415351de7df956da84fa7d79486275
BLAKE2b-256 e46185ce0591d6b755b31c201357f1ed973e67851893533587272c34e5949dd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f75a11d3701a2d71d0e86b188923efee0181ac635d284607996436772405b98c
MD5 5c641bca892e1e10e7e2ebbee8156f95
BLAKE2b-256 179bac054ad5ac369eb6a33a034514a4679d99e79ae36454d0c50a97e72be2fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 70f3c401d8ae67213fa8d73b86ce7a425d4764c1b4d90c71a1bcb68c61aa9e1c
MD5 0c48836ae5dfe0ddee2ad00f3426b4cd
BLAKE2b-256 602062b6afb41358bc4ac950cba989ee86b2b13b9b39c238ed60e3740c357127

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 1dbdc7a5c2e4391c4dc9863971f5af8931be07bc411de92a7d3be9b0865172b1
MD5 df4959a4a09e320b04759fe59c59d024
BLAKE2b-256 edabb712319bb6a03299635f0ab7cf021334853037fc785d87759a13e1715c6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 75406e8c2531337415401ef0212673037a73b468e03d3269cfbc9211b8e762b8
MD5 7e4524ee3d011ce757d036d55668fe49
BLAKE2b-256 9dab6027c04c78773b23f491a20ef6e324993e303bcd4a68bcf278541bb090b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c660fa215db3649b067a641a24c11294fb632fc9578f6d902b89569c52e7f0e
MD5 b3716f9b2fe8d528282a6a48d0963e46
BLAKE2b-256 b40def07716290cd296d529e87b34fb96744c6582823e74a09257f77e7fde6d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7c523077d2ba8445c978aa5de2f6e37dd29377c24923e1b8114d9caa9a2c6f2
MD5 4fc80db4f7570473b62b8a3a90964f92
BLAKE2b-256 63ae0fcd0858bbe78441fa6802d27dbf864f619cf5dc446eb842d437c087672f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062302-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7ec4477b37d4a91fd2ee17281aecdb167a0a24f24892bc9fc97e4c315e58a241
MD5 112056bc5dacfaa01185a3ef82f8ce81
BLAKE2b-256 51a6f88998cb8d4b19fb2cdd6e3b4a556fc54557a0d7da2786b47ccd4fece98c

See more details on using hashes here.

Provenance

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