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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3979721a29ce7ab9452181dee8732e0c6b3bc832425d3b7fcc204ca033ab59f8
MD5 3c784038a6746ee13113bd11cc4be17b
BLAKE2b-256 e9411c7a6bfdd1f6a62c95c612a263b9aa54e8d9fccce54b8147880af0a33c6d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ac343c4f2bf52b4712ab3777a633e445d3e666a93069273356e3e3d3743e8300
MD5 23fc5e30be3480a984cf62d6be68e66d
BLAKE2b-256 6d9750abffcb46ff66938608206bdd9472240a4e691454aaf5d44435b124b90a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 aa13cb41579697658e80075f574af0fe0f2379735a8c978f5b26cef84f18bbc8
MD5 f626fbd3bc9ed22d7b115c5658544ab0
BLAKE2b-256 20275c7e9c62a487cb82b059d93fa22c9c3848fc9f9a422b040fdddf35b13a61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c1edef4c2b1e39411219ffc1039b71f8677310b926cfa95ab6faa471610e4cc8
MD5 23ba6d0fded3f1c054fb6ba4a6c604b2
BLAKE2b-256 01b71d80efea77893c6ac4457c4c9351edf0cfad3da766ed53ae7f69e09627ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 607745e43e6a1482d851f8f286d19ceb71ad4c4c7bb9029557eb4c1024b41d15
MD5 1bd1715f011b7f10e71963f1dbe3b123
BLAKE2b-256 0c56392cfeff1cafd81637b0409235aa3c66d9985b38ce742db5a5aca4d2db81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4239d0d3024970f62bc14b3d448206d0ef5447d8861122c3d3988c706ea6e83f
MD5 b2e78b938e033bfb20a4dfb737d2d8c9
BLAKE2b-256 5227176b594ed39980183f0eddbea70b560673bdadb374ffc60591cacba3b877

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3eb5de79b84fe42be5667808c09ab96b8458b7655d0342c7c13b063e57e33cfb
MD5 93ea9403a579112871dddd253e1dbe81
BLAKE2b-256 3f0464c4f0f739c937d9d2fb66c29f7c084249d71435ad58151c1d53239c09db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061904-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c8c2e91aaad63d9817e261033508d8db304b07fdc4bcbab6aa7b623841e56ba0
MD5 7dd4586a11ad005bee2cab6bfeb46485
BLAKE2b-256 d1a72d896e10d417242485372563f390a3ae5fb6e2fb86f056eeb3f948c37735

See more details on using hashes here.

Provenance

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