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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062709-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.dev2026062709-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062709-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

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

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.12.2.dev2026062709-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 bce8bb55d1b40754fe4ad46dd4ca779165e8ecfc2e1acefc6c8dc21890a0a543
MD5 4267dfc7799ff14ba6e2258777658f7f
BLAKE2b-256 f99c982c6d6cdd2616a500f74b45f0c527ec24dd93db69100b17f23759427ea2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d744993074f7847f286fc07503421ddeda4879ddb58cfc20b01b059b8806f7cf
MD5 7a5200c2d772a144aff55c9dbf2cb14c
BLAKE2b-256 abea73a748c68a3ccf536b0a56b0d66fb0c35b37039ab8eaa4495e75e13d38b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e994077b0a4f5af30708c51621fc25faa37e495b0ee1c3833d1f87dfae7ebdbc
MD5 5a939677e695a0bee1aa799cda906720
BLAKE2b-256 552f30f13262aad05c491e4cf8c783990ab36ea7b220cd6d4bfcab4505a00de5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b2e617331f8a3ba16aa68d8e8b4473752609d5c7a7b9b483b7b57c011c8aad1a
MD5 775ed0daa2ec71f980f22b367bb20ea9
BLAKE2b-256 727923300572d900ed4760bcf0b281eb43ee6522d7960d319eec50a1ddf02944

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 601b8e8ea68e1dc1be1ada172462ce7992007205b2eb23632f63543fb23f0666
MD5 74c363bb6413e2d0de645d1d0ad796d6
BLAKE2b-256 a1fbf4f6b81b6e62d759f868c4f7146d3a941ba59856c2ebb8a089352edfadfb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65bea27bebbff836d9aec96b0fd8ec8cdc1cd6ca2b6f8e2df117749e34fc5c76
MD5 a3c61f29263fb296a9c40f548be44c29
BLAKE2b-256 e4417711c1457321853769a60a4114e97a90d7fe12fe78b98eb755e6bdac096d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 20dfd82b42e58347098c3843c6087a038e8559d271fb9f6a4f9336acf1957e72
MD5 c68014e47068132023a2f2596691a7dd
BLAKE2b-256 b07f6af486186f82d1f68487f39e1a0def50593c7a2913b872a0bc2adf605c07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062709-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 68d077da881a67ad17049588df72b6d6c3a663ee1163cc7d8752ec73593bb69b
MD5 914ae507deef287f1a35bcde83a64a87
BLAKE2b-256 3df786a50d9961a3e1d5316d570b2eff37b8d33757719d9814d50b9089968964

See more details on using hashes here.

Provenance

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