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.1.dev2026060302-cp310-abi3-win_arm64.whl (4.9 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.1.dev2026060302-cp310-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.1.dev2026060302-cp310-abi3-musllinux_1_1_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_core-0.11.1.dev2026060302-cp310-abi3-musllinux_1_1_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.1.dev2026060302-cp310-abi3-manylinux_2_24_aarch64.whl (5.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.1.dev2026060302-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB view details)

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

baml_core-0.11.1.dev2026060302-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.1.dev2026060302-cp310-abi3-macosx_10_12_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.1.dev2026060302-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a4c13a43a304684612ccae8dff83f07aca091dc8c529d386fbcbf58532b8cb9b
MD5 008113bd9c3d463da93524b05f802ba5
BLAKE2b-256 cc51beccd83cbce9b3f3067ac74b21339f6e06db3c3d6eeae5515a04fe3d9606

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f54fe969df13b51d4be9d1bbb73356bf0f2c7a6d2c49344b7c0d3cc9f9b7f772
MD5 e83900d1346238e5058ecbd1eb55369e
BLAKE2b-256 153c4158329672859a9cd10f2624e7ccb99bdf994bafed7e1a8a7e2a9ee2af6d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6a786b75a9fb6852f20b03d856e32382bf0cb457af5277818061c691191ef6e3
MD5 9c4ff71f92b51b7f4f02940b78f27f48
BLAKE2b-256 51777e8cf200aa7374d551b7e880289acd58f8fae9fca118d1a87c02676cb5e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ea674106aab26fc2bee5c97e11547038d60be96916051afa0098c6b2edb9b7e2
MD5 ad055058899c1f74ff49d195583f94ab
BLAKE2b-256 f1291ca5f8220adc8b77a5f91fb47c7559d91a54fde7778f9b2bda550ddee35a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e1431f022f7f384049b55fcc45ed3d0e5aa8a5c570bfb77b231b553046acdbc3
MD5 cd12d54f370d030ed79094bf6770e690
BLAKE2b-256 ffd10c4b1b51609db84435d5c079f9048be027395743f86fa48e208f3a67c3b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 21c5670b82685d1501cd71d102f5c9112af078badcf60b195ac24b65e5737396
MD5 8bff5bf8a5838455ba74a9e3b4c64eda
BLAKE2b-256 f6e4b9ab1d5b92d3ca2951d61683448aa5c508fe5d6ac815ffe4ff1c6fbd05d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b31cc9c092b0856618dbc23cb65ee2cbb069d8b8d67e4893ea71b5fb1bb62b46
MD5 e2b8f1d415d896c4b7cba24713db3d64
BLAKE2b-256 2716d7cb218a3d48535b206ee9068e673c15e672b37069c553997ee5afda7e8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1.dev2026060302-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3a923215b935c1b07de8f96ac4cb8095d224512ac655ba1508d12f716fe72bcb
MD5 fe4a9cf58db39267d8fe226499b0cad9
BLAKE2b-256 0795c1397d7aaa13487dba2581018f0d9df08cfb4274cdc44781398ca6ef6f67

See more details on using hashes here.

Provenance

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