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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060401-cp310-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060401-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.3.dev2026060401-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.3.dev2026060401-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.3.dev2026060401-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

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

baml_core-0.11.3.dev2026060401-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060401-cp310-abi3-macosx_10_12_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3159a9e159fe0c3e97951d69d843838a42da4e9c592910d83a3bee47087e3975
MD5 0e45a55a6bbc633175e11e5306e4836d
BLAKE2b-256 1ca5e43d9b4cc1f1d88e283826971d27df44898214767e34afaa660da1220d8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aad3b01a75513ddc4240de1a80b65e2c6c4afa8fa98dc851e0324062d37e0297
MD5 9414fad7178fd58b7938eede6bd2095f
BLAKE2b-256 05ff7a7906e221be9095d52ba8683d5e39514b9dc702c4009664fa882cc107f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c7a5fa3bfd3022206663208950776b28e9d157d0b91a69f57d26e84d7f5c19ee
MD5 d45d735937b3fb8796713b70ca48daa9
BLAKE2b-256 57aeb1108c976cefd35f2347ddbd8a55ecfcb946772c348035c24eb7446598b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 44bd6cec99ea5fb47c17df0a5c56303686a9128493971977eb8f6724a33bfadc
MD5 d8b226c3a856e90a566b2acf3cb39d69
BLAKE2b-256 49b614d46485324942e4e315288ef0616570c173d28b744ceccec6098d9ad3df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 41d7f77718766b7cf4f8150895a611dad0238ab549eef5500fcd04109a881cff
MD5 3d48a23290d5efcc8f838de9a5a44495
BLAKE2b-256 3653d0e4c0f90093b09e71fc47f8c923e1fdbb13f779dfaaae5b0195e4740441

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 748b1bff8a4b6badf9e2facc82797480dbb831e6d333b136d77f2542c48fd810
MD5 c95d1c08b439ced86c6432f445c5c395
BLAKE2b-256 bc7e38550c6a688057e63956452ab1a0817016119e9c37db563dc7091873270a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9eb9e3f482c2ed5598749737b8388d1386b64dffca04c4ec20b571e39a447c4a
MD5 9bde6bebdcfae26b58ed0cc5cb1e29c2
BLAKE2b-256 0271214f7b95838c64289e84abf32aa09d47b9a0cf2d828714c61aba4c8471c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060401-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ff840f0bc3a539ea4b43f68d1733f94a7c437a9c70076969855cbc32162fd386
MD5 8b26777ef96bf018df413f38bda644a6
BLAKE2b-256 ce300cccae6ebf050cf0607b7f2d8427af5aa17f3f08d3bd0b5d6aab38059902

See more details on using hashes here.

Provenance

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