Skip to main content

BAML python bindings (new system, bex_engine)

Project description

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

Project details


Release history Release notifications | RSS feed

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.1.dev2026061102-cp310-abi3-win_arm64.whl (5.7 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.1.dev2026061102-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.1.dev2026061102-cp310-abi3-musllinux_1_1_x86_64.whl (6.9 MB view details)

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

baml_core-0.12.1.dev2026061102-cp310-abi3-musllinux_1_1_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.1.dev2026061102-cp310-abi3-manylinux_2_24_aarch64.whl (6.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.1.dev2026061102-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view details)

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

baml_core-0.12.1.dev2026061102-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.1.dev2026061102-cp310-abi3-macosx_10_12_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.12.1.dev2026061102-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 c23fd3fdb2f552dfee798b9b528455c1ce3a0601455eca4a27aa40f3343d9643
MD5 2ff265f0777ffcf58b4fa6b95be0e7ac
BLAKE2b-256 3d5576d8c52dc5835dca7d0191761686f6eb05636ae053595852d31ea5044328

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 96fe7f45dfc5af6fabc999579ac2d5d7cc4aa0b75177a1696a75f149c0b3fe8e
MD5 3e487aca7a3415bfb109ed05a75d6c41
BLAKE2b-256 1a48afd55cc178f5031337c0a8448b53a51bf945017af90a428593ee77496b2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4aa571fc40f308b63a0b7ceb961d8b6cfaabfc3b8717468b769888d0e7bb1be7
MD5 c8ab8cbf90976ed18230c4cdee3dcbf3
BLAKE2b-256 e555861a58eea4861d621d6609c4747205ab258971a12c8c2e651f689ae973ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e536d53291f8e57e2376821042b4d2bd01d93841040a18e60610114102e99e00
MD5 97097f66fa2c61a12fed2a37b99aa551
BLAKE2b-256 0d0dca602164f71c177118a2a78945030fb7b8cd6a007974f805165d600a6ce8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 cb8dae91f2d26802bd17cdaea717588e22d1f9b70414948501bb46f736deb379
MD5 a9804ec58556cc0503fea2d961464222
BLAKE2b-256 5f6f5e5c0bc5d38dcd30d14b39de4775c4b6ec12a96c7ca1be4a7f7acc0737db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 040ccfdf1b2c74721aa939fd6318764eee537612a260faa0e8b83fe2c5d38bd7
MD5 5dc9b006bc657fb7815c1e03050f826b
BLAKE2b-256 909edacf1e358730383467a1ef837ce4a76045b44eb789d7211daa41f0d22b71

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 087079894f6ff4880f58196f4adbe2b62fa0680315c02e82d805b6eef4b76c99
MD5 8a547d8c499ffe51fed635b5ac8dd996
BLAKE2b-256 8fcc0e9d27554477dcda3a53fc35b794a12777b0735b4b5d9a64a6970a50c07c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061102-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d8912feb1aa132d29f6535b14ef1cd9d897723c69689890218422d04f4d3d465
MD5 b97177e2af5f137d8417aa4091642fe7
BLAKE2b-256 e7937603eef80a685b7e998ae4f6b965ae4def697d67fa48cda3e839cc469c09

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page