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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 33fc0115e544682aa563b31e5833150f3c675ab98db094dedd84b3243cef2f9b
MD5 841d414ccbb715fca81ac2bc0cd9e73f
BLAKE2b-256 4cc06bc2fd36eac21c6b9f6de2494af3d032195eefbe19e5ab843926cf58d3d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e79452665297f93291ab07edd92a71a76905d056decda303a945b8fe5221269d
MD5 6dc76557f37f9f24a570f87173900a96
BLAKE2b-256 eabe778f5c63f9dede1f957f7be8d76255053c1aa3d4374e4350f31d6504d805

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5cf78913121630d41211d0f62d9e9e4ccf5913a370cb4ce719f65f12a350dfee
MD5 1c07e7b54e7b551febdf5b0fad9ca2ac
BLAKE2b-256 776260a16897df5d3d256c6269d2a1091e8970f7a34c71387fb58fbf1dc764a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8b8484c0fc1595f7f9a4d994498d75457aab8ec8066b2fdd7a41ca60a3524be9
MD5 948adea07f62f2f41506e365bcb89874
BLAKE2b-256 105b3ca06fffa584f9ba99b40a73cbaf3e05f9cc4dbfec67dea2b3bc50ae0739

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 de82b75553aa93ba0f4c4be0d1242ea8ac72d0910ac8e4be20f638fadeb99130
MD5 b78e51710805a535a4d3617de584b9a6
BLAKE2b-256 137f3d1cf84d275d4c57ef8d3aac306912d661c9ccde61d1182854b53b62c99c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 acef9e54624e45cab13bf88463e445538603e927755a4a3bdeec7cf9704f6ec7
MD5 d0ace1c6b9832b13d7f3411e863fa921
BLAKE2b-256 33413cef81a6c5cc04a0a0b2cd355170d604bb30616dc24781ad5aaa0a33acc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e7e8b8184008e8cd8a38ba49190d862873c459c2582acb7a2c7ecea094f26c6
MD5 b20e4bde1dfab8423ab6ed959e55bdec
BLAKE2b-256 c788ac7c4daf17cd759463acfc178b53fe35edf5c9e06d6cec27f3e693a2cd5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060506-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a8ec9a327073aab70aaa2ae93a0e6ed8798d5a04a925b7b207cc39999a7c884d
MD5 ec7eeaf31172a6f0be00ae0182989242
BLAKE2b-256 f5b5bbbc7850f99a0eb4c82f1a078a38935a0192b5d68fd5b3d1fd709533423b

See more details on using hashes here.

Provenance

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