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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.1.dev2026060402-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.dev2026060402-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.dev2026060402-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.dev2026060402-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.dev2026060402-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.dev2026060402-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.1.dev2026060402-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 650eddb119c2480f5544756c67f4ffabaa2f2c42a2bfc45b85ee832ace506c46
MD5 670c56435c7785266954fe01febf74b5
BLAKE2b-256 708d24ee59988f60ab1801807d5cf91c3cd7efcf0277adf999b47ae4b7253bf6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 28e2b1ff4855d06cd2d45690d43805f630ba6e4597dd7cc15d4fc1c7e8e32d2f
MD5 49c171ac05940013da2ee0f30a7f52cc
BLAKE2b-256 e6590699e35d8e1038ffb0a3b3b90f6b210f56ccfafe02c87eaf2ea6a165866e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 bc3ceaf1ff9557c92bce2d1eb69cd25c49e6f172a761bb1a24af855eb379ebe8
MD5 351b9e46bdad9067ad91dfbeab3e3918
BLAKE2b-256 ca238e183d4cfe0a27020e6c11322ab9938f6a20fae52782e8e8013333b5ca7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 d0efc824fc36e09b5550a00cf2f65aef3ed78582b893b37f4d0cbb4bea065e7a
MD5 9cf752cd1bdb9a1e1783df25b9c57994
BLAKE2b-256 01b0fd1aeb27cf1da3a9b79870c65282d34c1087a8f9e8d4d10cc11e05efe779

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 8c98200776a4a2915a3284eca0271c6ae99597b1cdafeb0fd36077420d9fe47a
MD5 63e7d7ca676e1b927146a5f1aeba870d
BLAKE2b-256 b0ad18e8ae896888e6e626f6687cd398bb5bff878f076a52ddf0f79b93b40a81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 792c5f530725291bfacb3929d34ba7527ef12386071eaaff80ed8b3398b0cd80
MD5 388067839fcd6aef8bc1258c4b0b82be
BLAKE2b-256 9e574b72d467a1dc0a3c7f970681bb4c45cf0a383414de762de223b25049827e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c480190792e835b49062740138499f28b09e760473e5674adf49dbaec081ab10
MD5 8bd95415fb95a9655587940e918b649b
BLAKE2b-256 fc0036d540eebdd4f577722e591a7206043ea23b5dd5428f072747f246f88eb9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060402-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0a8448b211ec402872ed92509b8697c70ea9e6a0be8eb8d4a06fad34962eecd9
MD5 b48f9212d31e03099c8beea4d202fac7
BLAKE2b-256 26ca2116c8aa19486b9352c3df5eca5a2d702fe439fe8985ba213b566d60c7d8

See more details on using hashes here.

Provenance

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