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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ecc9140e88e389f8f045c1d0e695d9633aed9e4a16d7e078ef9fa13da49bac70
MD5 22c4c23c91c94c00603bac7a92175b69
BLAKE2b-256 9c9be87257c0db441c74a4cb16b88f271a1271b56a3288984a3a4f6d7a0c5b18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0805d350e2aa38cb86ea2b87a6af247f44bafcf29c6ee472a9a6bc563360b342
MD5 b511ce7e7b40da64e7738497b4dae522
BLAKE2b-256 d0ed8b1593d795050a6ebdf610e27ebafeb147383a5366448a5d9d9ee9bfb580

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 65c383312ce09ea5c5f36875c1a8045c1e7c49c6f328aa8fc115f205ed85f02c
MD5 9fe35bbbe5bdc59968336d75fa3e4306
BLAKE2b-256 9457b8ac4a1cd47aa6161c891c3232b92cfdf581d3f1a39e3074989e310fff46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e888e4cda22f4c6d2ea14fd344eb0cad3f6460e644d703abda04eb274fec3670
MD5 7853fa14ffb5db6a5f051faf2d1d293b
BLAKE2b-256 f40222634f0f0a065abf79c7b5acabd73dbb7c2ec2d7a84f188ed35f6d008585

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0629237c0b6df2c53679af4c9fa9319f354c6b140cffb25cfa8607694a723951
MD5 5795242cc9dcf561354bf6bee5d01b12
BLAKE2b-256 a9e99eabdf80cb72490b1b5b795c5ab04bc1931f87db1e36be5015825f778e05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc995e5877c0615c3db817afe6cdd07226ce33d05f428597debbdf7416600dd6
MD5 c628869ee748d07d4f9ce22448b02a16
BLAKE2b-256 cd78508079ab8288d4cb6d96695d4e0cc87f7ea83c74b796e610b61d204c9a6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3517f9fc7e4127fb786db1bceb33e34dd1a3b2a2faf67b93cbbd64f1d3c9b434
MD5 7840f5340e5c7901acfca15023ff54eb
BLAKE2b-256 5eb657be68db6e5434249bee56e1b52ef82c84ee29cd8320a60e48415c2b406d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062702-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c05d900938dc169ea0ef9ff850e8bc65cbb2dbcdc582e626c597d2e1199f3b65
MD5 1f7b39dd8a9fdac47c8e0b715e4b468c
BLAKE2b-256 e2fb2a5dc542d730654841306b9a202bc85f4656c3d4a88558d5f499fbb7bec5

See more details on using hashes here.

Provenance

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