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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060801-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.dev2026060801-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.dev2026060801-cp310-abi3-manylinux_2_24_aarch64.whl (5.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 89c4582d3d01bdaa4844807b6aff0164c20e3c57586d81202993a0fc1565e738
MD5 da7b07e219c5046c8aa3596ef89dd0c9
BLAKE2b-256 35e59a04f85d8ab349991947a288b845ed7ebaac7e5f2586f9289f737ed983e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6081fa4f58d8d6b0f0319196b6edd1aed81170c1c2d344878e43a630ea1fc8d4
MD5 01cca775f8a9d8fd5915d30d4e27f6a8
BLAKE2b-256 73a6a727028d78c689b71ba031ee5706c37909a486cd72850c6645d49d734a3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6c2016afd2ababff0d770fff1262608c067e7c4cd5f4c91e156aa143367f7509
MD5 68ed0efca8352d3d29ece9859c5d7bd8
BLAKE2b-256 c42f73ff49d1d6a2f053319b07bae3c27750e25be790aeb98eb9770397b54406

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8bcbc399e5024dd0a6979e38a093e0df5aba01a060b5ef5920c11908c66d2bb7
MD5 84051ccd4d1b5f9d2a313911bbc5c5d5
BLAKE2b-256 3a3787019aa19fce3da663444d24d775c225c09523f8869f5d3236184647bdbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 cd3a50aeb9fbc9a3ca4be20447683b63201ae58fd77599496c886162e8e7242b
MD5 2873f35c6b627912af0ad90076c3e463
BLAKE2b-256 47a6f444abd4aa4fc559233deff80d0a1306f7817016865e3f9b9c23cf33edf7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe5c0867026fe320fc98786f2513bd143dcadfe59adb463ef25f40954a189c99
MD5 f8514410041213cbd4fb70ddb92a907d
BLAKE2b-256 252105b5c75c4877571fe3c75d6a8e1eff0590321c1bc64e95982c76296fc69c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 368ac0dfed237344785a89bff867964ea3a1844000330750d1f7170e093be241
MD5 7e5d8f952555b6e5fbb2599ae033b7a6
BLAKE2b-256 2020d8ce48b9a6715ed74efacd40809366caa8fbfbd3d2094991673ab265a2ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060801-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e593b31799792a34086873fa9c352b16ae00315b0ba486a9128c6c1a55c60987
MD5 4f1ee5e8bc2ca2991b9b20d7309e91cc
BLAKE2b-256 ad3e49a6f7a59d6c738c570e452c927bf9600211b9059d39d91bd7e6b077ae21

See more details on using hashes here.

Provenance

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