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.11.3.dev2026060500-cp310-abi3-win_arm64.whl (4.9 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060500-cp310-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060500-cp310-abi3-musllinux_1_1_x86_64.whl (6.1 MB view details)

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

baml_core-0.11.3.dev2026060500-cp310-abi3-musllinux_1_1_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060500-cp310-abi3-manylinux_2_24_aarch64.whl (5.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

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

baml_core-0.11.3.dev2026060500-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060500-cp310-abi3-macosx_10_12_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.3.dev2026060500-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3a9f50d5400f1d419151267979ae18d6f6313e33bd98be73d601b2f1c0d1d128
MD5 3b82818377e9e67eb0827552fbf14055
BLAKE2b-256 6b5d365e39b00a1f060defbd7a751a30dba6a76411ca381eafb91898a0d1b4ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6e764161e14695a3697dbf419c5eed30724ac17d3c45e6c7667ab5d105b81fa8
MD5 8efba06bced7ed15cd56e22462a86452
BLAKE2b-256 cb08516b7c8226aa244c318e26fa442bf3f2eba0542ede7423616702ecdd7224

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5724ce0d2483ba1451d1f8ff89beb7276783d2e7c30fa2a2e111281451c682da
MD5 449c2c09a54610a34f64f50265ae2457
BLAKE2b-256 d5ff6b19e1798b29e5700de11854c3a9a6313596c2736b2702ce17f1ff2e2ac9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 502867b8d35372a75d989e69d8980211674552bc0596ac025c59e67bb6fd51f4
MD5 672f10601a1a417dc451e033bf20cd8a
BLAKE2b-256 fecfd5bba12f24232088e44437dfa6885b685e5085b628da62cbcae497e3931f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 67dfcba0b6deec215453d0ef0c6fd55082dcf0fbb001397a04693ea8c41ffe13
MD5 2eb7e41f9882920ed12153c66a3e7f6a
BLAKE2b-256 dea75af82f3716ec9c69e5609a872731fa1a8b6d8a4eaf4d1a7a46739f61d2f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aa28aee3b902caa86b0142e4c6dc5edd1c47d9987473064d99a7baf45edf6e07
MD5 1237c68d6c307da8d073406f5520931c
BLAKE2b-256 eb46359722c3733486eceed29e3edb8740425a3faf97e9eac24a90c740f2f5b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 164706e5f27ba3feae060e4f4a443408d7c701eb100a79a7f400bd550ac56975
MD5 1e662660a54e045c94031fdc18dc6eed
BLAKE2b-256 6ea01961c6485d5ddddd371d8960af7227718d03eb15e45d5b44a8e22212d89f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060500-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4fd71f5118d34d21222ee7d9dc73d6997a26227c5b2c5b09f304958ed37b3ae6
MD5 67c305fe3504a45e9a5e5f9dc22c96a1
BLAKE2b-256 f554415893d961aa79a2636a2e03f5170a3291baee6d71fc09e4751bba75d9fd

See more details on using hashes here.

Provenance

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