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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026061002-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026061002-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.11.3.dev2026061002-cp310-abi3-musllinux_1_1_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026061002-cp310-abi3-manylinux_2_24_aarch64.whl (6.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026061002-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.11.3.dev2026061002-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 265b2b910d416866eb197c93571d2e672b2884b8851ed5796bb1d0c38e80b942
MD5 424841ac400ed1d44ae79e9c42a78851
BLAKE2b-256 781fc659f1daf3046b2830490dc19d61bc598e74813752dcdbc656b7ecd1d49f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ec7a74649b9abe2d893aa7518b0691b8fb3d664e211a67d0afbbff5a92d1e0cf
MD5 421f39571431ba55240b32e94392b8d7
BLAKE2b-256 c7965755538f9b55bfc90760a0b771fe78dae84c20acfc82403fee3c74ca8236

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 53abac72cf7401da004edd325fd06dbf76d2184dca511a83ed061deedf1c1692
MD5 65810380a6a168b316de18e4f17a1f5e
BLAKE2b-256 96cec6a294927d3887d684c205c32afc9ba8c0a952ed8cbeb715ea4d39885668

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e5a4c605ae5a1a5c3df737c388835a7f3d8a9d77c48655d381cea6b02e148a94
MD5 84d3b84525ff1d5482c751a24d386815
BLAKE2b-256 79fca6064a76960b3a6f593ca6e1d0737df2e4ab5e2315742e519e2ccac85b5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 ad14618da4d39f5ded2ed1f0bcb02298e0c9985b27cc409da5407e5bd26e167e
MD5 137c5a95c245899532aad53ca1eb41dd
BLAKE2b-256 41f399d561c2e1dfdd158c3186da522837600f77b2b21393ff95db45c4503253

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42e799e72f65d9ff726a7f93432657f8d02987b9b2a06fa9ca32e2dca798e3d2
MD5 3b6cd76792f8df707c9c1e91309553ab
BLAKE2b-256 48306d64b1d984e41ffb199b15f81427e1d9ea07145428e844238666db6a3e25

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dad0b01833f9f19970d288e025601f8d729b2458e122af80a30e27f4d9e51aa8
MD5 af783d0d2b0dd972af4c962c5886f8b1
BLAKE2b-256 3607c996da16fb949b07a6d2685725a50ee5336de37b806182cc5d7d145921f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061002-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c304a0825ae7c4c8928c46f7ed2efb44bf28fae4b3229658b39382579ec0f7da
MD5 a7de05eeabcd44b34518177aa42e314c
BLAKE2b-256 63ebd004a9a2a83cc064bf0d83cf3742dc46048cc2c287f8d493045012519ca6

See more details on using hashes here.

Provenance

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