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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7ff3f7ef56a6288994e916aaf295714c2731e81d14f70a429134eef907da57fe
MD5 95915dd60094458a3502136b736a4ffa
BLAKE2b-256 1a5654fbe061ea93fb31dd1bcc6583cf3abe30ba7068f12bfd0372116e07aaba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b9ffa6175d671b466824ffe7eaf59f699fa8c2a3a7020eedff6f3ccc9edc6fc2
MD5 aa026dfa49c78e88965bfd14052d9b43
BLAKE2b-256 87415345e3a57bbf36024ff8395ff642e5b1eb52e0ea7ec095b182125066796b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 74b0e589337f5b7b2557c63c6b8706c907075cfbcaa8069d3dfa5d881fe4bc48
MD5 913d3c7457b5b43d41692daf2b7df87d
BLAKE2b-256 63cf6789877f20b570822905ed02aa767a5a76bf79e2537ee71a13249dc34728

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 a5ce0791d87bee9b7a558da9aa0a1f31575bf16882398104a63f17d749a6228a
MD5 3e3147b57094645a87eebfe9fe034c4a
BLAKE2b-256 53cba35bb03d1ba57868aa90d13254f8335d4646eb58c819329f17149dae1e75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 537c8b8cb0a830c3085fac4a4d011aadd7b1aac39a7e5113e29fa606d6b35a68
MD5 46d3984867ae3b91762289565d4088ea
BLAKE2b-256 36297d5d153b37d2914ddfc38107a016accec1802f3fee207db21cd362a0d878

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 083c800c892cd3c3850c52cc1987ff1e007906815dcc6fa2c71a461f3f994c1f
MD5 96c73874014d2f812e182ada8524e0e4
BLAKE2b-256 39e209be3a776f285cb8b0d16b33b33032560b6aec551330826d78ec2ff4181b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 205bf900d0437373525c0e2f4fb6412ee647d685c393a2b3e30d7671158183c2
MD5 2aa539b94218236bf6c119d30c1b50f0
BLAKE2b-256 aeabe9a63b6bb1d796b2b663adee502ec7e997192a0ce4677c61892c713ed577

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060700-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9e9969ba949090571a03aa717d11009093fcc804dbce4de463876372884a618c
MD5 5ec14a78cb2f67b1a05f3228eeeabd01
BLAKE2b-256 08b7435981d3052dc4d1dd6d498b5dd231b07e86e136c344d5cf4a442ec74ee8

See more details on using hashes here.

Provenance

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