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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 fdc368263565d44fe29fe03c24481284b5a51d6277b0c5cbc15af4bb72b5f831
MD5 1a5b35771512a7a1c9205ad660755353
BLAKE2b-256 26ead057181baf26e6a2f14ebf3de972ffc1f44e38f947cc2b39e2c535111580

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 43414d16f9fda5d43f01ffe36bba64f8fab5fbe28a1c37e12c2fe51f7494bbc3
MD5 7c7ae9da7acec3b927619f9667df0f59
BLAKE2b-256 6b974224055e8b63d492fe3358105a642f56c75429c3aecd70b9224f4131c55d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 cc5cd96593451891cd20d9f4ca760ba7c67653963ba5dd6414bc08062df96856
MD5 3998d9b12b92b532444a5bab3a6dd79d
BLAKE2b-256 e83ae1463b38f16fab16fe0e3833485d3d637943bf1d320120874825a45a9f88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 acc10ef85b091809a43e8fadbfb1cd46299adb0a4fdff7699c305b924d1e3779
MD5 6e7c4f12d58167f6fa35afebf8e33454
BLAKE2b-256 38910b08922481f0f2872d4d2c8ce4f5d5c11830a7a8f70f948f782c0df5cfae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 53ea4bee77c1d7071659e8890e0470a79fef0e38f392f4819aa8077592db065f
MD5 d791913062590df7bc98f5940d566480
BLAKE2b-256 6950dbabffc8e696c6a824b2ac687f36a3cbc7aebab052fbfde979c44b4c66d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5969b0dc524ef81b1300bf66278ca310741893d474b22b283799f8ddf963573d
MD5 30b177582e52e2e1ea84be1a39bb832f
BLAKE2b-256 0b10ed34c9f48731e989deb79c8b0dfd3facc053118c9e27138dd0ec1c7dd574

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 92b3eaa92287170b347d46d64d6790f9ad26d2f0b8a626a961c81a37a9f5a3b2
MD5 7d37947a39e2166aaa1145e85bc0da18
BLAKE2b-256 3c62861e79bf52fbce0a8be1e474e7e76a709f11841751b72302d340cdf6c481

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060502-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1eb2f0ac31a056b3097d8dc17aabfc455b0a943c20d474bb45135308dd4041c9
MD5 83785de173a0b200b40dc5ba05f3d1b0
BLAKE2b-256 4cf8928d18847ee3501f46d54fd6489e7e6fa861779c4228fbb25e3e24f72bb9

See more details on using hashes here.

Provenance

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