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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060901-cp310-abi3-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060901-cp310-abi3-musllinux_1_1_x86_64.whl (6.5 MB view details)

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

baml_core-0.11.3.dev2026060901-cp310-abi3-musllinux_1_1_aarch64.whl (6.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060901-cp310-abi3-manylinux_2_24_aarch64.whl (5.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060901-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

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

baml_core-0.11.3.dev2026060901-cp310-abi3-macosx_11_0_arm64.whl (5.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060901-cp310-abi3-macosx_10_12_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0ae1c81ebfa448e6f0955356832d83e198a12f39e8dd95f1b930189021b1e253
MD5 ee4e35ff6a69ddcb1f726fef97aa0681
BLAKE2b-256 f5d5aa867f81ae3356fb6a263abcf58060061bdcd1968934a71599f7014398fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9a1c6888aae6f3cda1ea74838e55cd18710ecf4bbdef673aaa5595c57d9b0c54
MD5 bceb2d1145cfb6176b5ed25c9fb7dffb
BLAKE2b-256 d2816bf0fdcf5e00ce6de4ca4634147a8b4350b5b8bc99ba7d77a2b140cfe267

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 bd098ebceacb9ff982f3287bd1b748a9c50cc7325e286200a00cb81ee1e7c42c
MD5 f3f77ebf4a86d44654db20c05458b4bd
BLAKE2b-256 5bba4e57e875cb6aea689938a1515f5eef894f89152598cbd8a169a03fbb7079

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 13ea892a98fcab6cab3590623a6586dd9f7c11b6b2704648dc1aeacff7c00387
MD5 9521409fd536f172fcf8210d5a15c906
BLAKE2b-256 33e729e1de3fc64e5d581f789c1e4e38c12a70b7487ffb6c49765772eb7b841b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5d190471c23ab8ce346ee5c46e55b9adc84d9fc0e22f7100409ecf774f8796c1
MD5 cc83340a1a18008054b99b1857c4ed0e
BLAKE2b-256 4b6e233c900f5377f90b6b7ed79536f075152d699c15248a10aad8a225c548d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 389e71578779ea64ecf8326277c4830caf77fb6ce1ab6c32d629b68feeb484fe
MD5 bd9160c3b5f37f3327078534873fbeb3
BLAKE2b-256 b3157c593bd1f4441522035ae6702ebfc67e72e0ab7fefcc5e0dfe412c3546d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ba66e70147df5824b428b23d250cc1662bc9b8b7086e72a3ae4ed35a3d44aa59
MD5 bdbe5aadb2e9599bda8efd0d1a4aab1d
BLAKE2b-256 872b0a379fd6e899b53f0416ff4b3849a3b5964756efe84d0a1cfa9200f340e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060901-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c288cd05d217483bb23e881422075512c9c1e4f0d2ce79a355d2a2b64445175c
MD5 93d4c262c7d8d3c6b7e11c2035e9fedf
BLAKE2b-256 6aba6244c458268989f0a70a38b4d6e5219008415a66974fccad20c237f0ddbc

See more details on using hashes here.

Provenance

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