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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061200-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.dev2026061200-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.dev2026061200-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.dev2026061200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

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

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 df0469f9d2e281834e1b0f621f34bd136d5a48057c22026e63eb422cc990b0dc
MD5 10a0b25b0324ef2b652ab6ed6740972f
BLAKE2b-256 d9a76f7128e3f273e9c245414c93cf9472c4ec11894b0f472f4d0af3883cb449

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 459da2c9a1762a1b0c1bc1be489669dda489473c21cd3904fd1c8ee5caddaee9
MD5 c593f598fe3eb451f097508f67e66b50
BLAKE2b-256 228674be23f0ba16aa52c01ffd0022602931dd12009ab12e140f635fe75499aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0bce1c95681009feab0ff038aad21984d53025ea6988fc73c6bcf768cdba4134
MD5 70537b09c2fc1bae2bdecb1333795dfb
BLAKE2b-256 c768028a87dedb40f2f9f7cd75c7fbd844f825688d099367f164044899690d23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5e9a96c777169ff3adf872b2903bf917c4c99462e84a217fa5d8f2ba4e567a88
MD5 576c9fca579d6eec0c748176506e91c5
BLAKE2b-256 d1a5c79839eb88cd6e291c33f60437cab0a0dbf3b7b7ef0ec0103942051320ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 83cc2c8f2d5f8f401c679d2170b7a83c8648aae94bf20569c98661d5d1cde2ac
MD5 4622868b972531d293edd354bd895119
BLAKE2b-256 a66b76727a1ad3fb39dc80e72ec9b5faa2c30e8ec82028bde4ada56e92d8f15c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e974e154391a02f2f91022da936f9ded9bb5096194d6c28e934ed700cb362881
MD5 1dda783fd1b94c9454449a83f4b59fc1
BLAKE2b-256 dd3c435de3353d4a9d39cb7d595018942bb1cc50eabf74027f430dcbd8eca2b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3dbe5163c729b373615e9c84a5d05dac930f5fb2202f1957b10a8f9326a5e63
MD5 809fcdf016151f892dc57195939d62b1
BLAKE2b-256 52ab217496e0fcea9d0e6207ed8938ebde653b682e8ff927a690e8642555c1d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061200-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e6fe6bc61455e1c02b005193dd6cbbd8e4a2ee7dc31afdecc0c5a141a37dedb2
MD5 6da0a228f7bf03829586757256d933b5
BLAKE2b-256 e5708b23e2c26bd3350fa540bb458709339bcfbc6f170a002cee24deead60558

See more details on using hashes here.

Provenance

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