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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060504-cp310-abi3-musllinux_1_1_x86_64.whl (6.2 MB view details)

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

baml_core-0.11.3.dev2026060504-cp310-abi3-musllinux_1_1_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060504-cp310-abi3-manylinux_2_24_aarch64.whl (5.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060504-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.dev2026060504-cp310-abi3-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 c34677e6d145bde32bf0e714ce56f362ff6447b17d861a288a4b754f43aeae93
MD5 8913ddbba971a17dc4b4039228e6cf07
BLAKE2b-256 b932ea650dd77e47d6ce82742119cfd2e9e401504fb8666ba6920fa057e55e81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6093ee89231928a22311f7244f23fe012f1db9511f6c12d420e5973da4e3c111
MD5 1fcbefeeb858b40eb45b6d0131927156
BLAKE2b-256 d7b292219938fb75bec06b23b05f4b8c1dab07957495c495e6aee8675e53db4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6a38ae05f42c6036a1aa434ef9e78a6256d7610f6e353a2d5521476856bc6ec4
MD5 9b36fd8baa660686e208158b9def0d6d
BLAKE2b-256 502caa0f4e44db3f89b3884950a7642c3108c607613c6810365960ecf0cd6fff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 48ddac0925246d9e8800396fe06f90370dabc14d087ca2119f1d8d2a5417ef96
MD5 b4da20b04eb8951636111cd8d88b4d04
BLAKE2b-256 c63c7e02230ab506da3000d17e7e156060f57ca17a92690b9d0cd0493f8fc6ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 1d483ea4dad9250f0397dc3912f79274f904a7f241160a47d66cc970e76c1e73
MD5 bef0687225c51cf3018ad41f2329f296
BLAKE2b-256 ab8c1b8e19b3be7fcaa967e8aef8b9f0f430d6d641643fd5aa261dbb7c05c79d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3add48351cfa9dc04884187a8d0c8b2a41d4623551f84f405a5fc20827a77f6a
MD5 45374421d3ff530ad74bf343e2c3301f
BLAKE2b-256 664dffdab506bc230e81b905d566de3899060337dab2b859478a4d0b0630bc17

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ab20d2bdee9a82f90b46331c78cef9875f85e49076e83492999212c6a0de36fa
MD5 eb7d2a74f3b47093a3c146584d26d879
BLAKE2b-256 c0ec054ed4ebcf5206ee055f9c3997e7939e9b86a76e819b7768235dfdc958bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060504-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fff484029db16639b76c78fde8a4a081e27035669920c018065500fb1be4432c
MD5 bd07165cab341ea31a6c271d1c1a9e59
BLAKE2b-256 e431b574770cdc7eeffdf40bfa9c43e4d3a7be25873a1cb9141ee9278dce278d

See more details on using hashes here.

Provenance

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