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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060601-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.dev2026060601-cp310-abi3-musllinux_1_1_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 c224f66c34817e3753d657a25f6130d12f6f8fa5cc2660482b9d0c0b76366fe4
MD5 dec1480990726099e38dd54bd1ad7b61
BLAKE2b-256 2e49e80731f4ce6a0e608372847fbf237a2dee9ee92e7cd473cc37395956c99d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dfc43ad62f981cc24b1fcfc31b800dcc7d34b526b6433c0484b4e44a77261df8
MD5 a10f7d131c0a3bf7082c2c09d4c9d8ba
BLAKE2b-256 d44a4110a1b70061d817198d9b72b35740788ca03b9a92334ec5e3d2c1302da5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 cb3e84bad823930f4b4ad26d4cec605a096a314f6c0ba35de12193e84cce5182
MD5 65c00aa519c0b7e308da84a654774a16
BLAKE2b-256 27de18ab86c746127df807e2c73d4132da655e43e8e4d1ccf588c43e631c342b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 052e1b2e4f38a58084a8749e9a1889f7550cf711006ff860ed07ebaa87c92091
MD5 f08d10f864f5d2b2677c875f909d66ee
BLAKE2b-256 060e9f98411487d242b8424c45b39f6494db995559fda72a949fd54049787edb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 caa37514500f95a542e5bc7c06655ac2838ed4f71b071e63f3906aedf48518bc
MD5 8e0be7b4e9ec750366159d8e3e72ea24
BLAKE2b-256 822a31856d00297a0649b845b3b062f99f6092e15dff5056f54f1dc5df3199eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f64d0e0df8f06c2ebbc28cfa3266581b461204db83aa5f82883849a86804bac
MD5 bcdeff4859f51cd17d36620f591e3218
BLAKE2b-256 5092e4e319eee9b73ae076a7a7659aea6e849ec11f5d8ed61d000c83a73aa9d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4eb86e10704549980732c74ff883f8c2485886a34685fa6c460e63e1fdae0fd3
MD5 de612332aafe8e6960cd5e3b8e58e612
BLAKE2b-256 f5dad38775034399701756bccdd9939295cdbb23a53b9b0a95886c663e7cfec5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060601-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e4944a5144ea2ace506ee6f3659406e49645c9e6052b6e0834ea30fad075b533
MD5 33278b256f764cc0552bb19f1b17706a
BLAKE2b-256 67fcf57c5c04c0487bf9a172938a104b2218bfa0cdd7f7e881850d6c35948a8e

See more details on using hashes here.

Provenance

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