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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060505-cp310-abi3-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060505-cp310-abi3-musllinux_1_1_x86_64.whl (6.4 MB view details)

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

baml_core-0.11.3.dev2026060505-cp310-abi3-musllinux_1_1_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060505-cp310-abi3-manylinux_2_24_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060505-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.2 MB view details)

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

baml_core-0.11.3.dev2026060505-cp310-abi3-macosx_11_0_arm64.whl (5.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060505-cp310-abi3-macosx_10_12_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 cfa2eeb82e92735ffbbf1d74db1eebb7ac30dc14902dfca5d965e57ff4bbb782
MD5 2ad9533094bb6555698d7c29efc617c1
BLAKE2b-256 cd53ae06e28008b459b8846f86c639269f3603d9b4950d714626371de42984b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7f30931acf5cf25cbc5eeaf8da20a3a4662dceeb215edfa38a8f2fcf63e36418
MD5 3f9f4981862b009425af4d3d56db6d83
BLAKE2b-256 ea0f0ec9a11b3b27c57df2aa264881fb1f4b8c07f10878d2ff04ce248d0ddb38

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 902b271c3b5291d8e1f69c9831e5b5d5f177cd9c3c1a531d1ae295e1f42496f6
MD5 54ab97100b9097d4fe75f646659a9d41
BLAKE2b-256 f5e2d02742a5cf59b032a16403501979c761701401f519ac03f87093e82bc84f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 67676b8eab7b6ddd9de89ca794b98b3d78f33fa23aafbb06efcc0bab7719bf43
MD5 adb028bf899de5efa0f9c247b03dd8fc
BLAKE2b-256 1f4dc9bfaa35126de1c08b312a97834e99e625e89337a5331a8535d289330b41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a62c1fc923798205c5380e0a2ae33ab5d4d62df7d641917c831c212e6e497cc0
MD5 93ac0547657f85231ea3eb2b23882316
BLAKE2b-256 1c66e805daea7d9c40658d020c49e8d90adb5f4c6b42dc5d2010f9e767ded51a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 94ef3c53b935cffdcb1a29ae776b8a69c60db582a554e41158e3ee438eed41ea
MD5 2907a8eb35a0e39595d69eed91c80e37
BLAKE2b-256 8c7a3c85ad5ed70653d3fd4f1c2dea9a68a7a0e7935a422e67df58d58fb1e91d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4791e6bd840ff2ad010a527c80bd11ab173e2d0b1bf748c7b483716ca99a6db6
MD5 5ab63a83c2174760afcf7e975f285937
BLAKE2b-256 2ecf63aff0238ff5e31c746333d43a92c3d647422263de19adc969bb0cd22325

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060505-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8698e82df85ce3c79b3a02e5d9dadf6c76230a08dd501aae30818e1098d3692f
MD5 b1b9bc08023a43eaaf639e84d36cffb6
BLAKE2b-256 394044acad9b7601db42140b7d21b5054f17a9a9981982162e30466925deb1e5

See more details on using hashes here.

Provenance

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