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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061300-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061300-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.2.dev2026061300-cp310-abi3-musllinux_1_1_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061300-cp310-abi3-manylinux_2_24_aarch64.whl (6.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061300-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.2.dev2026061300-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061300-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.2.dev2026061300-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 2a5da6a02c694e74b1398a6e944071a0f21f5bf38cef496742c801b54ca3e83c
MD5 0909784e46740773ce602a5034094e03
BLAKE2b-256 83d7ded09f876f6aa7fdbb0234046fe6785d149f020040da130deedad6a94315

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ec08f4224fce2373e075e9e29aad9cadb4865ecd36f6626a12880f19e546cf9f
MD5 88b993b9475c4c3da3032ba44a595c36
BLAKE2b-256 975cb841e633e2624500871e15ad7becd6494055f63fd99c0cd6739bd961ead9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f6ea4472ea4bce72bcc48b5a968088990225cbec458d49a3ae086b389c267329
MD5 c8744b5c687efa4c151e39c69c88b69e
BLAKE2b-256 8920b04747953b2ea11271a6c1e0d734945c50bc2808546e8017f1e525d2a15c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fb37713b71673500eaef7d5783bd26d7c198bcc7a52cc12e11e4b6969303bfea
MD5 5a25a2bad9d7639592b2815803cf7023
BLAKE2b-256 1728034deabec3d95d884c19a079d899f019d37741be2afb61abef0a5d853887

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 38d284c105f197e29223919fe89dde5a379e0e668512013bdd43237006597fb4
MD5 14f9fad1572c96630e6f16815536f20e
BLAKE2b-256 b3755f973c42ea46e4c181166196e25f72c3a3352db1aa99417540e310c43381

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5fb56aeb58fd9fa78aff712f63627e1dd5994f6b1d6f7b79aa94c109efa4e5a
MD5 87a54bb8317e2b1fbbf417ca2dd5bd30
BLAKE2b-256 c84ea3863fc8acc6b47b62829cede9707ee2eb0d4dde4dfc1eb3e8063fac9a75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e42ca019ae398d6f709e86e54cdb4fec971595bed34c735e12cdde02021920b2
MD5 46fe875f7821caa847461b618c8a9ce3
BLAKE2b-256 16f740594f2bb717c23d8600075da6a79ffb1d8536bdf0f515ec269ce845c52f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061300-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 faaf395f526b5cd1e896a11dca063c12cbba28f31b257219acc87ca521cb20a8
MD5 4109ad857b0d50c2e6dd4d51a8dfd06e
BLAKE2b-256 0db8ebde46087e8f1203a15acb69b8567af42ebc57cbd1fff9123ab7c06c822c

See more details on using hashes here.

Provenance

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