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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060503-cp310-abi3-musllinux_1_1_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_core-0.11.3.dev2026060503-cp310-abi3-musllinux_1_1_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060503-cp310-abi3-manylinux_2_24_aarch64.whl (5.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060503-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.dev2026060503-cp310-abi3-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0710fea6e683d9088ba54116576ae720c2e331b01eb03e379774eae4dd06fb7d
MD5 b6a80da7650046edb85efdd2d3bf1ab1
BLAKE2b-256 ab8b3bf909258fd22f530304c9e5782a89a9c5ed29cb83ca9b24f063931789bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1d391d547aff2d4165fc8906708c5aee465d253c21f6b17b4790400e10bf6b7e
MD5 8853ed78d74bf4e457d9e3115ef93b06
BLAKE2b-256 3efc0769076a58552179f3de346f70472fff510c8a8de8b4c8c9f61b912240bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6f444804fe2d02a7d437f9bd3ee8ba39d003d9e254e8b37f44798593301cab2d
MD5 bfaf7745cc819f8fa7d564809165e4a5
BLAKE2b-256 0e03f0a38eda9477420eb353becc7292d496234c4df560f2a29756b0b86355bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 efeec9210eaee269a4bad3667e9d759b5361b980cc361bd8539adb7c0391284e
MD5 ffc4321358d8a74bedd74e58a96b7cc1
BLAKE2b-256 1f6c63296a2678b6328ad9f3c62d4c7af5434d3897b3259b379781fc81b01bf7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 be8f11685f94815117f642a6c51fd6e22ca06bf7a83e9a08f69d942c62f31d5f
MD5 4e89ca69488e8096414dd47320bf628e
BLAKE2b-256 0e2665b91428c633c57e4210fa1e7b0f42b57beb7f81e769244437a39199da50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0664606d980a26f139ae174b6df5fbe43a6f4ea060e4a5fa7659b549c698173e
MD5 34d11365acd66bd16120af61d531805a
BLAKE2b-256 1e6c7344c931865c78bd93106ef668a5de1aa3208866ecb1ebc2bfa049c467a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5992ea164c90b192d65e91996ee985714471a3777f74ca0b369b52b0c4249c7b
MD5 ba3771b396cfef56627f47583583e3a8
BLAKE2b-256 67cea56d8ad81fe653a2c6ffe2a246844e423ddbd9823195f266c3b359e068d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060503-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 963d3f0518943b88b25826821130045dfc167f18a28c52d3feca8a3ffa29c799
MD5 4bd3d52b6eb68ad75477447805e1f653
BLAKE2b-256 8b25f2ed39625d7276944371c2d9343299367ddba53b69fe45095497a0cd08c7

See more details on using hashes here.

Provenance

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