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.1.dev2026060401-cp310-abi3-win_arm64.whl (4.9 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.1.dev2026060401-cp310-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.1.dev2026060401-cp310-abi3-musllinux_1_1_x86_64.whl (6.1 MB view details)

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

baml_core-0.11.1.dev2026060401-cp310-abi3-musllinux_1_1_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.1.dev2026060401-cp310-abi3-manylinux_2_24_aarch64.whl (5.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.1.dev2026060401-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

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

baml_core-0.11.1.dev2026060401-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.1.dev2026060401-cp310-abi3-macosx_10_12_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.1.dev2026060401-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f0d9ce8afb8b03ef98185c6f6e929cb8da6619816650db84afb08fca75b68853
MD5 eda0ef23f916f486db0ff3a052610d51
BLAKE2b-256 b929fe404c06382b4b9aa7f9277f2f386b307f8f9efe706702a6673ca35113cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aea161e991eb96dac438aa3fb497d1db3ee38baf617ef3250015ee464fc035e4
MD5 22b2e1a89cdb849369a3ca272e6579f6
BLAKE2b-256 440248edf65c8a0aa3fef39453f7190101eb7b6791314da675b03d2bb860a686

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6a5d99ad276f2844765fa2e83107bae4c2a65add3c61526a252c9c59be8600f8
MD5 4a7e6a93d3f545a4dab9bd007c7d4d72
BLAKE2b-256 41843e69d928b2115c605d1168dcfa61f2883384542b2e76ee3031ee4ee6a733

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 52e26dc777d31b01184ef3eab8fbd4590bc462e43df1a7be99338b213e1741b4
MD5 5f94303cc9418458077362d0624d643b
BLAKE2b-256 779a41690fe0d9cb335238c531ae57b9749b913c3488730cdebcde9970b29d01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 fcb06996baa034f83288e4409d5a573f23a62af79e1c0c2ac89bd3833357e7a3
MD5 d2fb2f839bef1f34e57eb8a344564960
BLAKE2b-256 e11f6628cf8b4cd378047f7329eaf3f2ff50124a8b9afb4a842b61b4f8a422c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64e6893984ffd943e22a2eb0b7d63fd306212377447a244982bcb6e07dd4b1ed
MD5 9e5c194e08663cf2dc2db1ce0c3929f2
BLAKE2b-256 3d3c4b270d1fc20a2f5dc8f9246f93dc0ed6b576b904812414fe181d45ca09f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 38f6808f1555a9e844f5804d66e61d5522ed54b4d3545eb055fa5b1f55052909
MD5 6e6292b0f8a1a49e498bf5f2f5d46656
BLAKE2b-256 538e8a8886b3df0c367bac7a29c7843ad54eee902718362296e989d9adab0359

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060401-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6f8a73fa5eb7b1a68b6274aab71da2bcfa405588a87263eda703ed771271769d
MD5 81f54a79c5e5d435d60b7d0dda007a99
BLAKE2b-256 2af261f2b33220087f7aee235e9db919c3df8096034cec47520954d6b071b7f8

See more details on using hashes here.

Provenance

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