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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.2.dev2026060402-cp310-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.2.dev2026060402-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.2.dev2026060402-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.2.dev2026060402-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.2.dev2026060402-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.2.dev2026060402-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.2.dev2026060402-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.2.dev2026060402-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 362eca05cc187289751965139fabf1f5980ae4307964eb254e7de8bf7a5beb9d
MD5 e4f6784806274e778ab138bddccaaa4f
BLAKE2b-256 d49d0d6dbbad2fa04fcf661bcc24df76550daf77004e5518391a43c07b527fc8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 04d6cbe0c6ccfb4094607d3d93b5ad61fcd3f790e8e0d892c01928c54bb35a0e
MD5 44bb6e2b30e42bdf0592efa582957076
BLAKE2b-256 bf710617a287943b49061bd8badac26844d7d8d9662aceaf923d75f423d642d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 becde7176682d7c508c42546109e877522f29962ec01b569fcb714d5c7bba3ef
MD5 531531387208f301aec4afea69a06c79
BLAKE2b-256 e8c8f1e3b90710bd19e0df6906626ae8324383cb4dbfabe7adfc4472aa5b4f01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9005201ec82f9758758967bcc94bcdb2ac48f063a1271bfae52842c262b7e5ea
MD5 59c770133eed72247469c79fafb2285c
BLAKE2b-256 a419bf4ddada76b5d18ea8eedf307900facbd9d1a41af7948254b9a1b62a9b41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 4e235f0e8ba9d5970927dec2d76f559d5434567f07a0f652074c3bc14dc76b20
MD5 274adebb422d1c302a110c7236af8439
BLAKE2b-256 be217c3c4b3a928978ac9d411399a637d28cab5e1a0b86f9a783bf22f92b0981

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5da20462d67e4575931065ebcd1f72b4a16ebd94da3e57c31e8aad08ebaee688
MD5 03af2fd0e1d59b40675ebc6372e0ec07
BLAKE2b-256 47da7019ac170c2d8df57b6f70f3a5f85c0594f57f9ab9e03de0e5752206d00e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d95cf5ef17755a28bd3616d61f9a8ac3a17e301ff53afb733ff6637361696ff
MD5 d91584c85a2e33a5355431f9dbe8895b
BLAKE2b-256 d7974bfa9aab462b2a0bc5f8d37d0d2de2280432d4ff9d859893d936883be596

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2.dev2026060402-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2feb119d061091b13cdd46e1181e603e3bb1aeb0c2be2ee37c54c64f505ab06d
MD5 61c91a812b387668c043da7c966895ee
BLAKE2b-256 f2a2dadcf4c791ee1da25cc63e4bd2d5d0e84162bd1153b111f327ce31222afe

See more details on using hashes here.

Provenance

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