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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 8a9891cc5462565ffdfe38325a663d86bf86a3f4abc5b52f4243ecf10b6810a5
MD5 2ed455bb4f370e4974a1b1f85c220479
BLAKE2b-256 06fc34ef2bfa8e42ebda369677bebc3ccc5d1e4def1fc2554a30ab7ab0b722c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6dfd5121b65b2b1ae3ea89e21bca18f555a64c119d18ac30f6d83656d7945aad
MD5 463acb4b1acbbfdbe94eef1d83231415
BLAKE2b-256 ed63386942dd5bd51392dbf8cb43dc35d5c6dea02c238020e5230c4bfa3dc1a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f7f6b04f23d3f1d619f4fab32a02fa230aad237e260a7e8e9e6be869e8c984ba
MD5 9863657bd948026ff3c484f81cb14e98
BLAKE2b-256 6ea5671b23546775a5cd357f0b39d7793ab1ea9b08ffacebf33971c1dc11fc4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 abe4a7d409438b99725a1616799cec663598b772e478fe56dd7375fe10b91dbd
MD5 f9857ffe6ee34fab458721a3ecf636fa
BLAKE2b-256 72b5b8a65770c85fb747aea1b1caf9adddf92ad94032f9e848f440c39a489777

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 10b3e524be9115d028e0e6b12b581c0ed1ec65b94fc40943e4dd9b81d0998f97
MD5 b7b6145eb9cbd77c630b7e7cad41b8b7
BLAKE2b-256 7883baca0e197927357b7909b27541057dd787fcc0e8966fc9faf6478e0f9f75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 10845f952c397b81e3a3b02be6afc7923c31f06ae7909a901c078bad7f190f7b
MD5 1c74e26206a5d89836bcd38e7480c346
BLAKE2b-256 6a8e8a8500207119912df7cab71dbced3a86a89354929354c553d46ab3656177

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 801b1c85d46d4debcacd10582182825fa44ec74066da7b67e524db1983642adb
MD5 dbb037e3d8a741077aebaa0a98bc120d
BLAKE2b-256 ab8907292cd293ee58ed75c5313b421c39fdc2c7f2cf77f4390630ac34250be7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062501-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0053e8af26ce9c2cfed7d457ee1cf45ad92dfac7f72dbe3639ca0ac1b192ccb5
MD5 cee90d468f3a6ed26708de7c2fa2d2bd
BLAKE2b-256 45d644f6d2aef398a0e1680654d4d28dd19b7a9fc5a41100de671d65e716c831

See more details on using hashes here.

Provenance

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