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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060800-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.dev2026060800-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.dev2026060800-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.dev2026060800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

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

baml_core-0.11.3.dev2026060800-cp310-abi3-macosx_11_0_arm64.whl (5.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060800-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.dev2026060800-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 178933cb3716cc43aa9c198b997fcb62aa9c01fd86f9fdbfd039368933ab5fc3
MD5 89e3e62e1857bdbc44432e0d1de5096e
BLAKE2b-256 5c09cb7a1886f4d632e8638f2331687a0aaa8edff9bda48f1f8016f2b19a021c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fd284c0c9fd4fd3bf97ec94d76c5ccce1464e399008202478f83360af8df4f1b
MD5 dbce5697de9f4dd0cc1d45e497e25d2d
BLAKE2b-256 6c0d1aa4dac5b8e65040e50ee0dd67ef165d0032f3ff359f11d13d9ad5bda27e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a716f9a397bcd16d8e80bfd60f1566ca80d8d910fc9d484326eb4d60f4b1bdce
MD5 1de59684ef722d5e547ed117254d38a8
BLAKE2b-256 0e50549fd5cf48f7df468f6a96acc3b2c8d15115101bd2eee5de1d9840e2e716

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 dd2e4cc4360a32b2e5d356dda56513bc8a1d101be4b7bea407b845202dc67ea0
MD5 a4918a9b363b007e4ee818c3a74cf48c
BLAKE2b-256 82381af7188c362d60b3a627aa222ff22f90200fbe0d846256af6f1ce55a851e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e81ed0c692bd75e6f543f794e8a66f4b5e96668681660821dee5cc316890b139
MD5 285e5981a501db860d880b7317a02041
BLAKE2b-256 da74c739823556c1c1d21fde9433327860544759284dabefae2b774b05751955

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 317d1b462980dfd01f73268c8605de9bb5bcca1fd023c98759e2796305493338
MD5 5d0efc03afecd77b4b14eb1e58f4a340
BLAKE2b-256 f79b9c8dcd399dc7dfae449accb9645ad24c91c319e926096be70951f2b35be1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8993c777fe5fa7ba0ff4d30e3996955caf0388d6918c2d7be37f11cd590325fc
MD5 1e25972a68e8d200dbac8906ac45b2b4
BLAKE2b-256 5c663f6ef18c68f9a55f3847aa3541632ed128ddb9988f47ecff9964eab83026

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060800-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 dfbb7c3ea85d00f8df0bb56f21f48a9ae5e7a804983d29c9f97c8d1e4bfe482b
MD5 70a76478abcdf124b0c4350eb439a652
BLAKE2b-256 f8f1aaa71d221b02b273a53ed071bb61755c09aeee4de5d1b76ff1708f9f8af7

See more details on using hashes here.

Provenance

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