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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060902-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.dev2026060902-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.dev2026060902-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.dev2026060902-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 52d1d8acb7fd29d84eb473b1045582f12c5114e576896aac7b404941c3b723b5
MD5 1e61f79b899d8f330ddc25c1a893a9ef
BLAKE2b-256 923a22c9168abe7fa678120c1ff2838144a7335ad3e30222a641468c29763022

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f04dc71fcd783f3ce0ec42fe65dddb8b146a7274871bf83d96826a7d285e6dcc
MD5 fce6e8d05ce824fbda5cee47fe8efe7d
BLAKE2b-256 ccdabd507354bc9abea56a00cdd2d9dbe4873ab6560504ccbfd1a91a78dde880

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 eb0d451bcebbfaf221d906e4f95f837ed082cd2af02f9f0dc839d0e265c35b80
MD5 41cce8fb093a8de2811e579ff58cc353
BLAKE2b-256 bcf0063314724962a307b50d68844c9a7bc0b00c6f85ed4283f5e839780d1330

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 bcf481589eb02d2263db96c3c0c39e8700846043d3c12753bf22c6762e4fa944
MD5 e6b7df40677cb1184b295e93543d14fd
BLAKE2b-256 6be269440caa5f85712e8baa279cd279dbc615c064b90108a65c67d3e6df5ae3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 bf67b7addceaa6685a3f6bc3001792a19021d42b2df0720e0ab5dd49cfdf7511
MD5 5592a9ac03e869bcc838494e6b54f420
BLAKE2b-256 a1d19b4c91e590911dd7936b9afc0a2c97de527c4f470552d878bf5e57d79373

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42a1035c750eb74c5142ec37177dd595ab29be1ecc6a4f109fd2a0bb668cd335
MD5 b57e249d25b6591f632d3f2ba784ad28
BLAKE2b-256 fe476fc53c9ee1da05a0bf4d0012b6c3a74f9f915f990eb7822811fc1ab997b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c5f1c87a57c74368eb855070f15f3efc00ddaf98907e8beb1a1488d99ebde03
MD5 7e06a95d7c46a2fbef85817eca9136cf
BLAKE2b-256 dd7d028276676f68377c7d2bd0ee0d28a60bc77160f9b5b1f99773de403445b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060902-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f07fdd8283be4deb85b5d28dff47869bf59a1e66e32d80d3e5df1ed28398176f
MD5 77da313c109e8b5be248fa361f53525f
BLAKE2b-256 c57c1d107711acc0f7f1dd1de1905b0a93fcaa486dad3e2a9ecf14b2aaa62b7e

See more details on using hashes here.

Provenance

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