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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.1.dev2026061101-cp310-abi3-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.1.dev2026061101-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.12.1.dev2026061101-cp310-abi3-musllinux_1_1_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_24_aarch64.whl (6.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view details)

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

baml_core-0.12.1.dev2026061101-cp310-abi3-macosx_11_0_arm64.whl (5.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.1.dev2026061101-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.12.1.dev2026061101-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 96d10b5413d2959f9129fcb46d42f1618a9f7fce4a541af284b681061634fde2
MD5 8a7e3021488c068391162cf2e01dfe38
BLAKE2b-256 f9b59e0920017f645554f88ea4e3fc12b21d7e9f96f7cdf47bdadf303699f184

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 92f52d691e2740e4cb8f604e514968a00a3ea673828c6f82ea7b6ea2162826df
MD5 ca7c05f983539c0a4ce3b118481891e5
BLAKE2b-256 02f3c64907b690f494bd666ee4952980e787609a65d4a2393176496a9406c1a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 886b9d5699b6526d20ca8e2e7189533621f0e0782ff7a3897fb70fddf42a78eb
MD5 3a54928053e304996fbe25f4594b38a4
BLAKE2b-256 0465b5aaea1ef0237bb806c8cbad8e295606ac6419d11dfa3a4b86fa11a1e503

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f5e81dc25b02eb0ae109260866ebaa790ba56a76999df680ed96f96245a272bf
MD5 0328bffb6af48c71cce36891a73c799b
BLAKE2b-256 e95ddf0c1d7a29457df108599cb0b6ba4a880396b7fd5308e52d79e9b5ee3437

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 8772985781be69ea0a40e8bad497b3439e90a9dcd1bc48442819413b3764f062
MD5 2613650318d551bd05e18d343980a36a
BLAKE2b-256 b4e311df8eae1ce920ab2440e5150042fea8e8480e5896e8f372150947967d28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba14651609677b30b0060b2a27f3ca2a85b3cca07410f7e06b0f8434f554c744
MD5 b595887f159e69fc9d8f4547559c03f4
BLAKE2b-256 23f694d6b5d147c249f723449bda6ed68d3f81e2083b132c827fd0f0741005d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 961639ddec620bd710d7b64c31ed2be29ebac4b89c017b81a0c7139d92d43765
MD5 f481f1876151d8138d637068c269b51f
BLAKE2b-256 92095404d77759cdef495ee952ef03e5ec0c9083b5b8bde95555a8a8d3b57c14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061101-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ad48273ab48c19060d6e719e32768d5459838c43db24725928f6728422899e4d
MD5 60316601d406f408f297381a96d1b5a4
BLAKE2b-256 e51cf61f8369377f8bec212c4e31dbe0b96f098c1372cea2ea56c75932bb03b0

See more details on using hashes here.

Provenance

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