Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

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.13.1.dev2026063002-cp310-abi3-win_arm64.whl (8.0 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026063002-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026063002-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_core-0.13.1.dev2026063002-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.13.1.dev2026063002-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.13.1.dev2026063002-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_core-0.13.1.dev2026063002-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.13.1.dev2026063002-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.13.1.dev2026063002-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 bb7f43f8104491524e29620eac92ca3a770f84bb252418aa1f5f80d6836d111f
MD5 ddfb3960afe922169b3c60ee7326e44f
BLAKE2b-256 7690d856114cac4901a7e9162d756b8934f20fa0acb0b9f7181178d9f6798c6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d22e912776ba3c2c990cd47d1da5671f29c6e531c34f3a1e92a56994b28ed84b
MD5 4e7568cddb8c59fa83bf3d365c6e5cb2
BLAKE2b-256 8989d45675d801045f6f11027ffc57d21c80209bf247d38f217eb03ea0a364ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e8792bc27480f4da1b319972f3a5310f06feddd4a904381a9b1334a428d486c1
MD5 2462a79db8bfa54224d7075c6298b7e9
BLAKE2b-256 bf2b2387c1b9660dc9ae04ca01c8975d82f82fa70602f0f7feb84126a7dd3450

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c1344269bbb4b42c1a9d9c4ec08d729d5058d8492001756dc5808739c1be2470
MD5 bfac92c61d1fdaf30423ddc36b7743a6
BLAKE2b-256 34c7aa6039ea59938b24177da80e82fb5e60a3a2201ad172053598d528237bc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 46a7ba77e8e85b73a9330825063ad7e6757b75f6a48a7d2d79a3d3ecc30664a0
MD5 f9e8f774006c060401f7f6c0278d4080
BLAKE2b-256 e353e48da0a3f483f6999ff2cc44caecd24cb3ba7873b9d64a3f3f322aecc0d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a540c8ffa5e95e1da1dde769dc3c25194f93fa1d82f591daa1205cccecf3069
MD5 5ef5f818431d776cb1d806813069687d
BLAKE2b-256 91a9ddec756afcff634413eb2ce38eb57fd4033b88e5fe0b47b481e4829f8cf4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef20eaddb2cd16708f40e7dd924f98454850e99fa67d64c1332eb02799d0b8c6
MD5 02120df4b3068cb5926c3f8011325dbf
BLAKE2b-256 59c57411100ef98362ec9adbc37e0c3fbf9fd4c7b474ab967734f38760ca9302

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063002-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 080aafbef90b4fa7a7dcc6bb2d805a19f996c932263ac211f5e14067236f88c3
MD5 9d27578faa13e9d8b5d6f445c692b51f
BLAKE2b-256 7c819eb7ee9064f7a5923f9eb75205b385d71850f3024769cbfb3fdca8b4dce2

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

0.13.1.dev2026063002 This release

8 files

0.13.0

8 files

0.12.1

8 files

0.12.0

8 files

0.11.2

8 files

0.11.1

8 files

0.1.2

8 files

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page