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.12.1.dev2026061201-cp310-abi3-win_arm64.whl (5.7 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.1.dev2026061201-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.1.dev2026061201-cp310-abi3-musllinux_1_1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_core-0.12.1.dev2026061201-cp310-abi3-musllinux_1_1_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.1.dev2026061201-cp310-abi3-manylinux_2_24_aarch64.whl (6.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.1.dev2026061201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view details)

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

baml_core-0.12.1.dev2026061201-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.1.dev2026061201-cp310-abi3-macosx_10_12_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.12.1.dev2026061201-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 e8c99cc0e23c96891828689465220732b0378c75fec33795d1459c9ef94a882b
MD5 dad1afc8fab8dc6fd79c22129b256bfe
BLAKE2b-256 a363bdf33da457f1f13e0d0927c07f6ba2074310cd98831f4e8d1adff83473da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5a9517a810d649bf8f385b6e8e3f4587061fe3c58059eaebfde39d20dd9bede6
MD5 281282ed59ffd2180aba4847218e2555
BLAKE2b-256 915eab628ffbdbda3f85aff162d0c8d0b4ec6c20f8f2ba1d77de95a28c7a15a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 96d53cb8fb8cc6f3ce8976c87de8ae6fbb82e0d9eafe3a77471c1f9f283fc39c
MD5 1fe86793d6e2c64f780f479204782c6b
BLAKE2b-256 b07fcaa9890cefdb1f0360c52100c8bb30f61bc91fea2bc80c0050471c6c276b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 da4daa2cf83edbe34d67bd0b43ff3a66995d99212ecdb95a5ccbf05f9902b370
MD5 28ea2c262d34b01be03d317c4e0cadf9
BLAKE2b-256 57aaa904d4f4ee08e0c1579ddf4724445c9e13db7327d42693dba63add5c453a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 2b1e6cdeaa0bcf03e8aea1ee8bced564495d682009118c8d5a344712a3ee1233
MD5 66c37ef796d5cff0ba4417886adc4955
BLAKE2b-256 09713ed3609ba32980ef12762d328daa05e90fdc36f9388d6f3f2920d4c9c693

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 abe4ab5c7b31823c863d0896eb961172c146fcb3dd94be818c112c962d38693c
MD5 c3bff999fa22c7e5bd043f1818cc270f
BLAKE2b-256 a158d603117a22a8f169e9614fe68e6fda94ee531bd6334395ce8553817745de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 32769ee086dda8f86a7224d34093c5f11d1e184d56024947123324a029822add
MD5 c587b0f7622e9d8ab36e1902302eb52a
BLAKE2b-256 b58ba957e3d8348cead91f088891417729a58874dee8b32c24579d191361afc2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061201-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e58282249dd6bf428dcb3db4c83af47d23ae0864479f97a736af48b3b18282b7
MD5 8610c77d651b9ddf33570532e105dac8
BLAKE2b-256 fc8c459f8d818418080267d12b2b8ddfd7b308862ab86ab2036a649b30ef1a1b

See more details on using hashes here.

Provenance

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