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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.1.dev2026060400-cp310-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.1.dev2026060400-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.1.dev2026060400-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.1.dev2026060400-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.1.dev2026060400-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.1.dev2026060400-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.1.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.1.dev2026060400-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 10de2381c8f834c5b06597ccef9faa8524da36c9a4b05e0d4851a47304c4fd43
MD5 263b80c695ee920843a665940614ddbc
BLAKE2b-256 23b10bf8294a91bca1b0f34ca8af63d8f7847355cb854aeed8bca0fda88e882b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 306ee0fc7d13f7661586fe7ad607a03a2d6f281c8fa14d5d09adee71b2dc0486
MD5 4a206a348b6ac9a7b722784e999edd3d
BLAKE2b-256 2a253443adb120fa063feb2637989ca72dfe3de97bd0a1a957322e20a525a707

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 dd347a387cdddbaf689b5cb2901c73f37eb77949f367530b5ce84c80ce343bb5
MD5 1362762a49c00db3e01c6e32d919423c
BLAKE2b-256 18942ddc3920405b0329a519c860a56a1f0593a483518b36800c2e9dcc4326a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 65338fb6669ac9ce6b80d82726daba6acbea4db4b0a4854c59637721ab4a7583
MD5 b0d308511e0e8665a36251c05f16726a
BLAKE2b-256 3e983bc0a44ae756d7dd8bf087d23fc26191f1b3d6a4a85f6ab4c88bdddc10d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a6b7203cd62bf3856b870efc991857b87f848d1b98e6de5440ceb21345f05aee
MD5 e946b085630e49d93f7c40874b9a5aea
BLAKE2b-256 db8c46f1d5532eaa78ba6d5c5be5ea1b80c49908996ffbdc93d7ea923812c166

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d1cc5cd16aa7c5a2b6d8703a1a08a7b3badc0913431a7bfd4ba64e17de7602d
MD5 c421d4b1081c1e44176468d8e204089c
BLAKE2b-256 e5f852ab2ce926b406dfe4c4ec7a28b594f0c2fcc660687487230d36dcfc1e95

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 676e5b61a94d7bafc9fbf336089fba90dfcb77a1b23a6105636b7d81bdfc24e9
MD5 7ba9e84bd314aa12fa6ff390361edd5c
BLAKE2b-256 add5b85c6e9019f80a536a491d38e4377a04bf447d4636bca9c08567e82863fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7c7331386680fd8191ae58a7f12f2395a1206175592203f37977ced333e57fb3
MD5 7d4ecea96d34cdcd744be133d7f43005
BLAKE2b-256 0259c4119bb7c8f186b52a92e5dd0bdad3549e9d19de896226a06c311b8c9fca

See more details on using hashes here.

Provenance

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