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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062605-cp310-abi3-win_amd64.whl (8.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

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

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 2bb6c264fd4b6462ef2842e9443e76d90b57c26cd7c15a2668ea6b64168af31a
MD5 ec183276d9e7d693e11402b4755af12e
BLAKE2b-256 a7e0101b3f77ba5655ac542b89430ffbb4e863b3b35ff4fec7c2a5a9ec21f6d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e51c4e1e2e044650f40536a5086bdf6078f4a707174f9b6df13478fcfabc7d32
MD5 1e92526ee2889ba8c2f388b55c51f5a2
BLAKE2b-256 a3fc3cecd7f259d41983ad7f734aa60da2cdbc7b60d1e4a67b838e84e3bda6c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 eac0649f499209dc527b2394933781d723260c2ce3cf7b06438a2ce8ed76caf6
MD5 1f40ef488fa40c07af8bdbce75424603
BLAKE2b-256 55f54b64d998686e75d6a151ba447837be656fe1e4283762d5172c9294edb507

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9300e015995b6063c37f34890993486ff52d7a1a046d7a9a2d02c44ccbad48ae
MD5 ad24f1ae67c1abe46015ac989ecb294a
BLAKE2b-256 4ca72c8b56d709378346d52a7db2fa70b29acd0642da0f802a790df6be291cca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 50aa230e1778b073269fb120603afc99fba6668caf12eff8818d80001fd8e629
MD5 a80f48b4347b69f17e136e9ffc4f6e82
BLAKE2b-256 afa398d73baa51b8b7f439d20e4931cc224e9f207d09f683ba7ef3e6f090205a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afd0fabfb63a163af33a96ba2241a6767b150a7d5d476a513f746c34ad9e26f4
MD5 aea309ed0d297776d4261ed17bbeca0e
BLAKE2b-256 ccbc8405e0a84a7094b1d6c7408a21bff9d9d64163f7063bf275b3b6459e9840

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3cdf297dd4b31931fe89f8e8851f1681731b532e4fa185889a136d485df168e5
MD5 998c7ed3fed597c2278065bb3aeaed0a
BLAKE2b-256 6b1c8c3235043c3ef6386d362efc1d7a5a0cbd1915229f9718f81fc7e7086011

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062605-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 94ddfd74a7be73e8570b4f560808b5480929a6d4598e4f144cfb9695bdf8b0f4
MD5 8a4725630b22e7e599cf9a1af0c5bff9
BLAKE2b-256 65cf337fb6329fb5927036321416237877d59f9abb28a51889f936008350e0d4

See more details on using hashes here.

Provenance

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