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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 162c0e4a44b78b6913724aeed38f6b5a86f86c612be5a5d57189e4dd9b19f742
MD5 2c3162da0b5bf3464df877d80e85cc9b
BLAKE2b-256 70aacd904bed45b9a1135a7104fc60e1dc4f2ee5eafc33bdebe1e747b037faf9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 857a880ec0638db8f5f08141cd440acb0f638f080b94ab0fc33612b2b5ae7362
MD5 717f54178061043e888a2ffaf81445f3
BLAKE2b-256 b6b56b5195f036d38ff1a012a0fa3ee783aaf3ce7816cda9697e4fc8d658b2ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a5d510271564c249b2d5a88819534a4cc7084d85b76556a5c26b0b4d079fe0bc
MD5 d2d0a82f0eff2ad4fe8edc79d4b9d89a
BLAKE2b-256 25c73b09ed5f886b6d39d89735ad2d372a2187cca4d0d6d8210a64f676dc0e37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 db7943a4249552b4214770a24e91c63978a1f53d5b5e102518199070edc91e1d
MD5 7ef3eb5207ce38e5b9c39cea90e8efea
BLAKE2b-256 e53cc896c98f037e41783a131abeb0f683d9a637e458973afd860ad93f916b1d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 b8d270198871172f776be1b0064b58e570dcacf01b854006ac4f94bc8446cf34
MD5 d082abab214d401466598b783d61c83c
BLAKE2b-256 06fdabca8cbb4dd98e49287b1f7a4acbea803161b5ce1a9c2bb8278022514825

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7a6c4256d40ebe7ec62b037bd142cba4fed598568bd0d40338563cbd42778e3
MD5 0cf5060788e62628be1701a4e5b171d6
BLAKE2b-256 7403c14d1b99207b17896a16f0fbf3b86eb40b8250206068d8a6a0fba7005a0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ef6ee3bd70cfb4c56dd0862aa6767c00c66ae9f43e06f41bd30105e1e407f4c
MD5 ab3306fa78687fe7acfbf64848692eed
BLAKE2b-256 e71b03ae472c25b472d74875d166484413660bcfe7f5f765fa23af90ddc1b289

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060600-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bbdf5dd41d5b40104b7461eed52f9d8d4d9f0bbb5e5ec2940c3c592db60cbde6
MD5 7cd57b98cf744352033de5ad4ebd78ef
BLAKE2b-256 394cebb08d557acff03de88b1222b9af136d6867282d3c1b6b2a583cb720a7f5

See more details on using hashes here.

Provenance

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