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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026062904-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026062904-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_core-0.13.1.dev2026062904-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.13.1.dev2026062904-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.13.1.dev2026062904-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.13.1.dev2026062904-cp310-abi3-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.13.1.dev2026062904-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.13.1.dev2026062904-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3e8b90782b53bad02a17db2afb6f4798d99a47f1e6e3ba6831fa9a2d7f76c0b7
MD5 d1220def37fc540b500215a2f52338a8
BLAKE2b-256 7d731e980cd37311e3d06e849e0f3fe09b063d4f9bb8598ad543892cae3661ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7dde2052a5ca5af7465a34b8d313691beeee4f0d7cb7ba4493266b15dad39ff4
MD5 c733107ed9e6f119b1b50690aba5545b
BLAKE2b-256 4fde03953ac68bcac48a2938f277ed989ae219ef6145895a289ccbd05cf29a02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d2b596a76d901f795e2321632b685779c0bb54e02a38bc495d265f4f420a0ef4
MD5 49c199e6be6a7915aaaf8b62065c2ac1
BLAKE2b-256 6308dfad13ffc1dee128e21596f264bbe137f9633b868974b643237907a04044

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 cdbc18ea10d979d7394fbd5790b9cc7fe1b076863003cd4b9bf73d970400c2a6
MD5 63884503979f96bfa90c352ddf09d9ac
BLAKE2b-256 920dbf5517531359256ec44a138becce390bb0e5478b4f923b7ed0c9c507565f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 34377b55081b88288aeba4de80a111137a5a326d4d976db453acddbe5056fa6b
MD5 cd7c31f51d5e266d5b77effd5d8cd7ce
BLAKE2b-256 a2519a312a2dc472f5e5c0ae052eef2c70014c1c32ef74eb1644d79f35d5e7ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f760a0c41cc40bf48943af000e083bc478063f702350d114a26a6161a1d565ff
MD5 8ce7dd7fad372f142e7a3efa6defcde5
BLAKE2b-256 021eb5130fe12fad1910eb521522768cc397cd3666e7fbbc02d517220d4a973e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 833d1363bac153af63447772d9543eb60ff036e21bf8aaf682ab2fc3906e6bad
MD5 733a9eb5481cd9827b7fa0491ab5e7ac
BLAKE2b-256 e33f97268784240144a1b7bfe3a8240ba78d8bfc63177bc06ab3600e47af84ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026062904-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 65ec4861a2d63209a98424f85a71cff625cfc4ff286875b783770763bc905650
MD5 67968f9a4a89c6d32b12fcc525b0b312
BLAKE2b-256 4732c06c7fe4b92c0924e097f144579963e06366b851311d1d0b7204594c20de

See more details on using hashes here.

Provenance

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

This release

0.13.1.dev2026062904 This release

8 files

0.13.0

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