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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d55763483c9f10d7a01fe3bcf3cbd5cab31d9de48b81faff8f73125724a555c2
MD5 96852f7ea06f890c488ebcd4b4380046
BLAKE2b-256 bfc953ccc4ecf02bcd365ee3db47c788fda994c3ee6f1f4a6211b81b82f99a9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6b73c8a2388fb8943fe03a7878c3ba83ed3d363464a2005f7c51d5cbb052e777
MD5 ecd98d2fd1c2a9d2868a6fb7d5f663ef
BLAKE2b-256 03e08be50feef4e9289e468dd0852f19679746982a2fc217098f90ae792f83dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 59657d008f7fa64b00c48d0aaae983a8d36989da606bfce36f6ce937787f4812
MD5 27fa74c16ad443dad68724718f7c11f1
BLAKE2b-256 b7903562e45ccbdcc8642eb850e99d5b4182c427035c1091eecf36d74e37583e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ee055e6162b786ed1f58139ceee3e5b2e49438fc01743728d44e994752c69d53
MD5 b415c3f66c0ed2dd19e3d852ee6f6561
BLAKE2b-256 045f2e9447db83bc10ac8f2e0d1996b100d4192281fd12f78eb832729f880bed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 b474e9e6d8c53bb1ee8234decf7c3ef6a39bbe82bfb78e3e40a7cae5c19640d3
MD5 af7054263f20e228b6f462559137d944
BLAKE2b-256 b22c1f4a41c37f8d75581ae50c0ea22134b5509397ed14caf9b2ddd657102da5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c42ad41da64e7a6e6aebb53de23be97131c3874191aea1cf8c490b162c51528b
MD5 058c30d40ca0a7f02ecc3a6d68bbec30
BLAKE2b-256 5568363efc509ec40e0bfb5ef35fde5d35d3ffe763238a2540f4b76ed62d830e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bf3c88efba86cebdc8c88b6e9ab7fd759fc7d54a5b139623b901411815a8c664
MD5 0e52349732ca1d10ddd08d5af4f01569
BLAKE2b-256 df27c951d13c5ebeaaa6d9134047c28e56a5c206d6f214fd7d88aade7adb5bc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060501-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2ead15a44dbb214d9987e1d11fefb6af0566a13949d4b819fff51cfa5f1fc336
MD5 9f0818201508cdc61c168e856fc258d2
BLAKE2b-256 00d45d361c223787c0b73a81ae651989bc4f6bd94e23655c5838cb0502c809ed

See more details on using hashes here.

Provenance

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