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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5c29c66d43bf9e619f838f0efc1a57dddf10cd547ee8320173dd9ea87eb00bd6
MD5 87f3175b720a9e3afc1deaccfeb018a9
BLAKE2b-256 c1f793af8076d0adf991e89c76771146cba33f7969cc2d9caba7ee2bb88d7e6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c2dab38176e3de68a57fd179a79b5fc00f82d843cff1c6979b1db401a149c150
MD5 796166abc90cf641c0fe20692ea8785d
BLAKE2b-256 d7069a90b49800515a6103e80b64bd09ab3a3786d91055a54c45574a713057f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 664981f986be0034fbc960d88967dcf5e8ae6777b45411724d23be5e9580ecc4
MD5 a16e577fe64adc99d22fef7d914749f4
BLAKE2b-256 5fb2377e6eeb3f426eb6c7df15c15f2c6b57b77832a08bc696f4e572a9327658

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 14fa3763f72830af2d701cb26c977d01671720022f208e15ca21a1619472f744
MD5 afe3a746e3d85f6ccf9ee64d138f4a75
BLAKE2b-256 0474d04fa467bc3d33972f69312ecc20395460e3458d9712b464beae19166ab6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 fe9a0b18092165c5d4c015c0cb50acb9865c838cb8d6dd92415d0b9bf2436bb3
MD5 dc46f20b78a45d8c22c018f8ed6873d7
BLAKE2b-256 4d1422b228a9fe00887d9d9ad01887caac83ee5e0a616051f75adeb2ee3763b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9130d12f1eec86b729ed574fc67313b96ff65fdfe9595d34151a62fcce7c134f
MD5 eefbeb7f6c18134775afec8d04270a08
BLAKE2b-256 84bb25ad25e752fdd7b1a4b37b9390cb7459590031524133e81960c11a7e16ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f0b1098c5c4b08e76f3d4952afc317e0bfff0a702b3047ef7ec2ef4bfc3e12a
MD5 b606332767f81d3b70087ca292f664ba
BLAKE2b-256 3d12d49a677fee30a4fe27c0665b2a9192619766222d893e3812465ee1ec99cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026061003-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 36652324f0a707ddb4b5ced5cdacb629fe887a832c79f5f682af25506572199a
MD5 bcbe85d9de712b2c23fe0ba1749dcf64
BLAKE2b-256 a75f96566e7f55c89b333fe1cd2ec3e8e8c098330ffe46c17dca0a0c7be9799e

See more details on using hashes here.

Provenance

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