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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 49af567b12d58820a82525615802dbd531d06c7f4af8667efaa3d76edf686855
MD5 5c23574aa07b0e2bbd1b1cbfe82a7ac4
BLAKE2b-256 a7fd12fb4a4da8a1d2f695f83ad93ce8ec2ac6ef273c741342cc0bed0d8625dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c789c39b0435becb27f0dc58b54c179e7cc78c38fd97f7bbe56b442398286246
MD5 365db74e31467663c751f3fcc290617a
BLAKE2b-256 b3cade87633db760c1ce00ef49829db8c8e8e40e2d8fe9292715e96ca61d8c3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ab2a82c5dfab71381ce949f741faf31474bc4a33876ec5776b89a785dd7eaf54
MD5 5c05db424accdba5659d5e73e9961274
BLAKE2b-256 0d85eba3dbe69972d77bca8e84f8e133fc18317ecbf2ff8fc3b8e4fabab8f4c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6ccff76dc9b2ce33abed6979ebfc3fae8502251e3018c35d30cffae90376d353
MD5 03cf6808176dbaac00de9b1e3432a7a9
BLAKE2b-256 6d9c899eb17f9c1c554be6538cb0877859e1341612fe0e9aa4616b1f7c787c64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 2efd84697672c8ebe3645d6bba93b91c4c91614be75653b3c3aada846066e9c4
MD5 5cf4c9bd782cacac614df8dff48e439d
BLAKE2b-256 beaccd0b18b48286f64b4d0a8639f869073158f368407c5da99acd11da30b576

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f18df4e71a5cb50e729a8e8f29d09178245e7f63eb789139b04bf4bf62d38b55
MD5 013fc7f417dbbe69823174418e3d1cfc
BLAKE2b-256 60301697ee393b26e99a920b445de01660f1f1dba87ba627e5b5b46aa7bf510f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f5517ccdf2c1429b0fc77038689cb387a1e16e7d11c61d7503274a77725c759b
MD5 cd324c48c888e7c64eec0d953bc2137d
BLAKE2b-256 3d1beb4c7d686499089c6ff0bd46c876dfa70cb823d8e3a1cf9ce84b887c069d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062500-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 42741435577be218834f87b7cad08fbc6a37c4ffff538cab376713fe2f1cd4ad
MD5 66c6eecc4f56d384e5ffbb477f3a95e7
BLAKE2b-256 0b2df77a7346b7fde8917f070dc69d771baa45c81d21fbcb78a15e1d9e101ab8

See more details on using hashes here.

Provenance

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