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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.1.dev2026061202-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.dev2026061202-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.dev2026061202-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.dev2026061202-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.dev2026061202-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.dev2026061202-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.dev2026061202-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 054b5cad5f9f1cede1fcc3f98b0827e46977941ed9c78fcb5f8d47f913a04e20
MD5 228885dce0fa72f4ba490e728d2d8d85
BLAKE2b-256 1df58d3e39c8b6291ae7d02a7778d4e4b082792c6dbf347d11d2840730f7e85b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 db761de07efe8c374a2fd343ee84d05442a7b7730e59a52514985127e82914b1
MD5 90b222e250ec40a59459b46e9c49fdd2
BLAKE2b-256 1a90a679ba20a6ae1a70b69796b5b01b728ed6fa64dd5c942d7c92f837d83ec9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 53e2c4dc0471e2fd4f2af92b826679e32c998e36f6dbe7e59d3d43a4b2aec435
MD5 ecf40c252bf07ae714a51f058fb0eacd
BLAKE2b-256 3beecd771fac9aee896b0e66fa0388ad68982e4adf576f069ecad323af8ff579

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9ec95db2e6f5fe645bdf123652dda1118826a5059a93c902f2528e32486fc7b5
MD5 ce570b90701caa0e02cb5919fa0452e2
BLAKE2b-256 a4771067daef78f6e213b2dc29eda8d230d419f033eb9f8fecb3233e75e84e2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 1d2774c858998d0dd77bcf3be2df75c38d26dfa8c6d969111575a5db24c9dcbb
MD5 c1a2fd9a711a24826e34188020e2b0fd
BLAKE2b-256 1eb65229c85014a9698cc7ce9731692b754c0dcde045f2068b87d62c87572b4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 314f0052becb9c460d9ec84818809a7760bad10022c7a5a618daa52519e7334d
MD5 6c0aaa04b2b83dd9ac27b70b0b70238e
BLAKE2b-256 be2c202294a5cca9456d8e9ad3e6e6ff903de6ae0eb7a0a378afb8fdd1e4459f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15752d7696f941fae27d241b6312a69867379dbb9b0bda7a007d4362c705c9d4
MD5 e81cd470484b8d9fbb500c6a4c05e1e4
BLAKE2b-256 6ef2ef46e65b2e41a165ef4b4e589367448b40d48d9e525c34d4ba7e693f8312

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061202-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4728a2921dc3f96ab353b886568525bb09b75633b9bbc1a6247a127fc58f4484
MD5 ef193463c1a8ad34788afe407e989585
BLAKE2b-256 5c66a6064a217a15f7b06a357446039e4b6048a9253b5fae202b191d7b1ebb65

See more details on using hashes here.

Provenance

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