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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060900-cp310-abi3-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_x86_64.whl (6.5 MB view details)

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

baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_aarch64.whl (6.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_24_aarch64.whl (5.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

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

baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_11_0_arm64.whl (5.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_10_12_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.3.dev2026060900-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 fafebdce9c252e5fde340c400a5925b68f2b5f9f883bcde3801822f295c3e957
MD5 e916fb446f96f9d4f39f7df8dcac06ae
BLAKE2b-256 da3a45641bbcb1d7fd3c965d5d8bb80a99a1514310d9509acc653c633de474b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7c6cf7c673797f2403a27bc6076ac1de939c0a4b8df64f94f3426a4eae348448
MD5 e3264086049e30956086420d939eec27
BLAKE2b-256 23d14f194e98eb43efb9fbfa7c31f6263e36ec0b8e462c2b2838a5acf308e4bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8c2e6392b458f6860a862fa26b7aa37ba0ec3f79373af4e77bb472e22e09b322
MD5 398322029e36bb083a7a6cbe035e1982
BLAKE2b-256 6f1e2cdcdc843252bbef90c00cbebdd588e3b8031cba82d355d2075f61951f6e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 3f135a4c9fbb5ed9ad023df223e408399bf4ec5ec8d6e6a7961095e07e814b22
MD5 1f75c2b64ff1a18929934f3ef9a7fd83
BLAKE2b-256 ba3e32ca8ed4dae182c898bb092ca1d2f82b46be69e37ca689563acd7d88a5df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5959e69bc31e4f35f26ccfd633e1a1faa914f20aae2ce5880299f326558e2e5c
MD5 d84925ab01c0030b8a1086f4abce4885
BLAKE2b-256 f04a85771e2e8fdc604ddcf29457fea121db4ebefccf40d265e0e3cf52df2687

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 36c074c3e81c6d9d48edc2ec9332b609ba43c37d461d87d42d4930a2082f40c4
MD5 47b56105d68e01a879caf44bf138dce3
BLAKE2b-256 2bb66561410e9d66b1d167c9f4b89009b954e0d64978398219952d421797d8e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8942520c79a25a3f5615ba97107582164d80893cee57b56cf0fd21f2cce5c65a
MD5 61ddc172b5d1a8d3c827b37d91c3125f
BLAKE2b-256 0b691d80a4300336d00e18166111149c579eff3e4e207f0005f1f12546f23968

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e4520dd8feafdfc6d4fdecc314498f991a063d2ed659f16061ed283a4a49f97a
MD5 fde6c07ed5d7f28bc58a5ddc701855fa
BLAKE2b-256 4009be68673cc7cab135bbfe4d5db4472515963d31276c7f37be98fc5717a0bf

See more details on using hashes here.

Provenance

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