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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060904-cp310-abi3-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060904-cp310-abi3-musllinux_1_1_x86_64.whl (6.8 MB view details)

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

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060904-cp310-abi3-macosx_10_12_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.3.dev2026060904-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7e03b92a3dba1531cb2e28f73eac31ba66887406a4fda4b9a16bfa284b94962f
MD5 cd1beb6d26cb4f10126534e0933fbf99
BLAKE2b-256 2d519cdb963efa59ed99327d565fc123d82dab67b42c251c76559b183e102e7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5d0e931c7a5e0c1e248c376f18165e2ee3c23d3380242e29c66650e5c41d069c
MD5 1032e8f02bd030d11313e06ef42909dd
BLAKE2b-256 3bd2ad8731ec97a6a5aa93e53f7399705f4fdac6651611c9964873584e0519e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 dac8d030a5c3d00bcef73fb16fb3d1e98c1c26ce1e469663be924626a76be6f3
MD5 072e6b5fb9df3a814617082c8bb186ba
BLAKE2b-256 ce1d2e8a2e5f460934f04afc16e23a9ab020ac20e01f4b8117650070864b2f21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0ba9cb365340b189333cd8679fb8081e562bb78ee5850676c2393aead99a8bf3
MD5 191bc557ee7f3134007d787fbe7369f5
BLAKE2b-256 37529b6f7f17d5bda190a184bc03ce508dda1600e6e77dfac1e481bc530cadfe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 fad197fb90152ba7e37ea631e86d05630b64b1b3c8e738ee34ac29eaa9554371
MD5 975dde1674d3d10241d58b11ebc00e0b
BLAKE2b-256 dfc7c54293abbda92ef5c798e9b7b4eca24e8e5baec7aaf0a1c7997e3a3d8c93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff60e8f3486053660463f46edb4bd9151eac7349ed73f587bc1153f1f59d6dcc
MD5 0d07a1a67311605a19b0720f4729d943
BLAKE2b-256 ff600b3c7193e9cd8123d7168acb650db1e431e7a65c1693158991ee52ba9a23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe75a84b6912c228a82cfbd683d8663533833e259f14dec89d6e4350d6dce4ba
MD5 a2c52f99a0982e413e2e7a4a1b2754a9
BLAKE2b-256 b3d09798f0c28a6ebdd992628e7f648143aa9ec5560f9ab62d79a3cec535d112

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060904-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 87b8e14cbec75aa8975f65b6a22845c0768db14d112a6d800464135087b0a37d
MD5 9975d5e36e569af9b7df78857661ebcb
BLAKE2b-256 137c5fdfd8481ca9bef30e14a4ed675aff2073a224db8ada1a2dbb70af0cc06a

See more details on using hashes here.

Provenance

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